HI Team,
We want to monitor the service which are in hung state. Is there any possible to monitor from nagiosxi.
How to monitor the hung state service
-
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
"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.Gonela wrote:HI Team,
We want to monitor the service which are in hung state. Is there any possible to monitor from nagiosxi.
If is is something definitive that can be determined by executing a command on the system, then Nagios can usually monitor it.
Re: How to monitor the hung state service
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.
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
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.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.
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.