SF.net SVN: nagiosplug:[2110] nagiosplug/trunk

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2110
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2110&view=rev
Author:   dermoth
Date:     2008-12-03 13:04:32 +0000 (Wed, 03 Dec 2008)

Log Message:
-----------
check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068)

Modified Paths:
--------------
    nagiosplug/trunk/NEWS
    nagiosplug/trunk/THANKS.in
    nagiosplug/trunk/plugins/check_mrtg.c

Modified: nagiosplug/trunk/NEWS
===================================================================
--- nagiosplug/trunk/NEWS	2008-12-02 17:26:17 UTC (rev 2109)
+++ nagiosplug/trunk/NEWS	2008-12-03 13:04:32 UTC (rev 2110)
@@ -18,6 +18,7 @@
 	check_disk: make autofs mount paths specified with -p before we determing the mount list (Erik Welch)
 	Fixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)
 	Re-bundled libtap as a built-in library (--enable-libtap): detects system library as pre-1.4.13 and does not install the built-in library anymore
+	Fixed check_mrtg returning UNKNOWN instead of OK (bug #2378068)
 
 1.4.13 25th Sept 2008
 	Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)

Modified: nagiosplug/trunk/THANKS.in
===================================================================
--- nagiosplug/trunk/THANKS.in	2008-12-02 17:26:17 UTC (rev 2109)
+++ nagiosplug/trunk/THANKS.in	2008-12-03 13:04:32 UTC (rev 2110)
@@ -244,3 +244,4 @@
 Dieter Van de Walle
 Jan Lipphaus
 Erik Welch
+Nik Soggia

Modified: nagiosplug/trunk/plugins/check_mrtg.c
===================================================================
--- nagiosplug/trunk/plugins/check_mrtg.c	2008-12-02 17:26:17 UTC (rev 2109)
+++ nagiosplug/trunk/plugins/check_mrtg.c	2008-12-03 13:04:32 UTC (rev 2110)
@@ -53,7 +53,7 @@
 int
 main (int argc, char **argv)
 {
-	int result = STATE_UNKNOWN;
+	int result = STATE_OK;
 	FILE *fp;
 	int line;
 	char input_buffer[MAX_INPUT_BUFFER];


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.