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