Thanks, Carl. Unfortunately, I get the same results with your config file (with my own bbdisplay replacing yours).
I have my Windows7 desktop system sending its syslogs to a Linux syslog server, and I noticed the following when I started the service:
Mar 2 07:22:43 BIGSHOT bigbrotherhobbitclient[warning] 17 externals No externals have been specified
Since your BBWin.cfg specifies externals, this suggests that BBWin is not actually reading my BBWin.cfg at all. How does it find out where the config file is?
The .msi file installed information such as the location of the config file in my registry in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BBWin. The documentation that came with BBWin says it should have installed it in HKEY_LOCAL_MACHINE\SOFTWARE\BBWin. Does the .msi file put this in the wrong place (on Win7 64-bit machines)? Do I need to move or recreate the registry entries in the right place?
dbr
On 3/2/2011 3:29 AM, Carl Inglis wrote:
I'm having trouble getting BBWin to run on my Windows 7-SP1 64-bit machine.
[snip]
Things I've discovered (through trial, oops and doh!):
1 - make sure the service is started (the installer doesn't start it automatically). 2 - make sure the hostname in the registry is correct. 3 - check your ghost clients.
Bbwin logs that it starts up, and logs "The agent externals generated this event message : No externals have been specified", and sends nothing to the Xymon server. Here's one of my bbwin.cfg files - this one doesn't get the error that you mention (it did, until I moved the external tests outside the <bbwin>):
<?xml version="1.0" encoding="utf-8" ?> <configuration> <bbwin> <setting name="bbdisplay" value="10.239.96.100" />
<!-- bbwin mode local or central --> <setting name="mode" value="central" /> <setting name="configclass" value="win32" />
<setting name="autoreload" value="true" /> <setting name="timer" value="5m" />
<load name="cpu" value="cpu.dll"/> <load name="disk" value="disk.dll"/> <load name="externals" value="externals.dll"/> <load name="filesystem" value="filesystem.dll"/> <load name="memory" value="memory.dll"/> <load name="msgs" value="msgs.dll"/> <load name="procs" value="procs.dll"/> <load name="stats" value="stats.dll"/> <load name="svcs" value="svcs.dll"/> <load name="uptime" value="uptime.dll"/> <load name="who" value="who.dll"/>
<setting name="loglevel" value="3" /> <setting name="logpath" value="C:\BBWin.log"/>
<!-- If true, the agent will report reporting failures as warning events --> <setting name="logreportfailure" value="true" /> </bbwin>
<externals> <setting name="timer" value="3m" /> <setting name="logstimer" value="60s" /> <load name="winUpdates" value="cscript //nologo //B winUpdates.vbs" /> <load name="winupd" value="cscript //nologo //B winupd.vbs" timer="120s" /> </externals>
</configuration>
Hope this helps.
Regards,
Carl