Xymon Mailing List Archive search

Extra script not firing

4 messages in this thread

list Rich Smrcina · Sat, 03 Jun 2006 19:59:59 -0500 ·
It appears that after the 20060423 alfa (I'm currently running 20060601 beta), that the extra script isn't firing.

I noticed that a custom graph isn't being populated and in the course of debugging I just added an echo of some text into a file from the beginning of the script.  The file never appears.  This leads me to believe that the script is not being executed.

If more info is needed, let me know.

Thanks.
-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Lars Ebeling · Sun, 4 Jun 2006 07:29:23 +0200 ·
I try to run the latest snapshot all the time and have not noticed any problems with extra scripts. I am running hobbit on HP-UX 11.11

Lars

----- Original Message ----- From: "Rich Smrcina" <user-cf452ff334e0@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Sunday, June 04, 2006 2:59 AM
Subject: [hobbit] Extra script not firing
quoted from Rich Smrcina

It appears that after the 20060423 alfa (I'm currently running 20060601 beta), that the extra script isn't firing.

I noticed that a custom graph isn't being populated and in the course of debugging I just added an echo of some text into a file from the beginning of the script.  The file never appears.  This leads me to believe that the script is not being executed.

If more info is needed, let me know.

Thanks.
-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007

list Henrik Størner · Sun, 4 Jun 2006 13:09:34 +0200 ·
quoted from Rich Smrcina
On Sat, Jun 03, 2006 at 07:59:59PM -0500, Rich Smrcina wrote:
It appears that after the 20060423 alfa (I'm currently running 20060601 beta), that the extra script isn't firing.

I noticed that a custom graph isn't being populated and in the course of debugging I just added an echo of some text into a file from the beginning of the script.  The file never appears.  This leads me to believe that the script is not being executed.
Check that you have both the --extra-script and --extra-tests option set
correctly. And also that you've set it up on the right hobbitd_rrd
instance in hobbitlaunch.cfg - there are two, one for "status" messages
and another for "data" messages.

I've just tried setting up such a script, and it runs the script just fine. Which is as I would expect, since that part of the code hasn't been touched for a very long time.


Regards,
Henrik
list Rich Smrcina · Sun, 04 Jun 2006 08:58:27 -0500 ·
Sure enough, it was on the "data" line.  I must have looked at that a dozen times to be sure that I had it right... :)

Thanks.
quoted from Henrik Størner

Henrik Stoerner wrote:
On Sat, Jun 03, 2006 at 07:59:59PM -0500, Rich Smrcina wrote:
It appears that after the 20060423 alfa (I'm currently running 20060601 beta), that the extra script isn't firing.

I noticed that a custom graph isn't being populated and in the course of debugging I just added an echo of some text into a file from the beginning of the script.  The file never appears.  This leads me to believe that the script is not being executed.
Check that you have both the --extra-script and --extra-tests option set
correctly. And also that you've set it up on the right hobbitd_rrd
instance in hobbitlaunch.cfg - there are two, one for "status" messages
and another for "data" messages.

I've just tried setting up such a script, and it runs the script just fine. Which is as I would expect, since that part of the code hasn't been touched for a very long time.


Regards,
Henrik

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007