Integrate Nagios with Third Party Ticketing tool

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sona9768
Posts: 3
Joined: Fri Dec 21, 2018 10:57 am

Integrate Nagios with Third Party Ticketing tool

Post by sona9768 »

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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Integrate Nagios with Third Party Ticketing tool

Post by npolovenko »

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Integrate Nagios with Third Party Ticketing tool

Post by mcapra »

npolovenko wrote:In your case, the event handler would be a script that opens or closes tickets in the ticketing system.
A convenient hook for opening/closing tickets in the ticketing system might be the REST API for the respective platforms:
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/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Integrate Nagios with Third Party Ticketing tool

Post by cdienger »

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.
Locked