telegraf/plugins/inputs/monit/testdata/response_invalidxml_1.xml

52 lines
1.5 KiB
XML

<!--Missing element <block> closed-->
<?xml version="1.0" encoding="UTF-8"?>
<monit>
<server>
<id>0ed39c522be4c3971541412c43141613</id>
<incarnation>1476518435</incarnation>
<version>5.17.1</version>
<uptime>109878</uptime>
<poll>10</poll>
<startdelay>0</startdelay>
<localhostname>localhost</localhostname>
<controlfile>/var/vcap/bosh/etc/monitrc</controlfile>
<httpd>
<address>127.0.0.1</address>
<port>2822</port>
<ssl>0</ssl>
</httpd>
</server>
<platform>
<name>Linux</name>
<release>4.15.0-65-generic</release>
<version>#74~16.04.1-Ubuntu SMP Wed Sep 18 09:51:44 UTC 2019</version>
<machine>x86_64</machine>
<cpu>8</cpu>
<memory>16432272</memory>
<swap>16432268</swap>
</platform>
<service type="0">
<name>test</name>
<collected_sec>1572850498</collected_sec>
<collected_usec>709694</collected_usec>
<status>0</status>
<status_hint>0</status_hint>
<monitor>1</monitor>
<monitormode>0</monitormode>
<pendingaction>0</pendingaction>
<mode>555</mode>
<uid>0</uid>
<gid>0</gid>
<flags>4096</flags>
<block>
<percent>29.5</percent>
<usage>4424.0</usage>
<total>14990.0</total>
<inode>
<percent>0.8</percent>
<usage>59674</usage>
<total>7680000</total>
</inode>
</service>
</monit>