diff options
Diffstat (limited to '')
-rw-r--r-- | src/go/plugin/go.d/modules/monit/testdata/v5.33.0/status.xml | 688 |
1 files changed, 688 insertions, 0 deletions
diff --git a/src/go/plugin/go.d/modules/monit/testdata/v5.33.0/status.xml b/src/go/plugin/go.d/modules/monit/testdata/v5.33.0/status.xml new file mode 100644 index 000000000..ca4178c6c --- /dev/null +++ b/src/go/plugin/go.d/modules/monit/testdata/v5.33.0/status.xml @@ -0,0 +1,688 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<monit> + <server> + <id>309dc5d56ccd5964cef9b42d1d8305e7</id> + <incarnation>1723810534</incarnation> + <version>5.33.0</version> + <uptime>33</uptime> + <poll>120</poll> + <startdelay>0</startdelay> + <localhostname>pve-deb-work</localhostname> + <controlfile>/etc/monit/monitrc</controlfile> + <httpd> + <address>127.0.0.1</address> + <port>2812</port> + <ssl>0</ssl> + </httpd> + </server> + <platform> + <name>Linux</name> + <release>6.1.0-23-amd64</release> + <version>#1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15)</version> + <machine>x86_64</machine> + <cpu>16</cpu> + <memory>32864100</memory> + <swap>262140</swap> + </platform> + <service type="3"> + <name>processOk</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>86510</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <pid>843</pid> + <ppid>1</ppid> + <uid>0</uid> + <euid>0</euid> + <gid>0</gid> + <uptime>66112</uptime> + <threads>1</threads> + <children>2</children> + <memory> + <percent>0.0</percent> + <percenttotal>0.1</percenttotal> + <kilobyte>5036</kilobyte> + <kilobytetotal>34156</kilobytetotal> + </memory> + <cpu> + <percent>-1.0</percent> + <percenttotal>-1.0</percenttotal> + </cpu> + <filedescriptors> + <open>9</open> + <opentotal>34</opentotal> + <limit> + <soft>8192</soft> + <hard>8192</hard> + </limit> + </filedescriptors> + <read> + <bytesgeneric> + <count>0</count> + <total>1733465</total> + </bytesgeneric> + <bytes> + <count>0</count> + <total>135168</total> + </bytes> + <operations> + <count>0</count> + <total>23145</total> + </operations> + </read> + <write> + <bytesgeneric> + <count>0</count> + <total>8842272</total> + </bytesgeneric> + <bytes> + <count>0</count> + <total>9150464</total> + </bytes> + <operations> + <count>0</count> + <total>22890</total> + </operations> + </write> + </service> + <service type="3"> + <name>processDisabled</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>68402</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>0</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="3"> + <name>processAlert</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>86548</collected_usec> + <status>2</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <pid>843</pid> + <ppid>1</ppid> + <uid>0</uid> + <euid>0</euid> + <gid>0</gid> + <uptime>66112</uptime> + <threads>1</threads> + <children>2</children> + <memory> + <percent>0.0</percent> + <percenttotal>0.1</percenttotal> + <kilobyte>5036</kilobyte> + <kilobytetotal>34156</kilobytetotal> + </memory> + <cpu> + <percent>-1.0</percent> + <percenttotal>-1.0</percenttotal> + </cpu> + <filedescriptors> + <open>9</open> + <opentotal>34</opentotal> + <limit> + <soft>8192</soft> + <hard>8192</hard> + </limit> + </filedescriptors> + <read> + <bytesgeneric> + <count>0</count> + <total>1733465</total> + </bytesgeneric> + <bytes> + <count>0</count> + <total>135168</total> + </bytes> + <operations> + <count>0</count> + <total>23145</total> + </operations> + </read> + <write> + <bytesgeneric> + <count>0</count> + <total>8842272</total> + </bytesgeneric> + <bytes> + <count>0</count> + <total>9150464</total> + </bytes> + <operations> + <count>0</count> + <total>22890</total> + </operations> + </write> + </service> + <service type="3"> + <name>processNotExists</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>86595</collected_usec> + <status>4608</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="0"> + <name>filsystemOk</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>86891</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <fstype>ext2</fstype> + <fsflags>rw,relatime</fsflags> + <mode>660</mode> + <uid>0</uid> + <gid>6</gid> + <block> + <percent>19.6</percent> + <usage>92.0</usage> + <total>469.4</total> + </block> + <inode> + <percent>0.3</percent> + <usage>356</usage> + <total>124928</total> + </inode> + <read> + <bytes> + <count>0</count> + <total>5706752</total> + </bytes> + <operations> + <count>0</count> + <total>210</total> + </operations> + </read> + <write> + <bytes> + <count>0</count> + <total>1024</total> + </bytes> + <operations> + <count>0</count> + <total>1</total> + </operations> + </write> + <servicetime> + <read>0.000</read> + <write>0.000</write> + </servicetime> + </service> + <service type="0"> + <name>filesystemDisabled</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>68613</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>0</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="0"> + <name>filesystemAlert</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87124</collected_usec> + <status>384</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <fstype>ext2</fstype> + <fsflags>rw,relatime</fsflags> + <mode>660</mode> + <uid>0</uid> + <gid>6</gid> + <block> + <percent>19.6</percent> + <usage>92.0</usage> + <total>469.4</total> + </block> + <inode> + <percent>0.3</percent> + <usage>356</usage> + <total>124928</total> + </inode> + <read> + <bytes> + <count>0</count> + <total>5706752</total> + </bytes> + <operations> + <count>0</count> + <total>210</total> + </operations> + </read> + <write> + <bytes> + <count>0</count> + <total>1024</total> + </bytes> + <operations> + <count>0</count> + <total>1</total> + </operations> + </write> + <servicetime> + <read>0.000</read> + <write>0.000</write> + </servicetime> + </service> + <service type="0"> + <name>filesystemNotExists</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87334</collected_usec> + <status>512</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="2"> + <name>fileOk</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87339</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <mode>755</mode> + <uid>0</uid> + <gid>0</gid> + <timestamps> + <access>1723744256</access> + <change>1723744256</change> + <modify>1723744256</modify> + </timestamps> + <size>84820392</size> + </service> + <service type="2"> + <name>fileDisabled</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>68835</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>0</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="2"> + <name>fileAlert</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87356</collected_usec> + <status>384</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <mode>755</mode> + <uid>0</uid> + <gid>0</gid> + <timestamps> + <access>1723744256</access> + <change>1723744256</change> + <modify>1723744256</modify> + </timestamps> + <size>84820392</size> + </service> + <service type="2"> + <name>fileNotExists</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87371</collected_usec> + <status>512</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="1"> + <name>directoryOk</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87375</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <mode>775</mode> + <uid>0</uid> + <gid>0</gid> + <timestamps> + <access>1723740545</access> + <change>1720694060</change> + <modify>1720694060</modify> + </timestamps> + </service> + <service type="1"> + <name>directoryDisabled</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>68957</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>0</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="1"> + <name>directoryAlert</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87385</collected_usec> + <status>64</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <mode>775</mode> + <uid>0</uid> + <gid>0</gid> + <timestamps> + <access>1723740545</access> + <change>1720694060</change> + <modify>1720694060</modify> + </timestamps> + </service> + <service type="1"> + <name>directoryNotExists</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>87400</collected_usec> + <status>512</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="4"> + <name>hostOk</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>89652</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <icmp> + <type>Ping</type> + <responsetime>0.000144</responsetime> + </icmp> + <port> + <hostname>10.20.4.200</hostname> + <portnumber>19999</portnumber> + <request><![CDATA[/api/v1/info]]></request> + <protocol>HTTP</protocol> + <type>TCP</type> + <responsetime>0.002077</responsetime> + </port> + </service> + <service type="4"> + <name>hostDisabled</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>69066</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>0</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="4"> + <name>hostAlert</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>89857</collected_usec> + <status>32</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <icmp> + <type>Ping</type> + <responsetime>0.000069</responsetime> + </icmp> + <port> + <hostname>10.20.4.200</hostname> + <portnumber>19991</portnumber> + <request><![CDATA[/api/v1/info]]></request> + <protocol>HTTP</protocol> + <type>TCP</type> + <responsetime>-1.000000</responsetime> + </port> + </service> + <service type="4"> + <name>hostNotExists</name> + <collected_sec>1723810549</collected_sec> + <collected_usec>94459</collected_usec> + <status>16384</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <icmp> + <type>Ping</type> + <responsetime>-1.000000</responsetime> + </icmp> + <port> + <hostname>10.20.4.233</hostname> + <portnumber>19999</portnumber> + <request><![CDATA[/api/v1/info]]></request> + <protocol>HTTP</protocol> + <type>TCP</type> + <responsetime>-1.000000</responsetime> + </port> + </service> + <service type="8"> + <name>networkOk</name> + <collected_sec>1723810549</collected_sec> + <collected_usec>94801</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <link> + <state>1</state> + <speed>-1000000</speed> + <duplex>-1</duplex> + <download> + <packets> + <now>0</now> + <total>319258</total> + </packets> + <bytes> + <now>0</now> + <total>714558077</total> + </bytes> + <errors> + <now>0</now> + <total>0</total> + </errors> + </download> + <upload> + <packets> + <now>0</now> + <total>172909</total> + </packets> + <bytes> + <now>0</now> + <total>25128489</total> + </bytes> + <errors> + <now>0</now> + <total>0</total> + </errors> + </upload> + </link> + </service> + <service type="8"> + <name>networkDisabled</name> + <collected_sec>1723810534</collected_sec> + <collected_usec>69103</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>0</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + </service> + <service type="8"> + <name>networkAlert</name> + <collected_sec>1723810549</collected_sec> + <collected_usec>94969</collected_usec> + <status>8388608</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <link> + <state>0</state> + <speed>-1</speed> + <duplex>-1</duplex> + <download> + <packets> + <now>-1</now> + <total>-1</total> + </packets> + <bytes> + <now>-1</now> + <total>-1</total> + </bytes> + <errors> + <now>-1</now> + <total>-1</total> + </errors> + </download> + <upload> + <packets> + <now>-1</now> + <total>-1</total> + </packets> + <bytes> + <now>-1</now> + <total>-1</total> + </bytes> + <errors> + <now>-1</now> + <total>-1</total> + </errors> + </upload> + </link> + </service> + <service type="8"> + <name>networkNotExists</name> + <collected_sec>1723810549</collected_sec> + <collected_usec>94992</collected_usec> + <status>8388608</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <link> + <state>-1</state> + <speed>-1</speed> + <duplex>-1</duplex> + <download> + <packets> + <now>-1</now> + <total>-1</total> + </packets> + <bytes> + <now>-1</now> + <total>-1</total> + </bytes> + <errors> + <now>-1</now> + <total>-1</total> + </errors> + </download> + <upload> + <packets> + <now>-1</now> + <total>-1</total> + </packets> + <bytes> + <now>-1</now> + <total>-1</total> + </bytes> + <errors> + <now>-1</now> + <total>-1</total> + </errors> + </upload> + </link> + </service> + <service type="5"> + <name>pve-deb-work</name> + <collected_sec>1723810549</collected_sec> + <collected_usec>94992</collected_usec> + <status>0</status> + <status_hint>0</status_hint> + <monitor>1</monitor> + <monitormode>0</monitormode> + <onreboot>0</onreboot> + <pendingaction>0</pendingaction> + <filedescriptors> + <allocated>1664</allocated> + <unused>0</unused> + <maximum>9223372036854775807</maximum> + </filedescriptors> + <system> + <load> + <avg01>0.00</avg01> + <avg05>0.04</avg05> + <avg15>0.03</avg15> + </load> + <cpu> + <user>0.0</user> + <system>0.0</system> + <nice>0.0</nice> + <wait>0.0</wait> + <hardirq>0.0</hardirq> + <softirq>0.0</softirq> + <steal>0.0</steal> + <guest>0.0</guest> + <guestnice>0.0</guestnice> + </cpu> + <memory> + <percent>3.1</percent> + <kilobyte>1020120</kilobyte> + </memory> + <swap> + <percent>0.0</percent> + <kilobyte>0</kilobyte> + </swap> + </system> + </service> +</monit> |