cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Machine agent status on Dashboard

Sean.Davey
Builder

Does anyone have any ideas/hints for puting the machine agent status on a dashboard?  I cant find it as a selectable metric.

 

Thanks

5 REPLIES 5

Juan.Rivera
AppDynamics Team

Have you tried this one?

https://docs.appdynamics.com/display/PRO45/Hardware+Resources+Metrics#HardwareResourcesMetrics-Machi...

 

JC



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Hi

 

There shuld be a metric in the Metric Browser of the related application that you can use on Custom Dashbaords as well. You don't need SIM enabled for this one. 


Image 003.png

I tried that but I am unable to get the right percentage to show...I am looking to get the number that displays on the tiers and nodes pages onto a dashboard

 

Machine uptime %Machine uptime %

You could chose the guage widget, then choose Tier/Node Health - Hardware, JVM, CLR category.  Then choose the tier that contains the machine agents that you want to count.  Then for the metric choose Agent|Machine|Availability and hit Save.  Then for the Value Range, set the max number of machine agents that you have.  

 

If you just want the metric to show up without the guage, you'll have to use a Metric Expression. It's pretty simple:  Create a new Metric Widget, and under Metric to display, choose the tier like above.  Then instead of a Single Metric, choose Metric Expression, then Edit Expression.  

 

Click Add Variable.  For the metric pick agent|machine|availability, then give it a name of activeAgents.  Now under the expression you can calculate the percentage.  For example, if there are a total of 7 machine agents that can be active in the tier, you would put:

({activeAgents} / 7) * 100

 

Now you have a percentage of active machine agents.  Hit Save, then under Format String put ${v} % and it will display the value with a percentage at the end of it.

Thanks, but I am looking to get the uptime percent of the node onto a dashboard....so if a node had downtime, I would want to see that it was up for 95% of the time.   I can see if listed in the tiers/nodes portion but cant figure out how to get it onto the dashboard