Re: [Nagios-users] Problems with check_disk_smb

2006-05-16 Thread Hugo van der Kooij
On Fri, 12 May 2006, Miguel Faria wrote: > I recently installed Nagios 2.3 along-side the old Nagios 1.2. On the > 1.2 the check_disk_smb script works fine, but on the 2.3 it gives the > error 'invalid share name '. I run the the command using the 2.3's > version of the script and it works fin

Re: [Nagios-users] Problems with check_disk_smb

2006-05-12 Thread Hugo van der Kooij
On Fri, 12 May 2006, Miguel Faria wrote: > define command{ > command_namecheck_disk_smb > command_line * $USER1$/check_disk_smb -H $HOSTADDRESS$ -s > $ARG1$ -u $ARG2$ -p $ARG3$* > } This is not a valid commandline. Loose the * in front and in the back. And try to us

Re: [Nagios-users] Problems with check_disk_smb

2006-05-12 Thread Miguel Faria
Ok, script definition: #'check_disk_smb command definition define command{ command_namecheck_disk_smb command_line * $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -u $ARG2$ -p $ARG3$* } on the service: define service{ use ge

[Nagios-users] Problems with check_disk_smb

2006-05-12 Thread Miguel Faria
Hi Guys, I recently installed Nagios 2.3 along-side the old Nagios 1.2. On the 1.2 the check_disk_smb script works fine, but on the 2.3 it gives the error 'invalid share name '. I run the the command using the 2.3's version of the script and it works fine. Am I missing something here?