problem in getting the results from check_disk_smb

ankush grover grover1711 at gmail.com
Tue Aug 22 08:45:36 CEST 2006


hey friends,

 I am using Nagios 2.5 on FC3. Currently I am facing the problem in
getting the results of the samba shares available on Windows & Linux.

I am getting the result from the command line but not from Nagios web
interface. I am getting this in the web interface "Result from
smbclient not suitable"

./check_disk_smb -H 192.168.5.2 -s backup -w 90 -c 95
Domain=[SUN] OS=[Windows Server 2003 3790 Service Pack 1]
Server=[Windows Server 2003 5.2]
Disk ok - 8.18G (21%) free on \\192.168.5.2\backup

The version of check_disk_smb is (nagios-plugins 1.4.2) 1.12.


define command{
        command_name    check_disk_smb_mail
        command_line    /usr/lib/nagios/plugins/check_disk_smb -H
192.168.5.2 -s backup
 -w 85 -c 92
       }

define service{
        host_name               backupserver
        service_description     samba shares on backup server
        check_command           check_disk_smb_mail
        max_check_attempts      5
        normal_check_interval   5
        retry_check_interval    3
        check_period            nonworkhours
        notification_interval   30
        notification_period     nonworkhours
        notification_options    w,c,r
        contact_groups          linux-admins
        }



 I am getting "Access Denied" on the Linux Samba Shares through Nagios
Web Interface but from the command line I am getting the desired
result.

/check_disk_smb -H 192.168.5.3 -s softwares -w 80 -c 90
Domain=[SUN] OS=[Unix] Server=[Samba 3.0.10-1.fc3]
Disk ok - 28.6G (51%) free on \\192.168.5.3\softwares


What can be the problem?

Thanks & Regards

Ankush Grover

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list