Service Monitoring Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Beeker
Posts: 2
Joined: Fri Aug 16, 2019 4:02 am

Service Monitoring Issue

Post by Beeker »

Hi

We are monitoring an .exe on a VM running Windows 10 Enterprise to alert when this .exe is not running.

On the Windows 10 machine it is running the latest NSClient++ .

There is a scheduled task that kills the .exe and then reloads it every 15 minutes. We are seeing that when the .exe is terminated, Nagios XI reports the .exe as not running (as expected), yet when the .exe restarts, Nagios XI still reports the service as not running, even though it is running on the Windows 10 device.

Can you possibly shed some light as to why Nagios XI reports the .exe as not running the .exe restarts ?

Many thanks in advance
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Service Monitoring Issue

Post by mbellerue »

That could depend on the service check setup to monitor that .exe. If it's an active check, and Nagios reaches out to get the status every 5 minutes, then at the 15 minute mark the .exe is killed. If Nagios is set to alert immediately (only check 1 time), then Nagios will see that the .exe is down and then alert on it. But then seconds later, the .exe is up and running again, but Nagios isn't going to check again for about 5 minutes.

That's one potential explanation. Can tell me more about the setup of your service check? Is it an active check or a passive check? In thinking about it, this might be a good situation for a passive check. Do you have a custom script for monitoring this .exe?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked