Hi,
Using Nagios XI 2014R1.5 and xMatters v2.0.
We are implementing xMatters for the Nagios host/service state changes, notifications, escalations. etc...
We will use web service/host URL to be called from Nagios XI service via the xMatters component.
Question, is there any way we can have Nagios XI auto acknowledge once the web service call to xMatters is complete?
Nagios auto acknowledge xMatters notification
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios auto acknowledge xMatters notification
You could trigger a script at some point in between which submits an acknowledgement command through the Nagios command pipe.
See:
http://nagios.sourceforge.net/docs/3_0/extcommands.html
See:
http://nagios.sourceforge.net/docs/3_0/extcommands.html
Re: Nagios auto acknowledge xMatters notification
Thank you! When i have free moment i will look at your suggestion and post back.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios auto acknowledge xMatters notification
Great, feel free to ask any questions you have, it should be fairly straightforward. If you have a bash scripter in house it should be short work.
Re: Nagios auto acknowledge xMatters notification
ok. We are now ready to implement this. Question, is the external command method the recommended way to process state change back into Nagios from another application? Is there another method (i.e REST API, HTTP Post) available?
brdr
brdr
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios auto acknowledge xMatters notification
Have a look at this thread:
http://support.nagios.com/forum/viewtop ... 110#p90830
Basically, you use curl to send the command through to http://XX.XX.XX.XX/nagios/cgi-bin/cmd.cgi
http://support.nagios.com/forum/viewtop ... 110#p90830
Basically, you use curl to send the command through to http://XX.XX.XX.XX/nagios/cgi-bin/cmd.cgi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios auto acknowledge xMatters notification
Thanks slansing. I was able to successfully use external commands to acknowledge services and hosts.
Please close.
Please close.