check_* -w and -c switches
Karl DeBisschop
karl at debisschop.net
Fri Mar 5 13:29:27 CET 2004
On Fri, 05 Mar 2004 11:19:27 +0000
"Paul L. Allen" <pla at softflare.com> wrote:
> Karl DeBisschop writes:
>
> > The output from check_procs --help is below. 2 paragraphs plus 4
> > examples. Please feel free to suggest specific improvements.
>
> The paragraph I came up with to explain the full range syntax was:
>
> RANGEs are specified as 'min:max', 'min:', ':max', 'max' or '0'. A
> RANGE specified as 'min:' is treated as min:infinity. A RANGE
> specified as '0' is treated as '0:infinity'. A RANGE specified
> as ':max' or 'max' is treated as '0:max'. The symbol '~' is
> treated as negative infinity. If the RANGE is prefixed with '@'
> then alert if inside the range rather than outside the range.
>
> I don't know offhand if check_procs supports the full syntax, so some
> of that may not be applicable.
Thanks.
It does not support the full syntax, but it should. I will make changes
to unify range processing in one function that supports the full
syntax, then commit those along with the doco you provide.
--
Karl
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list