Hello folks , I would like to monitor the port 8080 which it is the one been configured for the EPA agent in Solaris.
The goal it is , if the port it is no listening send us an alert. Once in a while we lost the EPA gent and I would like to have a better monitoring in place .
I found a Metric under
*SuperDomain*|server_name|EPAgentProcess|EPAgent|EPAgent|Config:HTTP Server Port
But it is not collecting any value.
I am wondering If am I missing a plugging ?
Why not just use 'netstat -an|grep 8080' parse for the status?
Right , does apm can do that itself ?
Or you mean to add this in the script ?
consider using this: https://github.com/htdavis/ca-apm-fieldpack-epa-netcheck
You could write a short script, like the examples we provide on CA APM Dev community (http://bit.ly/caapm-dev) to send some JSON data and parse the HTTP response code.
Anything under the 'Config' branch is strictly that: agent configuration information; not whether the agent is currently responding to requests on the port.