[Nagiosplug-devel] New souped-up check_procs
Voon, Ton
Ton.Voon at egg.com
Tue Apr 8 06:17:04 CEST 2003
Wasn't aware of this file. Will do later tonight.
> -----Original Message-----
> From: Subhendu Ghosh [SMTP:sghosh at sghosh.org]
> Sent: Tuesday, April 08, 2003 2:05 PM
> To: nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] New souped-up check_procs
>
> Hi Ton
>
> Can you update command.cfg.in for the new check_procs...
>
> -sg
>
> On Tue, 8 Apr 2003, Ton Voon wrote:
>
> > I've finally updated check_procs so that it does vsz, rss and cpu
> > checks. It works well as it currently is, although there is a plan to
> > enhance the filter options so you can do SQL-like queries.
> >
> > You can use a --metric option so that the metric returned is either
> > number of processes, vsz, rss or cpu. Should be easy to add any other
> > metrics in future. I've removed check_vsz. I've added in some examples
> > in --help to explain some common usages.
> >
> > A potential problem is that I've had to guess a lot of the ps options
> > in configure.in. I've tested it on:
> >
> > Linux 2.4 (Redhat 7.3 x86) - ok
> > Linux 2.4 (Debian 2.2 x86) - ok
> > Linux 2.2 (Debian 3.0 Alpha) - error about Unknown HZ value, but looks
> > like a system problem
> > Linux 2.4 (Debian 3.0 Sparc) - ok
> > Solaris 8 (Sparc) - ok
> > Mac OS 10.2 - ok
> >
> > If you can try out on any other OS, that would be great.
> >
> > Finally, used -v for verbose and can specify multiple -v for extra
> > verbosity. I've gone with the philosophy of:
> > verbose level 0 - minimal output (eg thresholds and summary)
> > verbose level 1 - extra output, only one line for Nagios (eg list
> > processes that fail)
> > verbose level 2 - config debug output (eg ps command used)
> > verbose level 3 - loads of debug
> >
> > Let me know if you think there needs to be extra categories.
> >
> > Ton
>
> --
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> 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
This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.
More information about the Devel
mailing list