[hobbit] Adding custom LARRD graphs

Charles Jones jonescr at cisco.com
Tue Jan 25 00:03:31 CET 2005


Henrik Stoerner wrote:

>and use the "bb" utility to send it off as a "data"
>message to Hobbit. E.g. the following script runs your perl script,
>stores the output in a temporary file, and uses the "bb" utility from
>a Big Brother client installation to send this datafile to Hobbit
>in a "data" message:
>
>   #!/bin/sh
>
>   /foo/perlscript >/tmp/datafile
>   
>   BBHOME=/usr/local/bbc
>   export BBHOME
>   . $BBHOME/etc/bbdef.sh
>
>   $BB $BBDISP "data $MACHINE.orasync
>
>   `cat /tmp/datafile`
>   "
>
>Now the fun bit starts. Hobbit will automatically pass data-messages
>to all tasks monitoring the "data" channel. 
>
Can you tell me the difference between using "data" and "status"?  The 
reason I ask is because I looked at the hobbitd/larrd/do_bea.c (because 
it was the smallest one), and I notice in the comments that script that 
feeds it is using "status" instead of "data".

Thanks,
-Charles



More information about the Xymon mailing list