<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=268142519-01082006><FONT face=Arial size=2>Hi
Guys,</FONT></SPAN></DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial size=2>I had little
problems with the check_mrtg plugin which always returned a STATE_UNKNOWN
instead of a STATE_OK even though everything seemed OK. I hope I didn't misread
the help output but I've fixed it by doing the following changes to
the check_mrtg.c :</FONT></SPAN></DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=268142519-01082006><FONT face="Courier New" size=2>---
check_mrtg.c.orig 2006-08-01 15:20:45.000000000 -0400<BR>+++
check_mrtg.c 2006-08-01
15:20:02.000000000 -0400<BR>@@ -134,6 +134,8
@@<BR>
result = STATE_CRITICAL;<BR> else if
(rate >
value_warning_threshold)<BR>
result = STATE_WARNING;<BR>+
else<BR>+
result = STATE_OK;<BR> <BR>
printf("%s. %s = %lu
%s|%s\n",<BR>
(use_average == TRUE) ? _("Avg") : _("Max"),</FONT></SPAN></DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial size=2>Anybody can tell me
if I was right to do this change this way?</FONT></SPAN></DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=268142519-01082006><FONT face=Arial size=2>Sebastien
Coutu</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>