[hobbit] bb-hosts question

Henrik Stoerner henrik at hswn.dk
Tue Feb 12 22:41:07 CET 2008


On Tue, Feb 12, 2008 at 11:25:59AM -0500, 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?


The code handling line continuation does have some subtleties, yes.
I would recommend not splitting a single setting over multiple lines.


Regards,
Henrik




More information about the Xymon mailing list