Xymon Mailing List Archive search

BBWin 0.5 available

list David Gilmore
Mon, 3 Apr 2006 17:03:50 -0400
Message-Id: <00b201c65762$1be594c0$user-2de414585e5e@xymon.invalid>

Yep, that was the fix.  I should have realized that.
 
Any idea why my "catch all" external did not work?  With BBNT I called
bbexternals.cmd to run all of the external scripts.
 
bbexternals.cmd

cd c:\bblogs
cscript //b bbsav.vbs
cscript //b iis-check.vbs
cscript //b exchange.vbs

Thanks,
 
Dave
 

From: hobbit-return-6230-david=user-9e293dd11111@xymon.invalid
[mailto:hobbit-return-6230-david=user-9e293dd11111@xymon.invalid] On Behalf
Of Etienne Grignon
Sent: Monday, April 03, 2006 4:50 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] BBWin 0.5 available


Hi Dave,


2006/4/3, David Gilmore <user-70507ff7198d@xymon.invalid>: 

Etienne,
 
A problem has come up with the Externals.  I had been calling all of my
external scripts from one batch file when I was using BBNT, which worked
fine.  I ran the vbs script to convert my BBNT setting to BBWIN and checked
the XML file to see that it had imported c:\bblogs\bbexternals.cmd.
However, all my externals are reporting purple.
 
I did read through the docs and changed the scripts and registry to point to
the BBWin\tmp directory, but still no reports.  If I manually execute the
scripts, then they show up in the BBWin\tmp directory.  I even changed the
XML file to call the scripts directly.  But still no luck.  After a few
service restarts I got the following in my APP log
 
App: W 'Mon Apr 03 16:28:55 2006': BigBrotherHobbitClient - " The agent
externals generated this event
message : Failed to launch c:\bblogs\BBsav.vbs:   "
App: W 'Mon Apr 03 16:28:55 2006': BigBrotherHobbitClient - " The agent
externals generated this event
message : Failed to launch c:\bblogs\IIS-Check.vbs:   "

Any suggestions?


For vbscript, you should write externals rules like this :

<load value="cscript.exe c:\bblogs\IIS-Check.vbs" />

You have to specify the executable used for the script. It should work well
after that.

Please let me know if it still doesn't work.


-- 
Etienne GRIGNON