Xymon Mailing List Archive search

BBWin 0.5 problem ?

7 messages in this thread

list Christophe Truffier · Thu, 06 Apr 2006 09:57:12 +0200 ·
Hello,

I'm using latest version of BBWin on a Windows 2000 Advanced Server, 
this version replace bbnt since about four days but nothing is reported 
to my hobbit server for cpu, memory...
Here are the config file for this server and the entry in bb-hosts file:
BBWin config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <bbwin>
       <setting name="hostname" value="seth" />
       <setting name="timer" value="5m" />
       <setting name="bbdisplay" value="192.168.0.104: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="9" />
       <setting name="logpath" value="C:\BBWin.log" />
    </bbwin>
    <cpu>
       <setting name="default" warnlevel="80" paniclevel="95" delay="3" />
    </cpu>
    <disk>
       <setting name="default" warnlevel="90%" paniclevel="95%" />
    </disk>
    <externals>
       <setting name="logstimer" value="60" />
    </externals>
    <memory>
       <setting name="physical" warnlevel="95" paniclevel="98" />
       <setting name="page" warnlevel="70" paniclevel="90" />
       <setting name="virtual" warnlevel="80" paniclevel="90" />
    </memory>
    <procs>
    </procs>
    <uptime>
       <setting name="delay" value="1h" />
       <setting name="alarmcolor" value="yellow" />
    </uptime>
</configuration>

BB-HOSTS entry:

192.168.0.5   seth         # BBDISPLAY BBPAGER BBNET http://seth/

Thanks

-- 
Christophe Truffier
Pack-Solutions
list Hermann-Josef Beckers · Thu, 6 Apr 2006 10:33:02 +0200 ·

Christophe Truffier <user-d9739e04a5b3@xymon.invalid> schrieb am 06.04.2006
09:57:12:
quoted from Christophe Truffier

...
    <bbwin>
       <setting name="hostname" value="seth" />
       <setting name="timer" value="5m" />
       <setting name="bbdisplay" value="192.168.0.104:1984" />
...
BB-HOSTS entry:

192.168.0.5   seth         # BBDISPLAY BBPAGER BBNET http://seth/
Don't know if thats the problem, but you define your client as BBDISPLAY ?
At least it differs from the bbwin.cfg entry.

Yours
hjb


Diese E-Mail wurde geprüft von Symantec Antivirus
list Henrik Størner · Thu, 6 Apr 2006 10:39:45 +0200 ·
quoted from Hermann-Josef Beckers
On Thu, Apr 06, 2006 at 10:33:02AM +0200, Hermann-Josef Beckers wrote:
Christophe Truffier <user-d9739e04a5b3@xymon.invalid> schrieb am 06.04.2006
09:57:12:

...
    <bbwin>
       <setting name="hostname" value="seth" />
       <setting name="timer" value="5m" />
       <setting name="bbdisplay" value="192.168.0.104:1984" />
...
BB-HOSTS entry:

192.168.0.5   seth         # BBDISPLAY BBPAGER BBNET http://seth/
Don't know if thats the problem, but you define your client as BBDISPLAY ?
At least it differs from the bbwin.cfg entry.
I dont think that's the problem, since these settings are silently
ignored by Hobbit.

A more likely cause is some confusion in the naming. Windows systems
sometimes report using the full name (including some domain), sometimes
they just use the plain hostname.

If you change hobbitserver.cfg to have BBHGHOSTS=2, the "hobbitd" column
will show you what unknown hosts (meaning: not in the bb-hosts file) are 
reporting into Hobbit.


Henrik
list Christophe Truffier · Thu, 06 Apr 2006 11:06:31 +0200 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Thu, Apr 06, 2006 at 10:33:02AM +0200, Hermann-Josef Beckers wrote:
Christophe Truffier <user-d9739e04a5b3@xymon.invalid> schrieb am 06.04.2006
09:57:12:

...
    <bbwin>
       <setting name="hostname" value="seth" />
       <setting name="timer" value="5m" />
       <setting name="bbdisplay" value="192.168.0.104:1984" />
...
BB-HOSTS entry:

192.168.0.5   seth         # BBDISPLAY BBPAGER BBNET http://seth/
Don't know if thats the problem, but you define your client as BBDISPLAY ?
At least it differs from the bbwin.cfg entry.
I dont think that's the problem, since these settings are silently
ignored by Hobbit.

A more likely cause is some confusion in the naming. Windows systems
sometimes report using the full name (including some domain), sometimes
they just use the plain hostname.

If you change hobbitserver.cfg to have BBHGHOSTS=2, the "hobbitd" column
will show you what unknown hosts (meaning: not in the bb-hosts file) are 
reporting into Hobbit.
I've just changed BBGHOSTS, hope that it will help...

thanks

-- 
Christophe Truffier
Pack-Solutions
list Etienne Grignon · Thu, 6 Apr 2006 11:43:31 +0200 ·
Hello Christophe,

2006/4/6, Christophe Truffier <user-d9739e04a5b3@xymon.invalid>:
quoted from Christophe Truffier
Hello,

I'm using latest version of BBWin on a Windows 2000 Advanced Server,
this version replace bbnt since about four days but nothing is reported
to my hobbit server for cpu, memory...
Here are the config file for this server and the entry in bb-hosts file:
BBWin config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <bbwin>
       <setting name="hostname" value="seth" />
       <setting name="timer" value="5m" />
       <setting name="bbdisplay" value="192.168.0.104: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="9" />
       <setting name="logpath" value="C:\BBWin.log" />
    </bbwin>
    <cpu>
       <setting name="default" warnlevel="80" paniclevel="95" delay="3" />
    </cpu>
    <disk>
       <setting name="default" warnlevel="90%" paniclevel="95%" />
    </disk>
    <externals>
       <setting name="logstimer" value="60" />
    </externals>
    <memory>
       <setting name="physical" warnlevel="95" paniclevel="98" />
       <setting name="page" warnlevel="70" paniclevel="90" />
       <setting name="virtual" warnlevel="80" paniclevel="90" />
    </memory>
    <procs>
    </procs>
    <uptime>
       <setting name="delay" value="1h" />
       <setting name="alarmcolor" value="yellow" />
    </uptime>
</configuration>

BB-HOSTS entry:

192.168.0.5   seth         # BBDISPLAY BBPAGER BBNET http://seth/
Your bbwin.cfg file seams correct. I didn't understand if all of the agents
were not reporting or if it was only cpu and memory.

What you first should do is to test the connection to your hobbit server
with bbwincmd.

go to bbwin bin and try that :

bbwincmd 192.168.0.104:1984 status seth green cpu "test"

You should get an error if connection failed.

Then check your hobbit page to see if cpu is changing to green.

If it comes green, then, it means that bbwin is having a problem. Check the
application event log to find out if bbwin strange events are present ?
Also, you can send me by email the bbwin.log to see if something is strange
to me.

To finish, some users already reported me some troubles with BBWin (to stop
the service sometimes for example) so I'm trying to improve the BBWin core
for the moment.

--
Etienne GRIGNON
list Etienne Grignon · Thu, 6 Apr 2006 11:45:29 +0200 ·
For bbwincmd, I made a mistake in the command line, type that :

bbwincmd 192.168.0.104:1984 status seth cpu green "test"


--
Etienne GRIGNON
list Christophe Truffier · Thu, 06 Apr 2006 11:52:24 +0200 ·
quoted from Etienne Grignon
Etienne Grignon wrote:
For bbwincmd, I made a mistake in the command line, type that :

bbwincmd 192.168.0.104:1984 <http://192.168.0.104:1984/>; status seth cpu 
green "test"
Thanks for help, I found where is the error...

The IP for the hobbit server wasn't the good one ! shame on me !! :/

Everything is good now, thanks to all

-- 
Christophe Truffier
Pack-Solutions