<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal {  text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal;  font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 {  font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>

<body>
<div class="Normal"><span style='font-size: 10pt; '>I've migrated from 1.0 to
3.0b7 recently and I'm running into a couple of issues, the most pressing of
which is a problem with the check_nrpe plugin's return of data.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>This is my command
definition:</span><br><span style='font-size: 10pt; '>define command
{</span><br><span style='font-size: 10pt; '>    command_name   
check_nrpe</span><br><span style='font-size: 10pt; '>    command_line   
$USER1$/check_nrpe -H $HOSTADDRESS$ -c
$ARG1$</span><br><span style='font-size: 10pt; '>}</span><br><span style='font-size: 10pt; '>Copied
from my old config.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>This is the service in
question:</span><br><span style='font-size: 10pt; '>######          Check Linux
/db Partition on DB servers</span><br><span style='font-size: 10pt; '>define
service {</span><br><span style='font-size: 10pt; '>    use                     
generic-service</span><br><span style='font-size: 10pt; '>    hostgroup_name    
generic-hostgroup</span><br><span style='font-size: 10pt; '>   
service_description         /db
Partition</span><br><span style='font-size: 10pt; '>    contact_groups          
GRP-Systems,GRP-Pagers</span><br><span style='font-size: 10pt; '>   
check_period                24x7</span><br><span style='font-size: 10pt; '>   
notification_interval       15</span><br><span style='font-size: 10pt; '>   
notification_options        w,u,c,r</span><br><span style='font-size: 10pt; '>  
notification_period         24x7</span><br><span style='font-size: 10pt; '>   
check_command              
check_nrpe!check_disk2</span><br><span style='font-size: 10pt; '>   
max_check_attempts          3</span><br><span style='font-size: 10pt; '>   
normal_check_interval       15</span><br><span style='font-size: 10pt; '>   
retry_check_interval       
1</span><br><span style='font-size: 10pt; '>}</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>This is the relevant part of
the nrpe.cfg located on one of the affected
hosts:</span><br><span style='font-size: 10pt; '>command[check_disk2]=/usr/local/nagios/libexec/check_disk
-w 20 -c 15 -p /dev/sda10</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Now this command works fine,
and outputs this in Nagios:</span></div>
<div style="position:relative; left: 0"><table rules="none" border="0" frame="void">
<colgroup>
      <col width="389">
      <col width="233">
</colgroup>
<tr valign="top">
<td width="389" style='valign: middle; background-color: white ; '>
<div class="Normal" style=' margin-top:5pt; margin-bottom:5pt;'><span style='font-family: Times New Roman; '><a
href="extinfo.cgi?type=2&host=data&service=%2Fdb%20Partition">/db
Partition</a></span></div>
</td>
<td width="233" style='valign: middle; background-color: white ; '>
<br></td>
</tr>
</table></div>
<div class="Normal" style=' margin-top:5pt; margin-bottom:5pt;'><span style='font-family: Times New Roman; '>OK
12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB (4%
inode=99%):</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>So, my problem here is that
Nagios clearly sees that there is 4% of disk space free, and yet still thinks
the service is in an OK state. I need it to recognize the Warning/Critical
levels on the new system like it did on the old system.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>I'm using these packages on
Centos
5.1:</span><br><span style='font-size: 10pt; '>nagios-3.0b7.tar.gz</span><br><span style='font-size: 10pt; '>nagios-plugins-1.4.7.tar.gz</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Any help/suggestions would
be greatly appreciated</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '><><><><><><><><></span><br><span style='font-size: 10pt; '>Lorand
S. D'Caltan</span><br><span style='font-size: 10pt; '>Systems
Engineer</span><br><span style='font-size: 10pt; '>iSystems
LLC</span><br><span style='font-size: 10pt; '>(802) 655-8347
x157</span><br><span style='font-size: 10pt; '><><><><><><><><></span></div>
<div class="Normal" style=' margin-top:5pt; margin-bottom:5pt;'><span style='font-family: Arial Narrow; color: Gray; font-size: 9pt; '>CONFIDENTIALITY:
The information contained in this message may be privileged and confidential and
protected from disclosure. No confidentiality or privilege is waived or lost by
any mistransmission. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any hard
copies of it and notify the sender. Thank you.</span></div>
<br>



</body>

</html>