3

I need a way to find out what every monit xml status code means. I have some xml output which is in this format:

https://gist.github.com/plasticbrain/54ceaf101168d20f9a90

Or in case the link doesn't work, this:

<services>
        <service name="system">
            <type>5</type>
            <collected_sec>1414691061</collected_sec>
            <collected_usec>254769</collected_usec>
            <status>0</status>
            <status_hint>0</status_hint>
            <monitor>1</monitor>
            <monitormode>0</monitormode>
            <pendingaction>0</pendingaction>
</service>

Within this code block we can see:

<status> 0 </status> 

I've googled a lot to find a complete list of all possible codes and their meanings but I've been unable to find anything so far. The monit documentation does not appear to mention it at all either.

Michael Kay
  • 156,231
  • 11
  • 92
  • 164
SOair
  • 173
  • 1
  • 3
  • 14

0 Answers0