Xymon Mailing List Archive search

Unable to Re Enable Disabled Test (Hobbit 4.1.2p1)

list Etienne Grignon
Tue, 16 May 2006 09:56:30 +0200
Message-Id: <user-0fd617c1d03b@xymon.invalid>

Hi Dave,

I may know why your external command is not executed.

Could you tell me where is located bbexternals.cmd file ?

The current path for BBWin when it is running is the bin directory so,
if bbexternals.cmd is not in the bbwin bin directory or in one of the
environment paths, then, it will fail.

If bbexternals.cmd is in ext directory, you should try this :

<load value='cmd.exe /C "D:\Program Files\BBWin\ext\bbexternals.cmd"'
timer="300" />

Let me know if it worked.

Regards,

Eteinen.


2006/5/15, David Gilmore <user-70507ff7198d@xymon.invalid>:
BBWin is not executing the script for the tests, but I can not figure out
why!  I call all of my scripts, three on this box, using one CMD file.  All
scripts are in the ext directory, and I edited the registry so that the BB
client externals path is set to the BBWIN\tmp directory.  If I execute the
CMD file manually, it all works fine.

Here is my script, which is saved as a CMD file

cd D:\Program Files\BBWin\ext
cscript //b bbsav.vbs
cscript //b iis-check.vbs
cscript //b exchange.vbs

Here is my BBWIN config file

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<bbwin>
<setting name="hostname" value="winserver01.stenhouse.local" />
<setting name="timer" value="300" />
<setting name="bbdisplay" value="10.254.254.10:1984" />
<load name="cpu" value="cpu.dll" />
<load name="disk" value="disk.dll" />
<load name="externals" value="externals.dll" />
<load name="procs" value="procs.dll" />
<load name="memory" value="memory.dll" />
<load name="stats" value="stats.dll" />
<load name="uptime" value="uptime.dll" />
<setting name="loglevel" value="4" />
<setting name="logpath" value="C:\bblogs\BBWin.log" />
</bbwin>
<cpu>
<setting name="default" warnlevel="80%" paniclevel="95%" />
</cpu>
<disk>
<setting name="default" warnlevel="90%" paniclevel="95%" />
<setting name="D" warnlevel="90%"  paniclevel="95%" />
<setting name="C" warnlevel="90%"  paniclevel="95%" />
</disk>
<externals>
<setting name="logstimer" value="60" />
<load value="cmd.exe /C bbexternals.cmd" timer="300" />
</externals>
<memory>
<setting name="physical" warnlevel="95%" paniclevel="98%" />
<setting name="virtual" warnlevel="80%" paniclevel="90%" />
</memory>
<procs>
<setting name="dns" rule="=1" alarmcolor="yellow" />
<setting name="inetinfo" rule="=1" alarmcolor="yellow" />
<setting name="retroclient" rule="=1" alarmcolor="yellow" />
<setting name="services" rule="=1" alarmcolor="yellow" />
<setting name="snmp" rule="=1" alarmcolor="yellow" />
<setting name="w3wp" rule="=2" alarmcolor="yellow" />
<setting name="wins" rule="=1" alarmcolor="yellow" />
</procs>
<uptime>
<setting name="delay" value="30m" />
<setting name="alarmcolor" value="yellow" />
</uptime>
</configuration>

Dave

-----Original Message-----
From:
hobbit-return-6852-david=user-9e293dd11111@xymon.invalid
[mailto:hobbit-return-6852-david=stenhouseconsulting.com at hswn.
dk] On Behalf Of Henrik Stoerner
Sent: Monday, May 15, 2006 4:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Unable to Re Enable Disabled Test
(Hobbit 4.1.2p1)

On Mon, May 15, 2006 at 04:24:12PM -0400, David Gilmore wrote:
I recently disabled a couple of tests when I had some
issues with the
WinBB client.  Now that I have fixed the problem with the WinBB
client, and re enabled the tests, I am still getting a BLUE status
icon, and it has been like that for days.  Any suggestions?
After enabling it, you will see the status remain blue until
an update is sent by the client. So if your server is down
(or the WinBB client is not running), the status will remain
blue even though it has been re-enabled.

If you go look at the detailed status, does it say "disabled
until ...."
at the top of the status page ? If it does, then Hobbit still
considers it disabled. If not, then it is just waiting for an update.


Regards,
Henrik

-- 
Etienne GRIGNON