article Agent running wrong custom script

This symptom commonly occurs when the first field of the uptmagent file is not unique.

The first field (the secretpassword) is used as a line identifier to decide which script should be launched.

If you are experiencing this issue, check your .uptmpasswd file to ensure that a *unique* password is used for each script. For example:

pass1 /opt/uptime-agent/my-scripts/script1.sh
pass2 /opt/uptime-agent/my-scripts/script2.pl

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

  2144

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

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

  11638

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

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