I know this will probably be super simple, and I have no idea why I can not figure this out. I am trying to add a Linux Script monitor in Solarwinds that checks to see if the TrendMicro agent can connect to the management console. This is the command below
sudo /opt/ds_agent/dsa_query -c "GetAgentStatus" "AgentStatus.dsmUrl"
It should return 1 of 2 responses
If the Agent can connect (Up Status)
The URL of the agent will show up.
If the Agent can NOT connect (Down Status)
The response will have "couldn't connect"
How would I write this up inside of SolarWinds?