[Nagiosplug-devel] [PATCH/PULL] check_procs: output performance data

Sebastian Harl tokkee at debian.org
Fri Apr 8 11:36:51 CEST 2011


Hi again,

I've got two patches sitting in the sh/check_procs branch at
git://oss.teamix.org/nagiosplug.git that add support for perfdata to
check_procs:

      check_procs: Use the range/threshold support functions from libnagiosplug.
      check_procs: Added performance data to plugin output.

The changes are rather small, so here's a diff for both patches:
<http://oss.teamix.org/projects/nagiosplug/repository/diff?rev=212c1d00462eb10b8c68b0a3721d036b4c883221&rev_to=1bc7a4a198aefde2389c9c1685baed0da7856bf5>

Note: Previously, the compatibility code for 'check_procs <warn> <max>'
accepted something like 'check_procs -w 10:-1 -c 10:-1 20 50' as well
(treating it as if '-w 10:20 -c 10:50' was specified). This is no longer
the case … additional arguments are only used as warn/crit thresholds in
case -w/-c is not specified at all.

Looking forward to comments and suggestions ;-)

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20110408/85df7aac/attachment.sig>


More information about the Devel mailing list