Xymon Mailing List Archive search

different bb-hosts in bb-rep.sh

2 messages in this thread

list Marco Avvisano · Fri, 18 Aug 2006 16:00:47 +0200 ·
Hi all,

i'm tryng to modified bb-rep.sh to make a report only for specific hosts.
i have created a new bb-hosts file, and set the variable BBHOSTS in this 
shell, but it not work

my bb-rep.sh is :

#!/bin/sh

# This it the Hobbit wrapper for the bb-rep.cgi tool

. /usr/local/hobbit/server/etc/hobbitserver.cfg
. /usr/local/hobbit/server/etc/hobbitcgi.cfg

BBHOSTS="/usr/local/hobbit/server/etc/bb-hosts_internet_appl"
export BBHOSTS

exec /usr/local/hobbit/server/bin/bb-rep.cgi $CGI_REP_OPTS $BBGENREPOPTS


What is wrong ?

thanks for helps

Marco
list Marco Avvisano · Mon, 28 Aug 2006 09:54:42 +0200 ·

there is other ways to use different bb-hosts in report script?
Someone use the script sla-report from deadcat site? 
thanks for help 
Marco
quoted from Marco Avvisano

i'm tryng to modified bb-rep.sh to make a report only for specific hosts.
i have created a new bb-hosts file, and set the variable BBHOSTS in this shell, but it not work

my bb-rep.sh is :

#!/bin/sh

# This it the Hobbit wrapper for the bb-rep.cgi tool

. /usr/local/hobbit/server/etc/hobbitserver.cfg
. /usr/local/hobbit/server/etc/hobbitcgi.cfg

BBHOSTS="/usr/local/hobbit/server/etc/bb-hosts_internet_appl"
export BBHOSTS

exec /usr/local/hobbit/server/bin/bb-rep.cgi $CGI_REP_OPTS $BBGENREPOPTS


What is wrong ?

thanks for helps

Marco