IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring Windows Services with iMC

SOLVED
Go to solution
gary9193
Occasional Contributor

Monitoring Windows Services with iMC

Hello, what is the best way to monitor a windows service using iMC?

For example if the spooler service stops I'd like an alert to tell me it has stopped. 

Thanks,

Gary

4 REPLIES
mschrein2
Frequent Advisor

Re: Monitoring Windows Services with iMC

Hello Gary,

 

you can use IMC APM for this

best regards,

Michaela

gary9193
Occasional Contributor

Re: Monitoring Windows Services with iMC

Thank you Michaela, I have now managed to monitor the process however when i stop the service I do not get an alarm. Do you know if theres a way to do this?

Gary

mschrein2
Frequent Advisor
Solution

Re: Monitoring Windows Services with iMC

Hi Gary,

in case you are using APM, you need to do the following:

1)check in Traps to Alarm, if the IMC-APM  rule is enabled (for a fresh 7.3 installations it is disabled by default)Note: after you have enabled it, you need to restart imcapmedm, imfaultdm and apmserver processes

2) setup the Threshold for Serverice state

go to: Application Manager => Configuration => Threshold Management

here click Add Threshold

choose Windows for Application Type

              Windows Service State for index

             Running for the first Threshold

              Trigger Times: 1

             Stopped for the second Threshold

             Trigger Times 1

press ok.

Now you have setup the global settings (please do not enable it., you should enable it for the service you want to monitor)

to do this. click on the Windows APM Monitor, to display it.

When you now go to Services in this page, you see the threshold config button (State)

When you click on it, the global settings, you have setup will be displayed, change this to custom and enable the second Threshold (the one with Stopped)

press ok

now you should see an Alarm, whenever this service is in the state Stopped (depends on the polling intervall, when it is displayed)

 

Note: this is only working properly, if the windows APM Monitor is done with WMI (not snmp)

I really would have liked to attach a document with screenshots, but I do not know how

best regards,

Michaela

gary9193
Occasional Contributor

Re: Monitoring Windows Services with iMC

That has worked absolutely perfectly thank you very much!