<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] nagios_statd not returning data for check_disk</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Check_disk is a local check meaning that it only works for the host it's run on. You should re-read the statd documentation to learn how to use it properly. I'd tell you but I haven't used it.<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
-----Original Message-----<BR>
From: Anjan Dave <adave@vantage.com><BR>
To: nagios-users@lists.sourceforge.net <nagios-users@lists.sourceforge.net><BR>
Sent: Fri Apr 16 12:10:32 2004<BR>
Subject: [Nagios-users] nagios_statd not returning data for check_disk<BR>
<BR>
Hi,<BR>
<BR>
<BR>
<BR>
I am setting up a remote disk check for some hosts.<BR>
<BR>
<BR>
<BR>
Nagios_statd is running on the remote host, but Nagios doesn’t report the partition information.<BR>
<BR>
<BR>
<BR>
<BR>
Current Status:<BR>
<BR>
  CRITICAL   <BR>
<BR>
<BR>
Status Information:<BR>
<BR>
DISK CRITICAL - free space:<BR>
<BR>
<BR>
<BR>
Here’s the checkcommand definition –<BR>
<BR>
# 'check_disk' command definition<BR>
<BR>
define command{<BR>
<BR>
        command_name    check_disk<BR>
<BR>
        command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$<BR>
<BR>
        }<BR>
<BR>
<BR>
<BR>
Here’s the entry in service definition –<BR>
<BR>
  check_command                   check_disk!10%!5%!/dev/sda3<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Am I missing anything?<BR>
<BR>
<BR>
<BR>
Also, what is the difference between bin/nagios_stat and sbin/nagios_statd ? (later is a daemon, first one is just a binary?)<BR>
<BR>
<BR>
<BR>
Thanks,<BR>
Anjan<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>