Re: NRDS Client not downloading plugins
Posted: Fri Mar 04, 2016 10:11 am
I have the cron to run the NRDS check running under the 'root' user currently.tgriep wrote:It looks like the permissions may not be setup for the plugin to be copied over.
If the NRDS agent running as the nagios user on your server?
One thing you can try is to run the following to change the permissions on the remote server.Then you will have to edit the config on the XI server and hopefully it should copy the plugin over.Code: Select all
chmod -R o+rwx /usr/lib/nagios
Code: Select all
root@Mucci-Pi:/home/pi# chmod -R o+rwx /usr/lib/nagios
root@Mucci-Pi:/home/pi# /usr/local/nrdp/clients/nrds/nrds.pl -H 'Mucci Farms - RaspberryPi' 2>&1
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.
Can't exec "/usr/lib/nagios/plugins/check_mobotix.sh": No such file or directory at /usr/local/nrdp/clients/nrds/nrds.pl line 91, <CONFIG> line 44.