<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4712.0">
<TITLE>Nagios not passing warning when using nrpe?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Im using nrpe to monitor disk utilization on remote clients, however when a threshold has been met Nagios doesn’t treat the output as a problem. As you can see from the output here nrpe out reports a problem but Nagios says its "OK" Can anyone tell me how to get Nagios to display an alert when using nrpe?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">DISK_SPACE_1 OK 12-30-2002 13:48:06 0d 0h 0m 15s 1/3 DISK WARNING - [8113484 kB (7%) free on /dev/hde1] </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Nrpe.cfg (remote client)</FONT>
<BR><FONT SIZE=2 FACE="Arial">command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hde1</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">define service{</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> host_name server1,server2,server3,server4</FONT>
<BR><FONT SIZE=2 FACE="Arial"> service_description DISK_SPACE_1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> is_volatile 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> check_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial"> max_check_attempt 3</FONT>
<BR><FONT SIZE=2 FACE="Arial"> normal_check_interval 1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> retry_check_interval 1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> contact_groups admins</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_interval 120</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_options w,u,c,r</FONT>
<BR><FONT SIZE=2 FACE="Arial"> check_command check_nrpe!check_disk1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT FACE="Times New Roman">Shane C. Stakem<BR>
Senior Systems Architect<BR>
manageStar<BR>
350 North Wiget Lane, Suite 100<BR>
Walnut Creek, CA 94598<BR>
shane.stakem@manageStar.com</FONT>
</P>
</BODY>
</HTML>