[hobbit] process checks and user IDs

Gary B. gmbfly98 at gmail.com
Wed Jul 26 15:09:49 CEST 2006


Ah, hobbitclient-sunos.sh.  I was looking for that file and couldn't
find it.  Guess I didn't look hard enough.  Thanks.

> Looks like in 2 places although one is just for BB compatibility
> $HOBBIT/client/bin/hobbitclient-sunos.sh
> $HOBBIT/client/etc/hobbitclient.cfg (BB compatible)
>
> -Grs-
>
> -----Original Message-----
> From: Gary B. [mailto:gmbfly98 at gmail.com]
> Sent: Tuesday, July 25, 2006 9:52 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] process checks and user IDs
>
> But where do you change the ps command that Hobbit uses on the client?
>
> > The stock 'ps' from Solaris can use the -o option for format
> > So a command like, ps -eo user,pid,args would give you:
> > raditz#66 <Grs> ps -eo user,pid,args
> >     USER   PID COMMAND
> >     root     0 sched
> >     root     1 /etc/init -
> >     root     2 pageout
> >     root     3 fsflush
> >     root  1076 /usr/lib/saf/sac -t 300
> >     root   342 /usr/apache/bin/httpd
> >     root   221 /usr/sbin/cron
> > ...
> >
> > HTH
> > -Grs-
> > -----Original Message-----
> > From: Charles Jones -X (charljon - Cisco Learning Institute at Cisco)
> > [mailto:charljon at cisco.com]
> > Sent: Tuesday, July 25, 2006 3:22 PM
> > To: hobbit at hswn.dk
> > Subject: RE: [hobbit] process checks and user IDs
> >
> > I don't know if it helps, but on Solaris you can usually use
> /usr/ucb/ps
> > instead of the normal ps, which has similar options to the linux ps,
> > including the -w (wide output) flags which will show full process
> names.
> >
> > -Charles
> >
> > ________________________________
> >
> > From: Gary B. [mailto:gmbfly98 at gmail.com]
> > Sent: Tue 7/25/2006 12:18 PM
> > To: hobbit at hswn.dk
> > Subject: [hobbit] process checks and user IDs
> >
> >
> >
> > I've looked through all the documentation, and can't find any
> > information on how Hobbit processes the process check rules.
> >
> > I ask because we have some BB process check rules that check for user
> > IDs in the ps output, rather than an actual process, and there's no
> > real way of converting that into Hobbit.  Also, the Solaris ps output
> > doesn't include the full process name, so I can't check for the
> > process that way either.
> >
> > Any suggestions?
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> >
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> >
> >
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>



More information about the Xymon mailing list