[hobbit] Is there a way to clone host definitions in bb-hosts?

Tim McCloskey devzero at cox.net
Wed Jun 11 05:04:34 CEST 2008

So I was curious about the whole macro thing and decided to test it out.  It has only been a few minutes but the 
following seems to work fine.  I hope this helps in some way.


ipaddress    servername             # $foo



Tim McCloskey wrote:
> As mentioned, perhaps someone with knowledge on the topic can answer.
> To extend the question further, since macros (variables) are able to be 
> used within the hobbit-alerts.cfg file I wonder if variables can be 
> assigned in bb-hosts and hobbit-clients.cfg?  At one point I thought of 
> trying to keep all of our host/client/alerts data within mysql, but it 
> was only a thought.
> Regards,
> Tim
> John Burk wrote:
>   I'm using includes in my bb-hosts to keep the file
>> length down, but my included files are comprised of hundreds of hosts
>> all identical except for the ipaddresses and hostnames.
>> Surely there must be a way to template this, I just can't find it in
>> the bb-hosts manpage...
> ...
>> and so on in mind-numbing repetition...
>> ==============================
>> I'd like to be able to define the tags in a template, and simply use
>> that template.  Does this mechanism exist in bb-host?  That way
>> if/when I need to change the tags for all my hosts, I only need to do
>> it in one place, and not on every line in 3 different files.
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk

More information about the Xymon mailing list