Pages

Bài đăng phổ biến

Showing posts with label Solved Linux extended iostat template problem. Show all posts
Showing posts with label Solved Linux extended iostat template problem. Show all posts

Saturday, October 6, 2012

Solved Linux extended iostat template problem


Problem:
+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/iostat.xml'
+ XML file parsed ok.
+ Invalid field <index_order>ioDescr:ioName:ioIndex</index_order>
+ Must contain <direction>input</direction> fields only

Solved:
Edit file <path_cacti>/resource/snmp_queries/iostat.xml

<interface>
        <name>Get IOSTAT Devices</name>
        <description>Queries a host for a list of monitorable devices from iostat</description>
        <oid_index>.1.3.6.1.3.1</oid_index>
        <index_order>ioDescr:ioName:ioIndex</index_order>
Change this line: <index_order>ioDescr:ioName:ioIndex</index_order>
to : <index_order>ioDescr:ioIndex</index_order>
Done
Nguyen Si Nhan