Search found 7 matches

by rj
Fri Oct 22, 2010 3:08 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: value of vbscript variables when run by hostmonitor
Replies: 11
Views: 34610

Thanks a lot for your inputs Paul and Alex. The solution to have Hostmonitor call the 64 bit version of cscript is just fine with me. I've copied and renamed cscript from %windir%\system32\cscript.exe to %windir%\SysWOW64\cscript64.exe leaving the origional 32bit version in place. Using the followin...
by rj
Wed Oct 20, 2010 3:02 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: value of vbscript variables when run by hostmonitor
Replies: 11
Views: 34610

Ok. I've been able to replicate the faulty behavior on the commandline using the 32bit version of cscript.exe Using the following script: Option Explicit const statusUnknown = "scriptRes:Unknown:" const statusOk = "scriptRes:Ok:" const statusBad = "scriptRes:Bad:" Const...
by rj
Tue Oct 19, 2010 5:23 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: value of vbscript variables when run by hostmonitor
Replies: 11
Views: 34610

Hi Alex! Thanks for the script improvements and debugging tips. According to the taskmanager: the hostmon.exe*32 process was already running as Administrator. To be sure I've disabled UAC restarted the server and started HostMonitor using "Run as adminitrator". The machine runs without any...
by rj
Mon Oct 18, 2010 5:32 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: value of vbscript variables when run by hostmonitor
Replies: 11
Views: 34610

Strangely the abovementionned script doesn't resolve the following two values when executed by Hostmonitor: GetDWORDValue HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update.AUOptions GetStringValue HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.AutoAdminLogon yet ...
by rj
Fri Oct 15, 2010 3:39 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: value of vbscript variables when run by hostmonitor
Replies: 11
Views: 34610

Thanks a lot for diving in to this subject and responding quickly. Indeed, I've been using the Shell Script test method. I also tested the script with the script manager and the "Lets try" option. To OS is: Microsof Windows Server 2008 R2 Enterprise Version 6.1.7600 and Hostmonitor is bein...
by rj
Fri Oct 15, 2010 8:50 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: value of vbscript variables when run by hostmonitor
Replies: 11
Views: 34610

value of vbscript variables when run by hostmonitor

In order to test some registry key on a windows 2008x64 machine I've tried to use a vbscript calling a WMI stdRegProv method GetDWORD. The script works fine when run from the commandline but from within Hostmonitor it doesn't. Aparently the value of the variable "mydwValue" then seems to g...
by rj
Thu Jan 28, 2010 5:43 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: SNMP Get Alert option & Reply variable
Replies: 1
Views: 7385

SNMP Get Alert option & Reply variable

Hello When using the "alert when OID decreases by" option on a SNMP Get sysUpTime test, Hostmonitor nicely alerts just once on a system's restart. But the reply value then holds a relative instead of an absolute value and I would like to tune up the reply value for it to show the time sinc...