The up.time Windows agent uses the English US locale as its default setting. If a VBS script is handling dates and expecting them in a different format, add the following line at the beginning of the script with the appropriate country code:
SetLocale(xxxx) For example: SetLocale(2057) for English UK For a list of Locale IDs, please see the Reference List on the Microsoft MSDN site. |
Agent running wrong custom script | Rating | Views | |
---|---|---|---|
This commonly happens when the first field of the uptmagent file isn't unique. The first field - the secretpassword - is used as a line identifier to decide which script should be launched.... By: uptime Support | Date Created: 8-28-2010 | Last Modified: 8-13-2011 | Index: 499 |
2146 |
Error running Custom Script or Agent-Side Script | Rating | Views | |
---|---|---|---|
Symptom: script is unable to successfully pass the value for a variable name. Resolution: try using %UPTIME_VARIABLENAME% (add UPTIME_ in front of the variable name in your XML script). By: uptime Support | Date Created: 7-12-2011 | Last Modified: 8-11-2011 | Index: 543 |
2145 |
Creating Custom Alert Scripts in up.time Alert Profiles | Rating | Views | |
---|---|---|---|
By: uptime Support | Date Created: 5-17-2006 | Last Modified: 8-9-2011 | Index: 065 |
11641 |
Custom script returns ERR | Rating | Views | |
---|---|---|---|
Proper agentcmd.exe usage format: agentcmd.exe -s -p "rexec ... By: uptime Support | Date Created: 10-10-2009 | Last Modified: 8-10-2011 | Index: 426 |
2359 |
How to get custom script retained data values | Rating | Views | |
---|---|---|---|
Integer Data SELECT e.name,p.name,d.value,d.sampletime FROM erdc_int_data d, erdc_instance e, erdc_parameter p where e.erdc_instance_id = d.erdc_instance_id and p.erdc_parameter_id =... By: uptime Support | Date Created: 10-10-2009 | Last Modified: 8-10-2011 | Index: 425 |
2750 |