article How to get custom script retained data values

Use the following SQL queries to return values for the specified data types.

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 = d.erdc_parameter_id
and e.name like "INSTANCE_NAME";

Decimal Data

SELECT e.name,p.name,d.value,d.sampletime FROM erdc_decimal_data d, erdc_instance e, erdc_parameter p
where e.erdc_instance_id = d.erdc_instance_id
and p.erdc_parameter_id = d.erdc_parameter_id
and e.name like "INSTANCE_NAME";

String Data

SELECT e.name,p.name,d.value,d.sampletime FROM erdc_string_data d, erdc_instance e, erdc_parameter p
where e.erdc_instance_id = d.erdc_instance_id
and p.erdc_parameter_id = d.erdc_parameter_id
and e.name like "INSTANCE_NAME";

Related Articles


Creating Custom Service Monitors with Retained Data Collection

RatingViews
article

By: uptime Support | Date Created: 5-15-2006 | Last Modified: 12-16-2011 | Index: 067

  11418

Understanding and Using Retained Data

RatingViews
article

This article explains how to use data that is optionally retained by up.time service monitors.

By: uptime Support | Date Created: 7-19-2007 | Last Modified: 6-28-2011 | Index: 196

  2799

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

  2036

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

  11446

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

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement