I have recently implemented nagios 2.7 on fedora core 6. I am trying the plugin check_disk_smb. I can run the command manually from the command line like this.
check_disk_smb -H ipaddress -s sharename -u username -p password
This works fine I get the percentage of disk left. But if I add this command to the commands.cfg file like this
command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -u $ARG2$ -p $ARG3$
and to the host file like this
use local-service ; Name of service template to use
service_description Disk Space
I get an error everytime either critical error access denied or invalid warning threshold -H
any help is appreciated.