status_hint ins XML output is not meaningful

Issue #437 closed
Former user created an issue

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 monit summary)

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>

Comments (3)

  1. Log in to comment