AnsweredAssumed Answered

Nimsoft and variable definition

Question asked by MassimoBNET on Feb 8, 2013
Latest reply on Feb 11, 2013 by lza

Hi all,

I need help to better understand how can I manager Nimsoft alarm.

Example with NTSERVICES probe.

I reveive this message when a service goes in stopped state:

 

SQL Server Agent (MSSQLSERVER) - Expected state running, found state stopped (service description: SQL Server Agent (MSSQLSERVER))

 

I build a profile to match the alarm with

/.*Expected\sstate\srunning.\sfound\sstate\sstopped.*/

 

but if I need to distinguish on service name?

How can I get a variable to be used with service name?

 

My workaroud is to build a LUA script that it splits the message and grab the words before "-" char but if there is another "-" in the service name I mistake.

 

Can someone help me?

 

Regards

Outcomes