Hello,
I have installed nrpe on windows server.
All my services are running fine on nagios dashboard.
Kindly do let me know that how I can add a service in nagios xi for windows server
Thank you!
Monitor window service nagios xi
Re: Monitor window service nagios xi
Are you trying to monitor an additional windows service, or add an additional service in Nagios?
Former Nagios Employee
Re: Monitor window service nagios xi
I am trying to monitor all windows services using check_nrpe...
Re: Monitor window service nagios xi
You should be able to use this to accomplish what you're looking to do, by setting up a service check around it -
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 192.168.5.47 -p 5666 -c CheckServiceState -a ShowAll=long "AdobeARMservice" "nscp"
OK: AdobeARMservice: running, nscp: running|'AdobeARMservice'=4;0;4 'nscp'=4;0;4
[root@localhost libexec]# ./check_nrpe -H 192.168.5.47 -p 5666 -c CheckServiceState -a ShowAll=long "AdobeARMservice" "nscp"
CRITICAL: AdobeARMservice: stopped, nscp: running|'AdobeARMservice'=1;0;4 'nscp'=4;0;4
Former Nagios Employee
Re: Monitor window service nagios xi
Thank you!
I am working on it, will update you in case of any assistance.
Much appreciated
I am working on it, will update you in case of any assistance.
Much appreciated
Re: Monitor window service nagios xi
No problem - let us know if you run into any issues and we'll work through them. In the above paste, the second was the result of shutting down the service. (just wanted you to see what it would look like)
Former Nagios Employee
Re: Monitor window service nagios xi
Tank you very much
I am doing good to monitor my services... Will ask you if need any help regarding that.
The problem which I am facing right now is how to delete a service in unknown state.
Even It does not show in CCM ===> services to delete from there...
Can you please suggest any solution?
Thank you in advance
I am doing good to monitor my services... Will ask you if need any help regarding that.
The problem which I am facing right now is how to delete a service in unknown state.
Even It does not show in CCM ===> services to delete from there...
Can you please suggest any solution?
Thank you in advance
Re: Monitor window service nagios xi
It is possible that you have multiple instances of nagios running or you have so called "ghost" hosts or services. Run through the steps outlined in this doc and let us know of the outcome, thanks.
https://support.nagios.com/kb/article.php?id=27
https://support.nagios.com/kb/article.php?id=27
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Monitor window service nagios xi
Thank you very much!
The shared solution did not work for me.
I have killed all nagios processes, restart it but all in vain.
kindly suggest please.
Thank you!
The shared solution did not work for me.
I have killed all nagios processes, restart it but all in vain.
kindly suggest please.
Thank you!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitor window service nagios xi
Go into CCM
Tools > Write Config Files
Click the Delete button (it's non-destructive)
It will say "Successfully deleted all Host / Service Config Files"
Click the Write Button
It will show an output of all the files it creates
Click the Verify button
The output should end with "Total Errors: 0"
Quick Tools > Apply Configuration
Click the Apply Configuration button
Does this fix your problem ?
Tools > Write Config Files
Click the Delete button (it's non-destructive)
It will say "Successfully deleted all Host / Service Config Files"
Click the Write Button
It will show an output of all the files it creates
Click the Verify button
The output should end with "Total Errors: 0"
Quick Tools > Apply Configuration
Click the Apply Configuration button
Does this fix your problem ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.