<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I am trying to monitor disk space thru
smb. However, in Nagios I get the message "result from smbclient not
suitable". However, when I type the following at the console prompt:</font>
<br><font size=2 face="sans-serif">./check_disk_smb -H [ip address] -s
[sharename] -W [mydomain]</font>
<br>
<br><font size=2 face="sans-serif">I get correct output like </font>
<br><font size=2 face="sans-serif">Disk OK - 959 M (22%) free on \\server\share</font>
<br>
<br><font size=2 face="sans-serif">In the checkcommands.cfg file, I have
added the following definition:</font>
<br>
<br><font size=2 face="Arial">define command{<br>
command_name check_disk_smb<br>
command_line
$USER1$/check_disk_smb -H $ARG1$ -s $ARG2$ -W $ARG3$
<br>
}</font>
<br>
<br><font size=2 face="Arial">Does anyone have any suggestions?<br>
</font><font size=2 face="sans-serif"><br>
Stijn Mahieu - Internal Systems Engineer<br>
LIS NV<br>
Brusselsesteenweg 356<br>
9402 Ninove<br>
Tel: +32(0)54 318 628<br>
Fax: +32(0)54 344 510<br>
Email: stijn.mahieu@liswms.be<br>
Http://www.lis-online.com</font>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf