NetXMS Support Forum

English Support => General Support => Topic started by: jackz on June 28, 2012, 07:07:21 AM

Title: how to create alarm for monitoring windows services?
Post by: jackz on June 28, 2012, 07:07:21 AM
Hi All  8),

I am still newbie and I need some advice, I want to create alarm for monitoring windows services..
I have already searched in this forum but I am still confusing  :'(

for example :
I have created events called SPOOLER_DOWN

then in event processing editor policy
- I created alarm with message %m and alarm key SPOOLER_DOWN_%i
- in situation tab I put system.ServiceState(Spooler) in situation instance column then in attribute list I put Status value 6

but after I stopped the spooler service there is no alarm show up in console

is it my configuration is wrong? need advice..
Title: Re: how to create alarm for monitoring windows services?
Post by: Victor Kirhenshtein on June 28, 2012, 10:47:11 AM
Hi!

You don't need to use situations here, and you didn't add actual check for service. You should go to data collection for node where you want to monitor spooler service, and add new parameter with source NetXMS agent and name System.ServiceState(Spooler). Then you should add threshold for that parameter (on Thresholds tab) with condition "last value not equal 0" and set activation event to SPOOLER_DOWN. Then it should work.

Best regards,
Victor
Title: Re: how to create alarm for monitoring windows services?
Post by: jackz on June 28, 2012, 01:00:52 PM
Hi Victor  8),

awesome.. thank you so muchh..

but is it possible to monitoring for some computers without add new data collection parameter in every node?
for example : I want to monitoring 20computers only with one configuration data collection, so I don't have to go to data collection in every node
Title: Re: how to create alarm for monitoring windows services?
Post by: Victor Kirhenshtein on June 28, 2012, 01:53:12 PM
Hi!

You can use templates: http://wiki.netxms.org/wiki/UM:Data_Collection#Templates (http://wiki.netxms.org/wiki/UM:Data_Collection#Templates).

Best regards,
Victor
Title: Re: how to create alarm for monitoring windows services?
Post by: jackz on June 28, 2012, 02:10:41 PM
Hi Victor  8),

greattsss... thank youu....