[hobbit] How to list recipients of a service from all clients

Lee, Raymond Raymond.Lee at qwest.com
Fri Feb 13 17:34:43 CET 2009


Hi Henrik,

We don't have Reports -> Config Report.  We're running Hobbit server 4.2.0.  Was the Config Report added after that?

I tried what Asif prescribed, and it got the job done for me:

for client in `cat $HOBBIT_HOME/server/etc/bb-hosts | egrep -v "^#" | egrep "^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" | awk '{print $2}'`
do
   $HOBBIT_HOME/server/bin/hobbitd_alert --test $client disk --color=red | grep mail
done


Thanks,
Ray


> -----Original Message-----
> From: Henrik Størner [mailto:henrik at hswn.dk] 
> Sent: Friday, February 13, 2009 11:00 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] How to list recipients of a service 
> from all clients
> 
> On Fri, Feb 13, 2009 at 09:22:09AM -0600, Lee, Raymond wrote:
> > If I go to the "info" test for one of my clients, I see the 
> services and
> > recipients in the Alerting section.  If I want to see the 
> recipients for
> > the "disk" service for every client I'm monitoring, is 
> there an easy CLI
> > way of doing that?
> 
> You mean like a report of who gets alerts for all of the hosts ?
> 
> It's in the Reports -> Config Report (along with a lot of other info).
> 
> 
> Regards,
> Henrik
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.



More information about the Xymon mailing list