NSClient++ Help (#1) - invalid perfdata (#632) - Message List
I posted this earlier, but I didn't see it show up in the threads... did i do something wrong?
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 Medinmickem07/28/10 10:57:43 (3 years ago)
check_multi no longer discards "invalid perfdata" using nightly build 2010-07-28.
thanks MM!oddboy07/28/10 23:28:36 (3 years ago)
humm... don't really know...
Wasn't planning to do anything anytime soon to be honest. Want to finish up 0.4.x but we shall see have been getting some other requests but again... I don't know...
Not "in the next week or so" is I guess the best I can give you. But given that the "nightly build" only has bug fixes I guess it is fairly safe to use it...
Michael Medinmickem07/28/10 23:38:49 (3 years ago)