Xymon Mailing List Archive search

Unable to Re Enable Disabled Test (Hobbit 4.1.2p1)

8 messages in this thread

list David Gilmore · Mon, 15 May 2006 16:24:12 -0400 ·
Hi all,
 
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?
 
David Gilmore
Consultant
Stenhouse Consulting, LLC.
X Traverse St
Providence, RI   XXXXX
XXX.XXX.XXXX x12
XXX.XXX.XXXX (fax)
list Rob MacGregor · Mon, 15 May 2006 21:33:54 +0100 ·
quoted from David Gilmore
On 5/15/06, David Gilmore <user-70507ff7198d@xymon.invalid> wrote:
Hi all,

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?
Version of Hobbit?  Anything in the logs?

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Larry Barber · Mon, 15 May 2006 15:37:48 -0500 ·
Make sure your clients are reporting and are using the same name as Hobbit
is expecting. It sounds like Hobbit hasn't gotten any fresh reports from
your clients, the status will stay blue until a new report comes in.

Thanks,
Larry Barber
quoted from Rob MacGregor

On 5/15/06, Rob MacGregor <user-07c9d92ae079@xymon.invalid> wrote:
On 5/15/06, David Gilmore <user-70507ff7198d@xymon.invalid> wrote:
Hi all,

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?
Version of Hobbit?  Anything in the logs?

--
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Henrik Størner · Mon, 15 May 2006 22:38:33 +0200 ·
quoted from David Gilmore
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
list David Gilmore · Mon, 15 May 2006 17:13:02 -0400 ·
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)
quoted from David Gilmore

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

list Etienne Grignon · Tue, 16 May 2006 09:56:30 +0200 ·
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>:
quoted from David Gilmore
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
list David Gilmore · Wed, 17 May 2006 15:30:42 -0400 ·
Eteinen,

You were absolutely correct.  Thank you.  When I looked at the prepackaged
config file that came with BBWIN, it looked to me like it should have
defaulted to the EXT directory when attempting to load scripts, hence I did
not include the full path.

Looking forward to install BBWIN 0.7 today.  Any tricks or traps to know
about before hand?

Dave
 
-----Original Message-----
From: hobbit-return-6859-david=user-9e293dd11111@xymon.invalid [mailto:hobbit-return-6859-david=stenhouseconsulting.com at hswn.
dk] On Behalf Of Etienne Grignon
Sent: Tuesday, May 16, 2006 3:57 AM
quoted from Etienne Grignon
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Unable to Re Enable Disabled Test (Hobbit 4.1.2p1)

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

list Etienne Grignon · Wed, 17 May 2006 23:26:05 +0200 ·
Hi David,

2006/5/17, David Gilmore <user-70507ff7198d@xymon.invalid>:
quoted from David Gilmore
Eteinen,

You were absolutely correct.  Thank you.  When I looked at the prepackaged
config file that came with BBWIN, it looked to me like it should have
defaulted to the EXT directory when attempting to load scripts, hence I did
not include the full path.
Happy that it worked.
quoted from David Gilmore
Looking forward to install BBWIN 0.7 today.  Any tricks or traps to know
about before hand?
Well, for me, there are no tricks or traps in BBWin 0.7 :) but I will
wait for users feedback to know if I were right.

You are welcome to participate to the public poll I created on
sourceforge here about future BBWin features
(http://sourceforge.net/forum/forum.php?thread_id=1497822&forum_id=460873).

Regards,

-- 
Etienne GRIGNON