Bug#335871: nagios-plugins: check_mrtg return unknown when state is ok

2005-10-26 Thread uno
Package: nagios-plugins Version: 1.4-6 Severity: normal Hi, the check_mrtg command is returning STATE_UNKNOWN when the state is ok. Here is a one line patch for check_mrtg. It just fix the default result value is STATE_OK. (or it needs to put a code result = STATE_OK in place.) ---

Bug#335871: [Pkg-nagios-devel] Bug#335871: nagios-plugins: check_mrtg return unknown when state is ok

2005-10-26 Thread sean finney
hi uno, thanks for your bug report. could you try the latest version uploaded to unstable (1.4.2-3, which i believe is also in testing now)? this version includes some fixes to check_mrtg which might already solve your problem. sean -- signature.asc Description: Digital signature

Bug#335871: [Pkg-nagios-devel] Bug#335871: nagios-plugins: check_mrtg return unknown when state is ok

2005-10-26 Thread UNO Takeshi
Hi, I have tried the version 1.4.2-3. It seems to correct when the state is critical or warning, but it still have a same bug when the state is ok. in check_mrtg.c(main function), there is no code to return STATE_OK, so main() function has return STATE_UNKNOWN even no problem. Thanks, UNO

Bug#335871: [Pkg-nagios-devel] Bug#335871: nagios-plugins: check_mrtg return unknown when state is ok

2005-10-26 Thread sean finney
hi uno, On Thu, Oct 27, 2005 at 01:32:31AM +0900, UNO Takeshi wrote: I have tried the version 1.4.2-3. It seems to correct when the state is critical or warning, but it still have a same bug when the state is ok. in check_mrtg.c(main function), there is no code to return STATE_OK, so