I'm parsing the XML output of the monit daemno (e.g.
curl http://user:password@localhost:2812/_status?format=xml) for failed services. I would like to get some meaningful output for the status_hint (as in
In the moment the status_hint attribute contains the same as the status attribute:
<service type="3"> <name>sshd</name> <collected_sec>1470657396</collected_sec> <collected_usec>210317</collected_usec> <status>0</status> <status_hint>0</status_hint>