[hobbit] BBWin 0.5 available

David Gilmore david at stenhouseconsulting.com
Mon Apr 3 23:03:50 CEST 2006


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=stenhouseconsulting.com at hswn.dk
[mailto:hobbit-return-6230-david=stenhouseconsulting.com at hswn.dk] On Behalf
Of Etienne Grignon
Sent: Monday, April 03, 2006 4:50 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] BBWin 0.5 available


Hi Dave,



2006/4/3, David Gilmore <david at stenhouseconsulting.com>: 

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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060403/b88a311b/attachment.html>


More information about the Xymon mailing list