How to monitor the hung state service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

How to monitor the hung state service

Post by Gonela »

HI Team,

We want to monitor the service which are in hung state. Is there any possible to monitor from nagiosxi.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to monitor the hung state service

Post by scottwilkerson »

Gonela wrote:HI Team,

We want to monitor the service which are in hung state. Is there any possible to monitor from nagiosxi.
"hung state" is somewhat a vague term. Nagios can monitor if a service is running or not, but "hung" is subjective and means different thing to different people.

If is is something definitive that can be determined by executing a command on the system, then Nagios can usually monitor it.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: How to monitor the hung state service

Post by Gonela »

HI Team,

We want to monitor the when the service is in mode hang mode that is the service might show as running but its not responding like we can't stop the service or we can't restart the service. This will happen sometimes on windows these type of hang state we want to monitor. is there any possibility please can any body help on this.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to monitor the hung state service

Post by scottwilkerson »

Gonela wrote:HI Team,

We want to monitor the when the service is in mode hang mode that is the service might show as running but its not responding like we can't stop the service or we can't restart the service. This will happen sometimes on windows these type of hang state we want to monitor. is there any possibility please can any body help on this.
I understand what you are saying, but Nagios can only monitor thing it can detect by running commands from the command line or poll on the system.

You would need to create a plugin to perform these items, and output the results. Then Nagios can run that plugin and use the results to determine the state of the "hung" service.

I would suggest a pre-written plugin, but I don't think anyone has been able to decipher this scenario and shared a plugin yet.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked