Page 1 of 1

nagios pager-duty integration

Posted: Wed Aug 26, 2020 2:24 pm
by IT-OPS-SYS
hi team,

I am integrating my pagerduty with nagios using the below link:

https://www.pagerduty.com/docs/guides/n ... ion-guide/

I have created command and contacts as per the article. I have installed the required perl libraries and dependencies but still we are not getting the directory /usr/share/pd-inegrations for the command to run properly.

is there any thing i am missing to install on the nagios xi server which can help me getting the pd-integration directory structure on my server.

thanks in advance

Re: nagios pager-duty integration

Posted: Thu Aug 27, 2020 3:54 pm
by benjaminsmith
Hi @IT-OPS-SYS,

Ok, let's see if we can get this going for you. What operating system are you using and were you able to successfully add the PagerDuty repository to your system and install the agent?

What happens when you run the pager duty command with a simple argument like the help option. Does it return the correct results? If not please post the error to the thread.

Code: Select all

/usr/share/pdagent-integrations/bin/pd-nagios -h
Keep in mind, the nagios user account is going to need sufficient permissions to run the pager duty command, so let's check that as well.

Code: Select all

ls -l /usr/share/pdagent-integrations/bin/pd-nagios

Re: nagios pager-duty integration

Posted: Fri Aug 28, 2020 6:10 am
by IT-OPS-SYS
All is good now.
I installed the agent from the repo and things are working fine now.

Re: nagios pager-duty integration

Posted: Fri Aug 28, 2020 9:01 am
by scottwilkerson
IT-OPS-SYS wrote:All is good now.
I installed the agent from the repo and things are working fine now.
Great!

Locking thread