NSClient++ Help (#1) - invalid perfdata (#632) - Message List

invalid perfdata

I posted this earlier, but I didn't see it show up in the threads... did i do something wrong?

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

  • Message #1897

    Fixed in latest nightly... (I hope)

    Michael Medin

    • Message #1909

      check_multi no longer discards "invalid perfdata" using nightly build 2010-07-28.

      thanks MM!

      • Message #1910

        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 Medin

Subscriptions