[Pkg-nagios-devel] Command Definition of disk-smb.cfg incorrect ?
Jan Wagner
waja at cyconet.org
Wed Mar 8 15:30:53 UTC 2006
Hi!
I'm using nagios-plugins-basic (1.4.2-4) and nagios2 (2.0-1).
The command definitiion in /etc/nagios-plugins/config/disk-smb.cfg is:
command_line /usr/lib/nagios/plugins/check_disk_smb -a $HOSTADDRESS$ -H
"$ARG1$" -s $ARG2$ -W $ARG3$ -u $ARG4$ -p $ARG5$
So I thought the service definition should be:
define service{
use generic-service ; Name of
service template to use
host_name pdc.i
service_description Samba Test
check_command
check_disk_smb_workgroup_host_user!PDC!public!i!nagios!OoKie8aE
}
But the plugin reports "Invalid warning threshold: -a".
# /usr/lib/nagios/plugins/check_disk_smb -a 10.42.10.50 -H "PDC" -s public -W
i -u nagios -p OoKie8aE
Domain=[I] OS=[Unix] Server=[Samba 3.0.14a-Debian]
Disk ok - 372.59G (65%) free on \\PDC\public
I'm wrong or the command definition?
Thanks and with kind regards, Jan.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20060308/17fbab97/attachment.pgp
More information about the Pkg-nagios-devel
mailing list