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.
Plugin error
Plugin error
You do not have the required permissions to view the files attached to this post.
Re: Plugin error
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.
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/
https://www.mcapra.com/