check_* -w and -c switches
Paul L. Allen
pla at softflare.com
Fri Mar 5 12:19:27 CET 2004
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.
> I guess an example for 0 is in order:
Probably a good idea. People ought to be able to figure it out, but it's
a fairly common requirement if you need to check that a particular
daemon is running. I generally check crond that way.
--
Paul Allen
Softflare Support
-------------------------------------------------------
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