JBoss ON CLI Metrics output format

Solution Verified - Updated -

Issue

  • Getting the following output using CLI:
agentName:jonserver:agentID:10001:metricName:CpuPerc.idle:metricID:10026:
"highValue","lowValue","timestamp","value"

"NaN","NaN","1424799765179","NaN"
"NaN","NaN","1424803365179","NaN"
"NaN","NaN","1424806965179","NaN"
  • But want the following, Is there a way to code it that way?
"ONE-PERF-server","CpuPerc.idle","NaN","NaN","1424799765179","NaN"
"ONE-PERF-server","CpuPerc.idle","NaN","NaN","1424803365179","NaN"
"ONE-PERF-server","CpuPerc.idle","NaN","NaN","1424806965179","NaN"

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • ON Command Line Interface (CLI) 3.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content