Ticket #399 (closed defect: fixed)
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








Fixed in latest nightly... (I hope)
Michael Medin