This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
elealyngarcia
Posts: 18 Joined: Sun Apr 28, 2019 6:09 pm
Post
by elealyngarcia » Thu Apr 02, 2020 4:08 am
Hi
I'm trying the guide for NCPA to SLACK integration, but I have this issue with ncpa
Code: Select all
[root@lnpnprifngm001v elealyn.garcia]# /usr/local/nagios/libexec/check_ncpa.py check_ncpa.py -H HOSTIP -t 'TOKEN' -M 'plugins/slack_nagios.pl' -q 'args=-field slack_channel="#hosts" -field HOSTALIAS="$HOSTNAME$" -field HOSTSTATE="$HOSTSTATE$" -field HOSTOUTPUT="$HOSTOUTPUT$" -field NOTIFICATIONTYPE="$NOTIFICATIONTYPE$"'
UNKNOWN: The plugin (slack_nagios.pl) requested does not exist.
I copy the slack_nagios.pl to the /usr/local/nagios/libexec/ but still have an issue.
jbrunkow
Posts: 441 Joined: Fri Mar 13, 2020 10:45 am
Post
by jbrunkow » Thu Apr 02, 2020 2:21 pm
Just to be sure, can you clarify what guide exactly you are using? I recommend using the one linked below, if you are not already.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You may also want to double check that you have the proper permissions to run the Perl script on the host. You can do so by running a command like the example below.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
Be sure to check out our
Knowledgebase for helpful articles and solutions!
elealyngarcia
Posts: 18 Joined: Sun Apr 28, 2019 6:09 pm
Post
by elealyngarcia » Thu Apr 02, 2020 9:16 pm
jbrunkow wrote: Just to be sure, can you clarify what guide exactly you are using? I recommend using the one linked below, if you are not already.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You may also want to double check that you have the proper permissions to run the Perl script on the host. You can do so by running a command like the example below.
Hi,
We have a working setup of SLACK notification, but with the announcement of SLACK that it no longer support CENTOS/RHEL 6 and below.
But we are able to resolve this issue, the location should be in /usr/local/ncpa/plugins/, which was missing in the NCPA setup guide, or maybe I missed it.
jbrunkow
Posts: 441 Joined: Fri Mar 13, 2020 10:45 am
Post
by jbrunkow » Fri Apr 03, 2020 9:08 am
I'm glad to hear that it is working for you now!
I will take a closer look at the documentation to see if it is missing that step.
Is it okay with you if we close this thread now?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
Be sure to check out our
Knowledgebase for helpful articles and solutions!