[hobbit] descriptions in alerts
Henrik Stoerner
henrik at hswn.dk
Mon Jul 10 11:28:14 CEST 2006
On Tue, Feb 07, 2006 at 09:09:54AM -0800, Kevin Flavin wrote:
>
> We've inserted information using the "Descr:" tags in our bb-hosts file
> that we'd like to be able to include in some of our alerts.
>
> Is there a variable that we can use in our paging scripts to include
> this information - or is there a way to grab this information about a
> host when sending an alert?
I've implemented this now for Hobbit 4.2. Scripts will get a series of
environment variables named BBH_something with the contents of the
bb-hosts definition for the host. (See the lib/loadhosts.h file for the
full list). So your script can use the $BBH_DESCR environment for this.
Regards,
Henrik
More information about the Xymon
mailing list