article Error running Custom Script or Agent-Side Script

Symptom: script is unable to successfully pass the value for a variable name.

Resolution: use %UPTIME_VARIABLENAME% (i.e. add UPTIME_ in front of the variable name in your XML script).

Related Articles


Agent running wrong custom script

RatingViews
article

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

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

  2740

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

  2359

When do script alerts or script actions run?

RatingViews
article

Custom scripts executed as part of an action or alert profile under the 'script' section will be executed once the monitor has failed all rechecks. The scripts will execute any time an alert...

By: uptime Support | Date Created: 9-11-2010 | Last Modified: 8-10-2011 | Index: 507

  1889

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

  2750

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement