[Nagiosplug-devel] New plugins, autoconf & pre-built binaries

Voon, Ton Ton.Voon at egg.com
Tue Apr 1 01:12:04 CEST 2003


Assuming we have a souped-up check_procs, what would the syntax be?

My proposal:

check_procs --check=vsz -w 10 -c 5 [filters]

where filters are options from:
	-s state, -p ppid, -u user, -a argument, -C command (default: all
processes)

and --check can be 
	procs (default), vsz, rss, cpu

My only concern is that -w and -c would be treated differently depending on
the --check option used (eg cpu would probably be percentage, procs would be
ints, vsz would be bytes). I think separating it into links to the same
check_procs makes it a bit clearer that they are different threshold values,
but this is not a strong preference.

Thoughts?

> -----Original Message-----
> From:	Subhendu Ghosh [SMTP:sghosh at sghosh.org]
> Sent:	Monday, March 31, 2003 7:13 PM
> To:	NagiosPlug Devel
> Subject:	RE: [Nagiosplug-devel] New plugins, autoconf & pre-built
> binaries
> 
> Preference for a souped-up version is portability doesn't create too many 
> problems in coding.
> 
> -sg
> 
> On 31 Mar 2003, Karl DeBisschop wrote:
> 
> > On Mon, 2003-03-31 at 05:00, Voon, Ton wrote:
> > > check_cpu is actually a cpu check on processes, not the overall load
> on a
> > > system. Maybe a rename to check_procs_cpu? If so, there is a check_vsz
> to
> > > check the virtual size of processes - maybe this should change to
> > > check_procs_vsz for consistency?
> > > 
> > > I also notice that the configure.in holds checks for an RSS_COMMAND,
> but
> > > there is no check_rss. Is this worthwhile to do? (I'm thinking a
> symlink of
> > > check_vsz, but with slightly different processing, ala check_tcp /
> check_ftp
> > > / check_telnet)
> > 
> > Actually, I'd prefer to see them all rolled up into on souped up version
> > of check_procs. Is that feasible? Do other people consider a single
> > program the better option?
> > 
> > To me, since we test status, owner, etc in check_procs, cpu usage is
> > just more of the same.
> > 
> > Problem would be making it portable, of course.
> > 
> > --
> > Karl
> 


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