[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2110] nagiosplug/trunk

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Wed Dec 3 14:04:33 CET 2008


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.




More information about the Commits mailing list