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

Sebastian Harl sh at teamix.net
Thu Jul 5 11:55:39 CEST 2012


Hi again,

and another rediscovered branch. This is now available at
<https://github.com/tokkee/nagios-plugins/tree/sh/check_procs>.

Any comments about the backward-incompatible changes?

Cheers,
Sebastian

On Fri, Apr 08, 2011 at 11:36:51AM +0200, Sebastian Harl wrote:
> 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 Harl
Consultant, Trainer

teamix GmbH
Südwestpark 35
90449 Nürnberg

fon:   +49 911 30999-0
fax:   +49 911 30999-99
mail:  sh at teamix.de
web:   http://www.teamix.de

Amtsgericht Nürnberg, HRB 18320
Geschäftsführer: Oliver Kügow, Richard Müller

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://nagios-plugins.org/archive/devel/attachments/20120705/a3a1fecb/attachment.sig>


More information about the Devel mailing list