Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.52 KB | None | 0 0
  1. <query>
  2. <name>Get QNAP Disk Information</name>
  3. <index_order_type>numeric</index_order_type>
  4. <oid_index>.1.3.6.1.4.1.24681.1.2.11.1.1</oid_index>
  5. <oid_num_indexes>.1.3.6.1.4.1.24681.1.2.10.0</oid_num_indexes>
  6.  
  7.  
  8.  
  9. <fields>
  10. <HdIndex>
  11. <name>Disk Index</name>
  12. <method>walk</method>
  13. <source>value</source>
  14. <direction>input</direction>
  15. <oid>.1.3.6.1.4.1.24681.1.2.11.1.1</oid>
  16. </HdIndex>
  17.  
  18. <HdDescr>
  19. <name>Disk Description</name>
  20. <method>walk</method>
  21. <source>value</source>
  22. <direction>input</direction>
  23. <oid>.1.3.6.1.4.1.24681.1.2.11.1.2</oid>
  24. </HdDescr>
  25.  
  26. <HdTemperature>
  27. <name>Disk Temperature</name>
  28. <method>walk</method>
  29. <source>value</source>
  30. <direction>input</direction>
  31. <oid>.1.3.6.1.4.1.24681.1.2.11.1.3</oid>
  32. </HdTemperature>
  33.  
  34. <HdStatus>
  35. <name>Disk Status</name>
  36. <method>walk</method>
  37. <source>value</source>
  38. <direction>input</direction>
  39. <oid>.1.3.6.1.4.1.24681.1.2.11.1.4</oid>
  40. </HdStatus>
  41.  
  42. <HdModel>
  43. <name>Disk Model</name>
  44. <method>walk</method>
  45. <source>value</source>
  46. <direction>input</direction>
  47. <oid>.1.3.6.1.4.1.24681.1.2.11.1.5</oid>
  48. </HdModel>
  49.  
  50. <HdCapacity>
  51. <name>Disk Capacaty</name>
  52. <method>walk</method>
  53. <source>value</source>
  54. <direction>input</direction>
  55. <oid>.1.3.6.1.4.1.24681.1.2.11.1.6</oid>
  56. </HdCapacity>
  57.  
  58. <HdSmartInfo>
  59. <name>Disk Smartinfo</name>
  60. <method>walk</method>
  61. <source>value</source>
  62. <direction>input</direction>
  63. <oid>.1.3.6.1.4.1.24681.1.2.11.1.7</oid>
  64. </HdSmartInfo>
  65.  
  66.  
  67. </fields>
  68. </query>
  69.  
  70.  
  71.  
  72.  
  73. --------------------------------------------------------------------------------------------------------------------------------------
  74.  
  75.  
  76.  
  77. Data Query Debug Information
  78. + Running data query [13].
  79. + Found type = '3' [SNMP Query].
  80. + Found data query XML file at '/var/www/html/resource/snmp_queries/qnap_status.xml'
  81. + XML file parsed ok.
  82. + Executing SNMP get for num of indexes @ '.1.3.6.1.4.1.24681.1.2.10.0' Index Count: 5
  83. + Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.24681.1.2.11.1.1' Index Count: 5
  84. + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.1' value: '1'
  85. + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.2' value: '2'
  86. + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.3' value: '3'
  87. + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.4' value: '4'
  88. + Index found at OID: '1.3.6.1.4.1.24681.1.2.11.1.1.5' value: '5'
  89. + Located input field 'HdIndex' [walk]
  90. + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.1'
  91. + Found item [HdIndex='1'] index: 1 [from value]
  92. + Found item [HdIndex='2'] index: 2 [from value]
  93. + Found item [HdIndex='3'] index: 3 [from value]
  94. + Found item [HdIndex='4'] index: 4 [from value]
  95. + Found item [HdIndex='5'] index: 5 [from value]
  96. + Located input field 'HdDescr' [walk]
  97. + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.2'
  98. + Found item [HdDescr='HDD1'] index: 1 [from value]
  99. + Found item [HdDescr='HDD2'] index: 2 [from value]
  100. + Found item [HdDescr='HDD3'] index: 3 [from value]
  101. + Found item [HdDescr='HDD4'] index: 4 [from value]
  102. + Found item [HdDescr='HDD5'] index: 5 [from value]
  103. + Located input field 'HdTemperature' [walk]
  104. + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.3'
  105. + Found item [HdTemperature='35 C/95 F'] index: 1 [from value]
  106. + Found item [HdTemperature='35 C/95 F'] index: 2 [from value]
  107. + Found item [HdTemperature='35 C/95 F'] index: 3 [from value]
  108. + Found item [HdTemperature='35 C/95 F'] index: 4 [from value]
  109. + Found item [HdTemperature='34 C/93 F'] index: 5 [from value]
  110. + Located input field 'HdStatus' [walk]
  111. + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.4'
  112. + Found item [HdStatus='0'] index: 1 [from value]
  113. + Found item [HdStatus='0'] index: 2 [from value]
  114. + Found item [HdStatus='0'] index: 3 [from value]
  115. + Found item [HdStatus='0'] index: 4 [from value]
  116. + Found item [HdStatus='0'] index: 5 [from value]
  117. + Located input field 'HdModel' [walk]
  118. + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.5'
  119. + Found item [HdModel='ST4000VN000-1H4168'] index: 1 [from value]
  120. + Found item [HdModel='ST4000VN000-1H4168'] index: 2 [from value]
  121. + Found item [HdModel='ST4000VN000-1H4168'] index: 3 [from value]
  122. + Found item [HdModel='ST4000VN000-1H4168'] index: 4 [from value]
  123. + Found item [HdModel='ST4000VN000-1H4168'] index: 5 [from value]
  124. + Located input field 'HdCapacity' [walk]
  125. + Executing SNMP walk for data @ '.1.3.6.1.4.1.24681.1.2.11.1.6'
  126. + Located input field 'HdSmartInfo' [walk]
  127. + 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