"message": "Host Performance/CPU Total Time: CPU Total Time (Host-Agent@shayeeb-vostro-3800) lower bound exceeded; Host Performance/Memory Used: Memory Used (Host-Agent@shayeeb-vostro-3800) upper bound exceeded",
"description": "CPU Total Time (Host-Agent@shayeeb-vostro-3800): Measured peak value: 4.63 [%], Upper Severe Bound: 90.00, Upper Warning Bound: 80.00, Lower Warning Bound: 10.00, Lower Severe Bound: 5.00; Memory Used (Host-Agent@shayeeb-vostro-3800): Measured peak value: 4552757248.00 [B], Upper Severe Bound: 6000000000.00, Upper Warning Bound: 4000000000.00",
in the above json string i want the host ip address of the affected system
Solved! Go to Solution.
I checked the settings for the incident chart and for a custom CPU total time chart and I couldn't find an option to add the IP address instead of the host name to the chart. If you need to find the IP address of the host in the AppMon client, you can do that by going to the Infrastructure Overview and selecting the host you need, at the top (header) it should have the IP address available to you.
I don't think it is possible through the REST API. I have attached a screenshot of the closest you can get which is to get the hosts used in an availability monitor. This still only returns the host name.
One option that you have is to use the Generic Execution Plugin as a monitor or a task to connect to the host of your choice and then run an IP/IF config to return the ip address. The GEP is very powerful as it allows you to run any configurable command or web service on the machine.
thank u for the info.
I think i found the solution...
with the above rest call it gives me a xml response through which i am able to map the host name to the ip address