article When do script alerts or script actions run?

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.

Related Articles


Error running Custom Script or Agent-Side Script

RatingViews
article

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

  2038

Creating Custom Alert Scripts in up.time Alert Profiles

RatingViews
article

By: uptime Support | Date Created: 5-17-2006 | Last Modified: 8-9-2011 | Index: 065

  11447

Custom script returns ERR

RatingViews
article

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

  2274

Custom VBS script error due to wrong locale

RatingViews
article

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

  2633

How to get custom script retained data values

RatingViews
article

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

  2644

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement