Xymon Mailing List Archive search

--extra-script stopped working

3 messages in this thread

list Paul van Eldijk · Wed, 12 Jul 2006 12:05:14 +0200 ·
Hi,

I'm using hobbit 4.1.2.

I've added an external script to hbbitd_rrd with the --extra-script and --extra-test options. It ran ok for a few days, but then just stopped updating the rrds. Now, even when restarting hobbit the script is not launched anymore. 
the section in hobbitlaunch.cfg is:
[rrdstatus]
        ENVFILE /data/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-script=/data/hobbit/server/scripts/rrd.pl --extra-tests=oradb

when running the script by hand it works just fine, so why doesn't it run anymore? The logfile gives no clue.

Help!

Paul
list Henrik Størner · Wed, 12 Jul 2006 13:19:39 +0200 ·
quoted from Paul van Eldijk
On Wed, Jul 12, 2006 at 12:05:14PM +0200, Paul van Eldijk wrote:
I'm using hobbit 4.1.2.

I've added an external script to hbbitd_rrd with the --extra-script and --extra-test options. It ran ok for a few days, but then just stopped updating the rrds. Now, even when restarting hobbit the script is not launched anymore. 
the section in hobbitlaunch.cfg is:
[rrdstatus]
        ENVFILE /data/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-script=/data/hobbit/server/scripts/rrd.pl --extra-tests=oradb

when running the script by hand it works just fine, so why doesn't it run anymore? The logfile gives no clue.
Is your host(s) sending in the "oradb" status- or data-messages?


Regards,
Henrik
list Paul van Eldijk · Wed, 12 Jul 2006 13:40:42 +0200 ·
quoted from Henrik Størner
On Wednesday 12 July 2006 13:19, Henrik Stoerner wrote:
On Wed, Jul 12, 2006 at 12:05:14PM +0200, Paul van Eldijk wrote:
I'm using hobbit 4.1.2.

I've added an external script to hbbitd_rrd with the --extra-script
and --extra-test options. It ran ok for a few days, but then just stopped
updating the rrds. Now, even when restarting hobbit the script is not
launched anymore.

the section in hobbitlaunch.cfg is:
[rrdstatus]
        ENVFILE /data/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD
hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log
hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-script=/data/hobbit/server/scripts/rrd.pl --extra-tests=oradb

when running the script by hand it works just fine, so why doesn't it run
anymore? The logfile gives no clue.
Is your host(s) sending in the "oradb" status- or data-messages?
Yes. a small extract from rrd-status.log (with debugging enabled):
2006-07-12 11:30:02 hobbitd_rrd: Got message 410 @@status#410|
1152696602.163208|10.11.0.33||DBS012430|msgs|1152698402|green||green|
1152172178|0||0|
2006-07-12 11:30:02 hobbitd_rrd: Got message 411 @@status#411|
1152696602.163854|10.11.0.33||DBS012430|procs|1152698402|green||green|
1152172178|0||0|
2006-07-12 11:30:02 hobbitd_rrd: Got message 412 @@status#412|
1152696602.737687|10.12.0.45||DBS012430|oradb|1152698402|yellow||yellow|
1152694591|0||0|

so the status-message is coming in...

Paul