Re: [PATCH/PULL] check_procs: output performance data

Sebastian Harl <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
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:  [email protected]
web:   http://www.teamix.de

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJP9WSaAAoJENhL2qQCcg3A/KgP/0FpArzmiZ0baN/pvKpDD/30
ksPxvw+HqyqSsQGdAlmbw6bX4z+SyyEUh3zeDq50/EGecyh1lt2kBqc4H7AX13qu
1zJTSfzm4Qhcs5zXvOmbrWFdWdWCVYx6uhMf8isAXPILj+55kUN6xrWqG8FWAp3V
swDyEuqAebOsebUuUzUgUsGuQ42P+KsP5mNXDVtgNEOUM5gelB/dwEiYDLWHvtfq
RF3WO1KN5L7fAh+XIf1gKwxZ5KqfrVreFAEcR8PtYyPUvs6TcWUvLPddHtlE+oK8
4/l/azswqEcYhfSlGNRvaOr4SN89MTv4OJxnts3UIZDlhjiofnYLFCxPRlH0iJq+
QwhLYzFnGIZqPiDgY2mqxTpBOcz6GchWlEp5KrhdC2tDZCewjmVCwXd88rb+GZJI
c/YOGDHW6OWFRQp2gzrhojBir9bHevMCA8BAO1hX84mzWo/xoIAVWkM0CmNQD0ft
HkEuZRzlu8uXU7UN08y3HEQdGIYL4qIfk4oFgwGEAYpZ2gChrmqQXjeptPAYBP5X
WaGYxdy7Ff0mTR5EwwS3auMnAt8RBGPxw6IblwlDDt0cRmrMAUNuEpce4+z5FoJe
rfdG7sNrpg2MwF8YnO53FsBJ+r2tbEj12lL+V2iMblegmdnnxn2+rJATlgYw5Ete
1fkMMGTyDMEJU8RX1nw+
=ktcR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.