<BR><BR><B><I>Ralph.Grothe@itdz-berlin.de</I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <div>> i have nrpe add on on a remote host. its configuration is ok. i<BR>can check its disk status.<BR>> But I cannot monitor the root partition of the remote host.<BR><BR>I think it would be helpful if you posted the command definition<BR>for the check_disk from<BR>the nrpe.cfg on your to be checked host.</div> <div>---------------------------------------------------------------------------<BR></div> <div>I have made a little modification of the default configuration file. i have copied "check_local_disk" command from the NAGIOS host to the remote host's nrpe.cfg -</div></BLOCKQUOTE>
<div>============================================================<BR> nrpe.cfg</div> <div>============================================================</div> <div> </div> <div class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"># The following examples use hardcoded command arguments...<BR><BR>command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10<BR>command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20<BR><STRONG><FONT style="BACKGROUND-COLOR: #ff00ff">command[check_disk1]=/usr/local/nagios/libexec/check_local_disk!20%!10%!/<BR></FONT></STRONG>command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/hdb1<BR>command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z<BR>command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 </FONT><BR><BR></div> <div> </div><BR><BR><br><p>
<hr size=1>Need a quick answer? Get one in minutes from people who know. Ask your question on
<a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>.