Plugin error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
justine
Posts: 45
Joined: Mon Oct 29, 2012 9:06 pm

Plugin error

Post by justine »

Hi! I have added new plugin in our NagiosXI server.
Plugin Name is check_bgp_neighbors.sh.
I have added this in /usr/local/nagios/libexec/
Rights given rwxrwxr-x for root.
This is the command I used "$USER1$/check_bgp_neighbors -H $HOSTADDRESS$ -C $USER3$ -n $ARG1$ -n $ARG2$".
But I got this error "(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_bgp_neighbors, ...) failed. errno is 2: No such file or directory" after adding it in services.
Please help.
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Plugin error

Post by mcapra »

Can you show us your command definition for check_bgp_neighbors?

Also, are you sure this is the full path to the plugin: /usr/local/nagios/libexec/check_bgp_neighbors? I noticed in your original post, you referred to it as check_bgp_neighbors.sh but your execution of that plugin seems to exclude the .sh.
Former Nagios employee
https://www.mcapra.com/
Locked