Nagios to Service Desk integration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Nagios to Service Desk integration

Post by lafargeuser »

Hi,

I would like to know, what are the ways to integrate Nagios with Any 3rd party service desk tool.
We have our inhouse built service desk tool & we want to integrate this with Nagios.
i have gone thorugh the evernthandlers but acutally not implementated.
So here, i am looking easiest way to do it.

And If with eventhandlers do we need to write kind of script for e.g. if host goes down or service goes down script will execute.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios to Service Desk integration

Post by sreinhardt »

It depends on what sort of integration you are looking to perform. If you wish to have nagios monitor your current number of incidents or tickets, or check for certain keywords, you would want to write a plugin to check with your tools and report back to nagios. This could be an active check where nagios is querying the service desk tool, or a passive check where a portion of your tool sends data back to nagios if a certain type of incident is acknowledged.
Otherwise if you are looking to have nagios perform its own checks and alert your service desk tool of an issue, you would be right in using event handlers. There is one catch with that though, anytime an event handler is activated nagios stops processing anything until that is completed. What may be a better option depending on how you would intend to alert the tool, is to have nagios write data to a file and a cron job that checks said file, then sending off that data into your tool. This way the event handler is a very short process and nagios can get back to work, while your cron job handles any lengthy activity that needs to happen otherwise.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Nagios to Service Desk integration

Post by lafargeuser »

Can i have sample script, which will be execute after every alert.

I am thinking to use Event Handlers here.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Nagios to Service Desk integration

Post by yancy »

lafargeuser,

In addition to sreinhardt suggestion, we do have a solution that's in Beta used as the glue between Nagios and any ticketing system.

http://labs.nagios.com/2012/09/05/nagio ... blic-beta/


-Yancy
Locked