Random Project

50% working

This plugin is working from command line. Please have a look.

root@localhost/]#./check_hddtemp.sh /dev/sda 40 50
OK: Temperature is below warn treshold (/dev/sda is 34)

But, it is giving below error in “Nagios Web Interface”.

UNKNOWN: please make sure script is running as root

I have set it up in “sudoers” file, but still no luck.