Monit XML API status codes

Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Monit XML API status codes

deranjer
Is there any available list of internal monit status codes that the API exposes?  For example, when pulling the XML api data from one of my servers, I get the following:

<name>RubyMonit</name>
<collected_sec>1456655601</collected_sec>
<collected_usec>71731</collected_usec>
<status>4608</status>
<status_hint>0</status_hint>
<monitor>1</monitor>
<monitormode>0</monitormode>
<pendingaction>0</pendingaction>

In the web UI, the "status" shows "Execution Failed".  Is there a full list of what these codes translate to?