nrpe handler: how to 'check_proc -C "X Y" ' ?
Sandor W. Sklar
ssklar at stanford.edu
Fri Dec 14 21:22:34 CET 2007
On Dec 14, 2007, at 12:20 PM, Roger wrote:
> I'm having a problem with this Tivoli-related command in my nrpe.cfg
> file
>
> command[check_proc_dsmc_sched]=/usr/lib/nagios/plugins/check_procs -
> c 1:10 -C "dsmc sched"
>
> dmsc sched is what it looks like when i run 'ps -ef'
>
> e.g.
>
> ps -ef -->
>
> root 19761 19759 0 Dec03 ? 00:00:00 dsmcad
> root 20426 1 0 Dec03 ? 00:00:00 dsmc sched
>
> Ideas on how I can call this from the -C command in check_procs ?
I use this:
check_procs -w 1:1 -C dsmc -a sched
--
Sandor W. Sklar, Unix Systems Administrator
Stanford University Libraries & Academic Information Resources (SULAIR)
http://library.stanford.edu
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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