[hobbit] bb-hosts question

Buchan Milne bgmilne at staff.telkomsa.net
Wed Feb 13 09:00:13 CET 2008


On Tuesday 12 February 2008 18:25:59 McGraw, Robert P wrote:
> I had a bb-host entry that looked like the following:
>
> 128.210.003.177 zorn.math.purdue.edu      # \
>                 bbd ntp ssh smtp imaps pop3s \
>                 http://hobbit.math.purdue.edu/ \
>                 https://helpdesk.math.purdue.edu/ \
>                 TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|\
>                 vmstat8|vmstat9|vmstat0,\
>                 netstat:netstat0|netstat1|netstat2|netstat3
>
> In the above format I would not get vmstat[8,9,0] TRENDS but I would get
> the netstat TRENDS.
>
> When I changed the lines to look like the following it all worked.
>
> 128.210.003.177 zorn.math.purdue.edu      # \
>                 bbd ntp ssh smtp imaps pop3s \
>                 http://hobbit.math.purdue.edu/ \
>                 https://helpdesk.math.purdue.edu/ \
> TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,\
> netstat:netstat0|netstat1|netstat2|netstat3
>
> Is there something in the TRENDS format that require things to be on the
> same line?

No, but your first format is introducing white space in the list of TRENDS, so 
you should either avoid breaking a single token, or avoid leading spaces on a 
continued line.

Regards,
Buchan




More information about the Xymon mailing list