[Nagiosplug-devel] Error in check_mrtg source code

Marco Klipp klipp.m at Eppendorf.DE
Wed Jul 18 17:08:11 CEST 2007


Hi nagios team, 
I Think I found an error in the plugin check_mrtg

Please check :

	if ( rate >  value_critical_threshold)
		result = STATE_CRITICAL;
	else if (rate > value_warning_threshold)
		result = STATE_WARNING;
		else result = STATE_OK;

There is the last else missing.
Without this the returnvalue would never be 0 (OK) !

I hope this helps.


regards





Marco Klipp

System Manager
IT Helpdesk
eppendorf AG
Fon : +49 40 53801 - 539




---------------------------------------------------------------------------------------
This email including its attachments is intended for the person or
entity only to which it is addressed. It may contain confidential and/or
privileged material. Any review, forwarding, dissemination, other use
of, or taking of any action in reliance upon this information by persons
or entities other than the intended recipient is prohibited.
If you received this email in error, please contact the sender and 
delete the material from any computer system. 
---------------------------------------------------------------------------------------

Eppendorf AG, Hamburg, Barkhausenweg 1, 22339 Hamburg,
Amtsgericht Hamburg HRB 76249
Vors. des Aufsichtsrats: Dr. Robert Mann
Vorstand: Klaus Fink (Vorsitzender), Detmar Ammermann,
Dr. Heinz G. Koehn, Dr. Michael Schroeder

Eppendorf Instrumente GmbH, Hamburg, Amtsgericht Hamburg, HRB 69077
Geschäftsführer: Rainer Treptow

Eppendorf Biochip Systems GmbH, Hamburg, Amtsgericht Hamburg, HRB 96641
Geschäftsführer: Dr. Sven Buelow

Eppendorf Liquid Handling GmbH, Hamburg, Amtsgericht Hamburg, HRB 92250
Geschäftsführer: Boris von Beichmann




More information about the Devel mailing list