Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <query>
- <name>Get QNAP Disk Information</name>
- <index_order_type>numeric</index_order_type>
- <oid_index>.1.3.6.1.4.1.24681.1.2.11.1.1</oid_index>
- <oid_num_indexes>.1.3.6.1.4.1.24681.1.2.10.0</oid_num_indexes>
- <fields>
- <HdIndex>
- <name>Disk Index</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.1</oid>
- </HdIndex>
- <HdDescr>
- <name>Disk Description</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.2</oid>
- </HdDescr>
- <HdTemperature>
- <name>Disk Temperature</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.3</oid>
- </HdTemperature>
- <HdStatus>
- <name>Disk Status</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.4</oid>
- </HdStatus>
- <HdModel>
- <name>Disk Model</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.5</oid>
- </HdModel>
- <HdCapacity>
- <name>Disk Capacaty</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.6</oid>
- </HdCapacity>
- <HdSmartInfo>
- <name>Disk Smartinfo</name>
- <method>walk</method>
- <source>value</source>
- <direction>input</direction>
- <oid>.1.3.6.1.4.1.24681.1.2.11.1.7</oid>
- </HdSmartInfo>
- </fields>
- </query>
- --------------------------------------------------------------------------------------------------------------------------------------
- Data Query Debug Information
- + Running data query [13].
- + Found type = '3' [SNMP Query].
- + Found data query XML file at '/var/www/html/resource/snmp_queries/qnap_status.xml'
- + XML file parsed ok.
- + Executing SNMP get for num of indexes @ '.1.3.6.1.4.1.24681.1.2.10.0' Index Count: 5
- + Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.24681.1.2.11.1.1' Index Count: 5
- + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.1' value: '1'
- + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.2' value: '2'
- + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.3' value: '3'
- + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.4' value: '4'
- + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.5' value: '5'
- + Located input field 'HdIndex' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.1'
- + Found item [HdIndex='1'] index: 1 [from value]
- + Found item [HdIndex='2'] index: 2 [from value]
- + Found item [HdIndex='3'] index: 3 [from value]
- + Found item [HdIndex='4'] index: 4 [from value]
- + Found item [HdIndex='5'] index: 5 [from value]
- + Located input field 'HdDescr' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.2'
- + Found item [HdDescr='HDD1'] index: 1 [from value]
- + Found item [HdDescr='HDD2'] index: 2 [from value]
- + Found item [HdDescr='HDD3'] index: 3 [from value]
- + Found item [HdDescr='HDD4'] index: 4 [from value]
- + Found item [HdDescr='HDD5'] index: 5 [from value]
- + Located input field 'HdTemperature' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.3'
- + Found item [HdTemperature='35 C/95 F'] index: 1 [from value]
- + Found item [HdTemperature='35 C/95 F'] index: 2 [from value]
- + Found item [HdTemperature='35 C/95 F'] index: 3 [from value]
- + Found item [HdTemperature='35 C/95 F'] index: 4 [from value]
- + Found item [HdTemperature='34 C/93 F'] index: 5 [from value]
- + Located input field 'HdStatus' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.4'
- + Found item [HdStatus='0'] index: 1 [from value]
- + Found item [HdStatus='0'] index: 2 [from value]
- + Found item [HdStatus='0'] index: 3 [from value]
- + Found item [HdStatus='0'] index: 4 [from value]
- + Found item [HdStatus='0'] index: 5 [from value]
- + Located input field 'HdModel' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.5'
- + Found item [HdModel='ST4000VN000-1H4168'] index: 1 [from value]
- + Found item [HdModel='ST4000VN000-1H4168'] index: 2 [from value]
- + Found item [HdModel='ST4000VN000-1H4168'] index: 3 [from value]
- + Found item [HdModel='ST4000VN000-1H4168'] index: 4 [from value]
- + Found item [HdModel='ST4000VN000-1H4168'] index: 5 [from value]
- + Located input field 'HdCapacity' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.6'
- + Located input field 'HdSmartInfo' [walk]
- + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.7'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement