[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hobbit] using var in bb-hosts?





[sorry, columns :(, this morning my input devics are a bit dizzy ]

Hi all,

maybe a not important question...

Using bb-hosts with multiple hosts elongates to quiet a view lines ;-)

But using different tests, slas, maintenance windows and stuff
easy generates a lot of columns...and the line gets hard to read
and to edit. (okok....i know about sed ;-) )

Is there a possibility to use variables as in hobbit-alerts?


So one could group:

   $locationA-sla="DOWNTIME=W:0700:0730 REPORTTIME=W:0731:0659 WARNPCT:95.0"
   $locationA-service="NK:conn ftp ssh imap otherstuff route:router1,router2,router3"




1.1.1.1  usermonitor  #  http://www.userurl.com $locationA-sla $locationA-service
1.1.1.2  usermonitor2 #  http://www.userurl2.com $locationA-sla $locationA-service
...

man for bb-hosts says nothing about it.

Best
  Mathias