XI and PagerDuty

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

XI and PagerDuty

Post by rickwilson7425 »

We are working on migrating from Core to XI. We already use PagerDuty with Core. Will the commands and settings migrate to XI when we import the config files?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: XI and PagerDuty

Post by tmcdonald »

Assuming you use the same plugin, commands, and arguments, and assuming you follow the proper import procedure, I see no reason why it would not still work.

What specifically are you using right now to integrate? Just notification commands and/or event handlers?
Former Nagios employee
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

Re: XI and PagerDuty

Post by rickwilson7425 »

I'm not sure actually.

Here is the command string for "notify-service-by-pagerduty":

/opt/omd/sites/prod1/local/bin/notifiers/pagerduty_nagios.pl enqueue -f pd_nagios_object=service
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: XI and PagerDuty

Post by sreinhardt »

I would probably suggest copying that plugin to /usr/local/nagios/libexec and altering your command to use $USER1$/pagerduty_nagios.pl, but otherwise I doubt you need to make many if any other changes. We definitely have others using pagerduty and from all accounts it works great with both XI and Core.
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.
Locked