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

Handles scalar values from the agent by putting them into an array.

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.handleScalar('scalar', 'server_name', '1098888bbb9483abcd89981ffaeff');