Ticket #399 (closed defect: fixed)

Opened 19 months ago

Last modified 18 months ago

invalid perfdata

Reported by: oddboy Owned by: MickeM
Priority: 1 Milestone: 0.3.9
Component: Core Version: 0.3.7
Severity: Bugs Keywords:
Cc:

Description

http://www.nsclient.org/nscp/discussion/topic/631#-1

I've got an issue with nsclient++ and check_multi.

check_multi will discard invalid perfdata if it does not adhere to the guidelines at:  http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201

One item of note is that nsclient++ seems to add an extra ";" at the end of the perfdata metrics. This causes check_multi to discard the perfdata.

how can that be fixed?

here's a sample:

root@system:/opt/plugins/custom/check_multi# sudo -u nagios /opt/plugins/check_multi -f check_memory.cmd -s HOSTADDRESS=server1 -r 1+4+8+32768 CRITICAL - 1 plugins checked, 1 critical (physical) [physical perfdata discarded for error in '66572288B;100;200;0;2147352576;': invalid ';' after max value 2147352576] [ 1] physical CRITICAL: virtual memory: Total: 2G - Used: 63.5M (3%) - Free: 1.94G (97%) > critical|check_multi::check_multi::plugins=3 time=1.044421

Change History

comment:1 Changed 19 months ago by mickem

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in latest nightly... (I hope)

Michael Medin

comment:2 Changed 19 months ago by oddboy

check_multi no longer discards invalid perfdata from nsclient using 2010-07-28.

when will this make it into an official release?

cheers,

J

comment:3 Changed 18 months ago by mickem

  • Milestone set to 0.3.9
Note: See TracTickets for help on using tickets.