monittr
monittr copied to clipboard
how about add child processes information
one sample service info as follows, how about add the //children //mermory/percenttotal //cpu/percenttotal info?
thanks
<service type="3">
<collected_sec>1292484038</collected_sec>
<collected_usec>76458</collected_usec>
<name>php-fpm</name>
<status>0</status>
<status_hint>0</status_hint>
<monitor>1</monitor>
<monitormode>0</monitormode>
<pendingaction>0</pendingaction>
<group></group>
<pid>14509</pid>
<ppid>1</ppid>
<uptime>769741</uptime>
<children>35</children>
<memory>
<percent>0.0</percent>
<percenttotal>10.4</percenttotal>
<kilobyte>1984</kilobyte>
<kilobytetotal>423472</kilobytetotal>
</memory>
<cpu>
<percent>0.0</percent>
<percenttotal>3.5</percenttotal>
</cpu>
<port>
<hostname>127.0.0.1</hostname>
<portnumber>9000</portnumber>
<request></request>
<protocol>DEFAULT</protocol>
<type>TCP</type>
<responsetime>0.000</responsetime>
</port>
</service>