Hi,
I'm using Nagios XI at my environment and want to integrate with a third party ticketing system, but i m unable to find any documentation on Internet. I want to integrate it with Manage Engine or Service Desk which ever is best. My requirement is that whenever an alert is generated on nagios, A ticket should be automatically created on the ticketing system and when the alert gets cleared the opened ticket should automatically get closed.
I tried to search it on nagios exchange forum but only found plugins and not any documentation as how to integrate it.
I'm using Nagios XI at my environment and want to integrate with a third party ticketing system, but i m unable to find any documentation on Internet. I want to integrate it with Manage Engine or Service Desk which ever is best. My requirement is that whenever an alert is generated on nagios, A ticket should be automatically created on the ticketing system and when the alert gets cleared the opened ticket should automatically get closed.
I tried to search it on nagios exchange forum but only found plugins and not any documentation as how to integrate it.
Integrate Nagios with Third Party Ticketing tool
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Integrate Nagios with Third Party Ticketing tool
Hello, @sona9768. I'm not familiar with the mentioned ticketing systems, but generally speaking, the goal is to find a script or a command that nagios can execute to open and close tickets on the ticketing system. This could be an API command or a script. Then you'd set up nagios to trigger that script every time a host or a service check produces an alert.
Here's an article on using event handlers with Nagios:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
In your case, the event handler would be a script that opens or closes tickets in the ticketing system.
Here's an article on using event handlers with Nagios:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
In your case, the event handler would be a script that opens or closes tickets in the ticketing system.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Integrate Nagios with Third Party Ticketing tool
A convenient hook for opening/closing tickets in the ticketing system might be the REST API for the respective platforms:npolovenko wrote:In your case, the event handler would be a script that opens or closes tickets in the ticketing system.
https://www.manageengine.com/api/
https://help.servicedeskplus.com/api/rest-api.html
curl is a cli-based web client that ships with practically all CentOS and RHEL installations. In this example, I create a Nagios event handler that integrates a Nagios Core installation with the Twilio API:
https://support.nagios.com/forum/viewto ... 94#p252294
Though this would look a bit different in Nagios XI, the principle remains the same. You configure an event handler command, then feed information about a specific alert (via macros) into that command. I imagine you could rig up a curl call to communicate with Manage Engine or Service Desk just as well.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Integrate Nagios with Third Party Ticketing tool
Hopefully the advice from @mcapraand @npolovenko are enough to get you in the right direction, @sona9768. Let us know if you have any additional questions we can help with.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.