<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] monitoring disk usage of remote server</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Chandra,</FONT>
</P>

<P><FONT SIZE=2>>>> jeffrey Lang 08/26/2008 11:38:05 AM >>></FONT>

<BR><FONT SIZE=2>One way i figured out how to do this is to setup CIFS/SMB and use</FONT>

<BR><FONT SIZE=2>check_disk_smb. Share the file system out with samba which is easy to setup.</FONT>

<BR><FONT SIZE=2>Just share out as read only and limit who can access the shares. Then use</FONT>

<BR><FONT SIZE=2>check_disk_smb to verify the disk usage.</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Chandra Bahadur wrote: </FONT>
</P>

<P><FONT SIZE=2>Hi</FONT>

<BR><FONT SIZE=2>I can check the disk usage locally with the command check_disk. But I need to</FONT>

<BR><FONT SIZE=2>monitor the disk usage of remote servers. Check_disk command doesn't have any</FONT>

<BR><FONT SIZE=2>option to specify the name of the remote server to be monitored...</FONT>
</P>
<BR>

<P><FONT SIZE=2>How do I monitor the disk usage of remote servers ??</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>_____ </FONT>
</P>

<P><FONT SIZE=2>I have SNMP running on the servers I want to check.  The Nagios command I use</FONT>

<BR><FONT SIZE=2>is check_snmp_disk_monitor and it gives a response like </FONT>

<BR><FONT SIZE=2> </FONT>

<BR><FONT SIZE=2>/usr/local/groundwork/nagios/libexec/check_snmp_disk_monitor.pl -H</FONT>

<BR><FONT SIZE=2>aragorn.somewhere.wa.gov -t 30 -C notpublic -v -s -t 30 -m '/'</FONT>

<BR><FONT SIZE=2>mountpoint / has 16% used, 141426626560 bytes and 21926182912 used Disk OK -</FONT>

<BR><FONT SIZE=2>16% used on /|/,141426626560,21926182912</FONT>
</P>

<P><FONT SIZE=2>You can find it in quite a few places on the web.</FONT>
</P>

<P><FONT SIZE=2>-------------------------------------------------------------------------</FONT>

<BR><FONT SIZE=2>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge</FONT>

<BR><FONT SIZE=2>Build the coolest Linux based applications with Moblin SDK & win great prizes</FONT>

<BR><FONT SIZE=2>Grand prize is a trip for two to an Open Source event anywhere in the world</FONT>

<BR><FONT SIZE=2><A HREF="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</A> </FONT>
</P>

<P><FONT SIZE=2>_____ </FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>

<BR><FONT SIZE=2>Nagios-users mailing list</FONT>

<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net </FONT>

<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A> </FONT>

<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting</FONT>

<BR><FONT SIZE=2>any issue. </FONT>

<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>

</BODY>
</HTML>