Custom scripts executed as part of an action or alert profile under the script section will be executed when the monitor has failed all rechecks.
The scripts will execute any time an alert would normally be sent. This typically occurs when the monitor enters a hard failure state (WARN, UNKN or CRIT), any time the alert interval is exceeded or when the monitor recovers to the OK state. Note that your custom scripts should be able to appropriately handle both outage and recovery scenarios. |
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 |
![]() ![]() ![]() ![]() ![]() |
2201 |
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 |
![]() ![]() ![]() ![]() ![]() |
11774 |
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 |
![]() ![]() ![]() ![]() ![]() |
2413 |
Custom VBS script error due to wrong locale | Rating | Views | |
---|---|---|---|
![]() |
The up.time agent for Windows by default runs with the "English US locale. If a VBS script is handling dates and is expecting them in different format, just put the following line at the beginning... By: uptime Support | Date Created: 10-2-2009 | Last Modified: 8-13-2011 | Index: 380 |
![]() ![]() ![]() ![]() ![]() |
2812 |
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 |
![]() ![]() ![]() ![]() ![]() |
2814 |