I tried that:
define command{
command_namecheck_disk_smb
command_line$USER1$/check_disk_smb -H $HOSTADDRESS$ -s public -w
85% -c 95%
}
But I still have a CRITICAL error in nagios (Access Denied)
On the samba server I have this in log.smbd:
[2006/11/23 11:34:26, 0]
There is something weird about check_disk_smb from nagios-plugins-1.4.3,1
on FreeBSD 6.1-RELEASE-p10.
From the command line (pwd is /usr/local/libexec/nagios) the switches
work as expected:
# ./check_disk_smb -H 194.214.13.140 -s public -u guest -p ""
Domain=[MIAGE] OS=[Unix] Server=[Samba 3.0.22]