Just following the guide to setup, the nagios plugins, got to the part where you need to add to the cron job but getting the following error.
root@lpslibrenms1:/etc/cron.d# */5 * * * * librenms /opt/librenms/services-wrapper.py 1
bash: */5: No such file or directory
if i LS the librenms folder i can see the services-wrapper.py but i don't have a .py 1 ?
Nagios plugin cron error - help please
Re: Nagios plugin cron error - help please
You should use a full path to librenms
crons shouldn't have any output--it gets sent to the root mail
*/5 * * * * librenms /opt/librenms/services-wrapper.py 1 2>&1 > /dev/null
crons shouldn't have any output--it gets sent to the root mail
*/5 * * * * librenms /opt/librenms/services-wrapper.py 1 2>&1 > /dev/null