I'm adding a latency function to the appearance of a server.
Ping time= [array_element(ping(device_property("FirstAddress")),0]
The problem is that this is done from the local dude server and not from the agent.
So I see two options here.
1. Use the ping probe value and display it on the appearance ( I have no idea how to do it).
2. Maybe there is a way in the appearance function to choose which agent to make the action.