Hi Johan
Thanks for the feedback. The processor check function in the scripts test for a 32bit/64bit processor. On most systems this works perfectly. However I have a client that runs 32 Bit Windows on a 64 Bit system. Why someone would do this is beyond me. I am looking into BBWin source code at the moment and I if I can find the time I am in the mood to enhance it and maybe fork it off as I can see a lot of improvements to be made. It would be great if BBWin had some sort of editor capabilities as well where you can define tests for windows specifics. One thing I am seriously looking at is a graph definition generator i.e. a small utility that takes a test result set and then creates a rrd graph definition for the test. I have a lot of ideas just not enough time.
Anyway like I said I would love to contribute to the xymon project as much as I can so let me know if there is anything I can help with.
Regards
Neil
-----Original Message-----
From: Johan Sjöberg [mailto:user-74c177c1220d@xymon.invalid]
Sent: 23 June 2010 03:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] RE: Third Script Booked in
Hi.
Great work with the scripts. I will try them out as soon as I get the time. I have a suggestion for a (ugly) fix for the 32/64-bit tmp-path problem. I used this when I created a powershell extension script, but maybe it can be used in VBS as well? I know very little of VBS, so I don't know how to convert it. Anyway, here is the PS code:
if (test-path "HKLM:\SOFTWARE\BBWin")
{$pathTmp = (Get-ItemProperty -path "HKLM:\SOFTWARE\BBWin").tmpPath}
elseif (test-path "HKLM:\SOFTWARE\Wow6432Node\BBWin")
{$pathTmp = (Get-ItemProperty -path "HKLM:\SOFTWARE\Wow6432Node\BBWin").tmpPath}
else {$pathTmp = "C:\Program Files (x86)\BBWin\tmp"}
/Johan
-----Original Message-----
From: Neil Franken [mailto:user-1689acfc5a3b@xymon.invalid]
Sent: den 22 juni 2010 10:38
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Third Script Booked in
Hi Guys
Overall ASP.NET Performance counter script booked into Xymonton. Hope it
helps.
Regards
Neil