-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/03/10 07:23 AM, Michael Schwartzkopff wrote: > Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: >> Hi >> >> I use the HOST-RESOURCES-MIB to get the status of the system and its >> various parameters. There is one such MIB parameter that provides memory >> used by a specific process on a linux box. It is : "hrSWRunPerfMem" , >> When i execute this command using the check_snmp plugin it does not >> provide any performance data after the '|' symbol. >> >> The output is as below : >> >> [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx >> SNMP OK - 1652 KBytes | >> >> Is it a bug on the check_snmp plugin ? >> Please let me know if i am missing something. >> >> Thanks >> Jatin >> >> --------------------------------------------------------------------------- >> --- Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null > > I don't know which version you are using. My output is: > ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 > > SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes
Actually I said the behaviour was "broken" by another fix but actually this output is broken in itself. The 2nd part isn't a valid perfdata string and this is what the fix was for, although the shown example was much more obvious. I just committed a fix btw. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLsrXM6dZ+Kt5BchYRAlbQAJ4io+kvxbCmb8c+E0MZ/BBpUL00WwCfSrDN 2lbXWMj4bhhydpkqKqdfYIU= =7yFc -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null