AgentMetrics - handleCounter(String metric, String name, String midId)

Handles counter metrics from the agent by putting them into an array that can be used to update the ECC Agent Counter Metric table (ecc_agent_counter_metric).

Table 1. Parameters
Name Type Description
metric String The counter object from the agent
name String The device name
midId String The MID server sys_id
Table 2. Returns
Type Description

var amtc = new AgentMetrics();
amtc.handleCounter('count', 'server_name', '1098888bbb9483abcd89981ffaeff');