From librenms, 5 Years ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[[1;33mselect `migration` from `migrations` order by `id` desc limit 1 [0;33m[][0m 0.24ms]
  3. SQL[[1;33mselect count(*) as aggregate from `migrations` limit 1 [0;33m[][0m 0.15ms]
  4. SQL[[1;33mSELECT version() [0;33m[][0m 0.14ms]
  5. ===================================
  6. Version info:
  7. Commit SHA: 83a53d7cd588a099d78b3b2bec2914e7b3b25008
  8. Commit Date: 1548776598
  9. DB Schema: 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
  10. PHP: 7.2.14
  11. MySQL: 5.5.60-MariaDB
  12. RRDTool: 1.4.8
  13. SNMP: NET-SNMP 5.7.2
  14. ==================================DEBUG!
  15. Updating os_def.cache... Done
  16. Override discovery modules: sensors
  17. SQL[[1;33mSELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE 'sd-test-poe-01.sd.local' ORDER BY device_id DESC [0;33m[][0m 0.69ms]
  18. SQL[[1;33mSELECT * FROM devices_attribs WHERE `device_id` = ? [0;33m[4][0m 0.21ms]
  19. sd-test-poe-01.sd.local 4 ios [FPING] /usr/sbin/fping -e -q -c 3 -p 500 -t 500 sd-test-poe-01.sd.local
  20. Array
  21. (
  22.     [xmt] => 3
  23.     [rcv] => 3
  24.     [loss] => 0
  25.     [min] => 1.71
  26.     [max] => 1.78
  27.     [avg] => 1.73
  28.     [exitcode] => 0
  29. )
  30. SQL[[1;33mINSERT IGNORE INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`,`debug`)  VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW(),:debug) [0;33m{"xmt":"3","rcv":"3","loss":"0","min":"1.71","max":"1.78","avg":"1.73","device_id":4,"debug":"[]"}[0m 0.37ms]
  31. SNMP Check response code: 0
  32. SQL[[1;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [0;33m[4,"poll_mib"][0m 0.32ms]
  33. Attempting to initialize OS: ios
  34. OS initialized: LibreNMS\OS\Ios
  35.  
  36. Modules status: Global+ OS  Device  
  37. #### Load disco module core ####
  38. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQn' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'sysName.0' 'sysObjectID.0' 'sysDescr.0'[0m]
  39. .*.*.0 = sd-test-poe-01.sd.local
  40. .*.*.0 = .*.*.1208
  41. .*.*.0 = Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
  42. Technical Support: http://www.cisco.com/techsupport
  43. Copyright (c) 1986-2017 by Cisco Systems, Inc.
  44. Compiled Sat 19-Aug-17 08:57 by prod_rel_team
  45.  
  46.  
  47. >> Runtime for discovery module 'core': 0.0210 seconds with 1296 bytes
  48. >> SNMP: [2/0.06s] MySQL: [4/0.00s] RRD: [0/0.00s]
  49. #### Unload disco module core ####
  50.  
  51. Modules status: Global+ OS+ Device  
  52. #### Load disco module sensors ####
  53.  CISCO-ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhysicalDescr'[0m]
  54. entPhysicalDescr.1 = Catalyst C29xx Switch Stack
  55. entPhysicalDescr.1001 = WS-C2960S-48LPD-L
  56. entPhysicalDescr.1002 = Switch 1 - WS-C2960S-48LPD-L - Fixed Module 0
  57. entPhysicalDescr.1003 = Fan Container
  58. entPhysicalDescr.1004 = Power Supply Container
  59. entPhysicalDescr.1005 = RPS Container
  60. entPhysicalDescr.1006 = Switch 1 - WS-C2960S-48LPD-L - Power Supply 0
  61. entPhysicalDescr.1007 = Switch 1 - WS-C2960S-48LPD-L - Fan 0
  62. entPhysicalDescr.1008 = Switch 1 - WS-C2960S-48LPD-L - Sensor 0
  63. entPhysicalDescr.1009 = StackPort1
  64. entPhysicalDescr.1010 = GigabitEthernet1/0/1
  65. entPhysicalDescr.1011 = GigabitEthernet1/0/2
  66. entPhysicalDescr.1012 = GigabitEthernet1/0/3
  67. entPhysicalDescr.1013 = GigabitEthernet1/0/4
  68. entPhysicalDescr.1014 = GigabitEthernet1/0/5
  69. entPhysicalDescr.1015 = GigabitEthernet1/0/6
  70. entPhysicalDescr.1016 = GigabitEthernet1/0/7
  71. entPhysicalDescr.1017 = GigabitEthernet1/0/8
  72. entPhysicalDescr.1018 = GigabitEthernet1/0/9
  73. entPhysicalDescr.1019 = GigabitEthernet1/0/10
  74. entPhysicalDescr.1020 = GigabitEthernet1/0/11
  75. entPhysicalDescr.1021 = GigabitEthernet1/0/12
  76. entPhysicalDescr.1022 = GigabitEthernet1/0/13
  77. entPhysicalDescr.1023 = GigabitEthernet1/0/14
  78. entPhysicalDescr.1024 = GigabitEthernet1/0/15
  79. entPhysicalDescr.1025 = GigabitEthernet1/0/16
  80. entPhysicalDescr.1026 = GigabitEthernet1/0/17
  81. entPhysicalDescr.1027 = GigabitEthernet1/0/18
  82. entPhysicalDescr.1028 = GigabitEthernet1/0/19
  83. entPhysicalDescr.1029 = GigabitEthernet1/0/20
  84. entPhysicalDescr.1030 = GigabitEthernet1/0/21
  85. entPhysicalDescr.1031 = GigabitEthernet1/0/22
  86. entPhysicalDescr.1032 = GigabitEthernet1/0/23
  87. entPhysicalDescr.1033 = GigabitEthernet1/0/24
  88. entPhysicalDescr.1034 = GigabitEthernet1/0/25
  89. entPhysicalDescr.1035 = GigabitEthernet1/0/26
  90. entPhysicalDescr.1036 = GigabitEthernet1/0/27
  91. entPhysicalDescr.1037 = GigabitEthernet1/0/28
  92. entPhysicalDescr.1038 = GigabitEthernet1/0/29
  93. entPhysicalDescr.1039 = GigabitEthernet1/0/30
  94. entPhysicalDescr.1040 = GigabitEthernet1/0/31
  95. entPhysicalDescr.1041 = GigabitEthernet1/0/32
  96. entPhysicalDescr.1042 = GigabitEthernet1/0/33
  97. entPhysicalDescr.1043 = GigabitEthernet1/0/34
  98. entPhysicalDescr.1044 = GigabitEthernet1/0/35
  99. entPhysicalDescr.1045 = GigabitEthernet1/0/36
  100. entPhysicalDescr.1046 = GigabitEthernet1/0/37
  101. entPhysicalDescr.1047 = GigabitEthernet1/0/38
  102. entPhysicalDescr.1048 = GigabitEthernet1/0/39
  103. entPhysicalDescr.1049 = GigabitEthernet1/0/40
  104. entPhysicalDescr.1050 = GigabitEthernet1/0/41
  105. entPhysicalDescr.1051 = GigabitEthernet1/0/42
  106. entPhysicalDescr.1052 = GigabitEthernet1/0/43
  107. entPhysicalDescr.1053 = GigabitEthernet1/0/44
  108. entPhysicalDescr.1054 = GigabitEthernet1/0/45
  109. entPhysicalDescr.1055 = GigabitEthernet1/0/46
  110. entPhysicalDescr.1056 = GigabitEthernet1/0/47
  111. entPhysicalDescr.1057 = GigabitEthernet1/0/48
  112. entPhysicalDescr.1058 = TenGigabitEthernet Container
  113. entPhysicalDescr.1059 = TenGigabitEthernet Container
  114. entPhysicalDescr.1060 = FastEthernet0
  115.  
  116.  entPhysicalNameSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhysicalName'[0m]
  117. entPhysicalName.1 = C29xx Stacking
  118. entPhysicalName.1001 = 1
  119. entPhysicalName.1002 = Switch 1 - WS-C2960S-48LPD-L - Fixed Module 0
  120. entPhysicalName.1003 = Switch 1 - Fan Container
  121. entPhysicalName.1004 = Switch 1 - Power Supply Container
  122. entPhysicalName.1005 = Switch 1 - RPS Container
  123. entPhysicalName.1006 = Switch 1 - WS-C2960S-48LPD-L - Power Supply 0
  124. entPhysicalName.1007 = Switch 1 - WS-C2960S-48LPD-L - Fan 0
  125. entPhysicalName.1008 = Switch 1 - WS-C2960S-48LPD-L - Sensor 0
  126. entPhysicalName.1009 = StackPort1
  127. entPhysicalName.1010 = GigabitEthernet1/0/1
  128. entPhysicalName.1011 = GigabitEthernet1/0/2
  129. entPhysicalName.1012 = GigabitEthernet1/0/3
  130. entPhysicalName.1013 = GigabitEthernet1/0/4
  131. entPhysicalName.1014 = GigabitEthernet1/0/5
  132. entPhysicalName.1015 = GigabitEthernet1/0/6
  133. entPhysicalName.1016 = GigabitEthernet1/0/7
  134. entPhysicalName.1017 = GigabitEthernet1/0/8
  135. entPhysicalName.1018 = GigabitEthernet1/0/9
  136. entPhysicalName.1019 = GigabitEthernet1/0/10
  137. entPhysicalName.1020 = GigabitEthernet1/0/11
  138. entPhysicalName.1021 = GigabitEthernet1/0/12
  139. entPhysicalName.1022 = GigabitEthernet1/0/13
  140. entPhysicalName.1023 = GigabitEthernet1/0/14
  141. entPhysicalName.1024 = GigabitEthernet1/0/15
  142. entPhysicalName.1025 = GigabitEthernet1/0/16
  143. entPhysicalName.1026 = GigabitEthernet1/0/17
  144. entPhysicalName.1027 = GigabitEthernet1/0/18
  145. entPhysicalName.1028 = GigabitEthernet1/0/19
  146. entPhysicalName.1029 = GigabitEthernet1/0/20
  147. entPhysicalName.1030 = GigabitEthernet1/0/21
  148. entPhysicalName.1031 = GigabitEthernet1/0/22
  149. entPhysicalName.1032 = GigabitEthernet1/0/23
  150. entPhysicalName.1033 = GigabitEthernet1/0/24
  151. entPhysicalName.1034 = GigabitEthernet1/0/25
  152. entPhysicalName.1035 = GigabitEthernet1/0/26
  153. entPhysicalName.1036 = GigabitEthernet1/0/27
  154. entPhysicalName.1037 = GigabitEthernet1/0/28
  155. entPhysicalName.1038 = GigabitEthernet1/0/29
  156. entPhysicalName.1039 = GigabitEthernet1/0/30
  157. entPhysicalName.1040 = GigabitEthernet1/0/31
  158. entPhysicalName.1041 = GigabitEthernet1/0/32
  159. entPhysicalName.1042 = GigabitEthernet1/0/33
  160. entPhysicalName.1043 = GigabitEthernet1/0/34
  161. entPhysicalName.1044 = GigabitEthernet1/0/35
  162. entPhysicalName.1045 = GigabitEthernet1/0/36
  163. entPhysicalName.1046 = GigabitEthernet1/0/37
  164. entPhysicalName.1047 = GigabitEthernet1/0/38
  165. entPhysicalName.1048 = GigabitEthernet1/0/39
  166. entPhysicalName.1049 = GigabitEthernet1/0/40
  167. entPhysicalName.1050 = GigabitEthernet1/0/41
  168. entPhysicalName.1051 = GigabitEthernet1/0/42
  169. entPhysicalName.1052 = GigabitEthernet1/0/43
  170. entPhysicalName.1053 = GigabitEthernet1/0/44
  171. entPhysicalName.1054 = GigabitEthernet1/0/45
  172. entPhysicalName.1055 = GigabitEthernet1/0/46
  173. entPhysicalName.1056 = GigabitEthernet1/0/47
  174. entPhysicalName.1057 = GigabitEthernet1/0/48
  175. entPhysicalName.1058 = TenGigabitEthernet1/0/1 Container
  176. entPhysicalName.1059 = TenGigabitEthernet1/0/2 Container
  177. entPhysicalName.1060 = Switch 1 - FastEthernet0
  178.  
  179.  entPhysicalClassSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhysicalClass'[0m]
  180. entPhysicalClass.1 = stack
  181. entPhysicalClass.1001 = chassis
  182. entPhysicalClass.1002 = module
  183. entPhysicalClass.1003 = container
  184. entPhysicalClass.1004 = container
  185. entPhysicalClass.1005 = container
  186. entPhysicalClass.1006 = powerSupply
  187. entPhysicalClass.1007 = fan
  188. entPhysicalClass.1008 = sensor
  189. entPhysicalClass.1009 = port
  190. entPhysicalClass.1010 = port
  191. entPhysicalClass.1011 = port
  192. entPhysicalClass.1012 = port
  193. entPhysicalClass.1013 = port
  194. entPhysicalClass.1014 = port
  195. entPhysicalClass.1015 = port
  196. entPhysicalClass.1016 = port
  197. entPhysicalClass.1017 = port
  198. entPhysicalClass.1018 = port
  199. entPhysicalClass.1019 = port
  200. entPhysicalClass.1020 = port
  201. entPhysicalClass.1021 = port
  202. entPhysicalClass.1022 = port
  203. entPhysicalClass.1023 = port
  204. entPhysicalClass.1024 = port
  205. entPhysicalClass.1025 = port
  206. entPhysicalClass.1026 = port
  207. entPhysicalClass.1027 = port
  208. entPhysicalClass.1028 = port
  209. entPhysicalClass.1029 = port
  210. entPhysicalClass.1030 = port
  211. entPhysicalClass.1031 = port
  212. entPhysicalClass.1032 = port
  213. entPhysicalClass.1033 = port
  214. entPhysicalClass.1034 = port
  215. entPhysicalClass.1035 = port
  216. entPhysicalClass.1036 = port
  217. entPhysicalClass.1037 = port
  218. entPhysicalClass.1038 = port
  219. entPhysicalClass.1039 = port
  220. entPhysicalClass.1040 = port
  221. entPhysicalClass.1041 = port
  222. entPhysicalClass.1042 = port
  223. entPhysicalClass.1043 = port
  224. entPhysicalClass.1044 = port
  225. entPhysicalClass.1045 = port
  226. entPhysicalClass.1046 = port
  227. entPhysicalClass.1047 = port
  228. entPhysicalClass.1048 = port
  229. entPhysicalClass.1049 = port
  230. entPhysicalClass.1050 = port
  231. entPhysicalClass.1051 = port
  232. entPhysicalClass.1052 = port
  233. entPhysicalClass.1053 = port
  234. entPhysicalClass.1054 = port
  235. entPhysicalClass.1055 = port
  236. entPhysicalClass.1056 = port
  237. entPhysicalClass.1057 = port
  238. entPhysicalClass.1058 = container
  239. entPhysicalClass.1059 = container
  240. entPhysicalClass.1060 = port
  241.  
  242.  entPhysicalContainedInSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhysicalContainedIn'[0m]
  243. entPhysicalContainedIn.1 = 0
  244. entPhysicalContainedIn.1001 = 1
  245. entPhysicalContainedIn.1002 = 1001
  246. entPhysicalContainedIn.1003 = 1001
  247. entPhysicalContainedIn.1004 = 1001
  248. entPhysicalContainedIn.1005 = 1001
  249. entPhysicalContainedIn.1006 = 1001
  250. entPhysicalContainedIn.1007 = 1001
  251. entPhysicalContainedIn.1008 = 1001
  252. entPhysicalContainedIn.1009 = 1002
  253. entPhysicalContainedIn.1010 = 1002
  254. entPhysicalContainedIn.1011 = 1002
  255. entPhysicalContainedIn.1012 = 1002
  256. entPhysicalContainedIn.1013 = 1002
  257. entPhysicalContainedIn.1014 = 1002
  258. entPhysicalContainedIn.1015 = 1002
  259. entPhysicalContainedIn.1016 = 1002
  260. entPhysicalContainedIn.1017 = 1002
  261. entPhysicalContainedIn.1018 = 1002
  262. entPhysicalContainedIn.1019 = 1002
  263. entPhysicalContainedIn.1020 = 1002
  264. entPhysicalContainedIn.1021 = 1002
  265. entPhysicalContainedIn.1022 = 1002
  266. entPhysicalContainedIn.1023 = 1002
  267. entPhysicalContainedIn.1024 = 1002
  268. entPhysicalContainedIn.1025 = 1002
  269. entPhysicalContainedIn.1026 = 1002
  270. entPhysicalContainedIn.1027 = 1002
  271. entPhysicalContainedIn.1028 = 1002
  272. entPhysicalContainedIn.1029 = 1002
  273. entPhysicalContainedIn.1030 = 1002
  274. entPhysicalContainedIn.1031 = 1002
  275. entPhysicalContainedIn.1032 = 1002
  276. entPhysicalContainedIn.1033 = 1002
  277. entPhysicalContainedIn.1034 = 1002
  278. entPhysicalContainedIn.1035 = 1002
  279. entPhysicalContainedIn.1036 = 1002
  280. entPhysicalContainedIn.1037 = 1002
  281. entPhysicalContainedIn.1038 = 1002
  282. entPhysicalContainedIn.1039 = 1002
  283. entPhysicalContainedIn.1040 = 1002
  284. entPhysicalContainedIn.1041 = 1002
  285. entPhysicalContainedIn.1042 = 1002
  286. entPhysicalContainedIn.1043 = 1002
  287. entPhysicalContainedIn.1044 = 1002
  288. entPhysicalContainedIn.1045 = 1002
  289. entPhysicalContainedIn.1046 = 1002
  290. entPhysicalContainedIn.1047 = 1002
  291. entPhysicalContainedIn.1048 = 1002
  292. entPhysicalContainedIn.1049 = 1002
  293. entPhysicalContainedIn.1050 = 1002
  294. entPhysicalContainedIn.1051 = 1002
  295. entPhysicalContainedIn.1052 = 1002
  296. entPhysicalContainedIn.1053 = 1002
  297. entPhysicalContainedIn.1054 = 1002
  298. entPhysicalContainedIn.1055 = 1002
  299. entPhysicalContainedIn.1056 = 1002
  300. entPhysicalContainedIn.1057 = 1002
  301. entPhysicalContainedIn.1058 = 1002
  302. entPhysicalContainedIn.1059 = 1002
  303. entPhysicalContainedIn.1060 = 1002
  304.  
  305.  entPhysicalParentRelPosSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhysicalParentRelPos'[0m]
  306. entPhysicalParentRelPos.1 = -1
  307. entPhysicalParentRelPos.1001 = 0
  308. entPhysicalParentRelPos.1002 = 1
  309. entPhysicalParentRelPos.1003 = 2
  310. entPhysicalParentRelPos.1004 = 3
  311. entPhysicalParentRelPos.1005 = 4
  312. entPhysicalParentRelPos.1006 = 5
  313. entPhysicalParentRelPos.1007 = 6
  314. entPhysicalParentRelPos.1008 = 7
  315. entPhysicalParentRelPos.1009 = 0
  316. entPhysicalParentRelPos.1010 = 1
  317. entPhysicalParentRelPos.1011 = 2
  318. entPhysicalParentRelPos.1012 = 3
  319. entPhysicalParentRelPos.1013 = 4
  320. entPhysicalParentRelPos.1014 = 5
  321. entPhysicalParentRelPos.1015 = 6
  322. entPhysicalParentRelPos.1016 = 7
  323. entPhysicalParentRelPos.1017 = 8
  324. entPhysicalParentRelPos.1018 = 9
  325. entPhysicalParentRelPos.1019 = 10
  326. entPhysicalParentRelPos.1020 = 11
  327. entPhysicalParentRelPos.1021 = 12
  328. entPhysicalParentRelPos.1022 = 13
  329. entPhysicalParentRelPos.1023 = 14
  330. entPhysicalParentRelPos.1024 = 15
  331. entPhysicalParentRelPos.1025 = 16
  332. entPhysicalParentRelPos.1026 = 17
  333. entPhysicalParentRelPos.1027 = 18
  334. entPhysicalParentRelPos.1028 = 19
  335. entPhysicalParentRelPos.1029 = 20
  336. entPhysicalParentRelPos.1030 = 21
  337. entPhysicalParentRelPos.1031 = 22
  338. entPhysicalParentRelPos.1032 = 23
  339. entPhysicalParentRelPos.1033 = 24
  340. entPhysicalParentRelPos.1034 = 25
  341. entPhysicalParentRelPos.1035 = 26
  342. entPhysicalParentRelPos.1036 = 27
  343. entPhysicalParentRelPos.1037 = 28
  344. entPhysicalParentRelPos.1038 = 29
  345. entPhysicalParentRelPos.1039 = 30
  346. entPhysicalParentRelPos.1040 = 31
  347. entPhysicalParentRelPos.1041 = 32
  348. entPhysicalParentRelPos.1042 = 33
  349. entPhysicalParentRelPos.1043 = 34
  350. entPhysicalParentRelPos.1044 = 35
  351. entPhysicalParentRelPos.1045 = 36
  352. entPhysicalParentRelPos.1046 = 37
  353. entPhysicalParentRelPos.1047 = 38
  354. entPhysicalParentRelPos.1048 = 39
  355. entPhysicalParentRelPos.1049 = 40
  356. entPhysicalParentRelPos.1050 = 41
  357. entPhysicalParentRelPos.1051 = 42
  358. entPhysicalParentRelPos.1052 = 43
  359. entPhysicalParentRelPos.1053 = 44
  360. entPhysicalParentRelPos.1054 = 45
  361. entPhysicalParentRelPos.1055 = 46
  362. entPhysicalParentRelPos.1056 = 47
  363. entPhysicalParentRelPos.1057 = 48
  364. entPhysicalParentRelPos.1058 = 49
  365. entPhysicalParentRelPos.1059 = 50
  366. entPhysicalParentRelPos.1060 = 51
  367.  
  368.  entAliasMappingIdentifierSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entAliasMappingIdentifier'[0m]
  369. entAliasMappingIdentifier.1009.0 = ifIndex.5137
  370. entAliasMappingIdentifier.1010.0 = ifIndex.10101
  371. entAliasMappingIdentifier.1011.0 = ifIndex.10102
  372. entAliasMappingIdentifier.1012.0 = ifIndex.10103
  373. entAliasMappingIdentifier.1013.0 = ifIndex.10104
  374. entAliasMappingIdentifier.1014.0 = ifIndex.10105
  375. entAliasMappingIdentifier.1015.0 = ifIndex.10106
  376. entAliasMappingIdentifier.1016.0 = ifIndex.10107
  377. entAliasMappingIdentifier.1017.0 = ifIndex.10108
  378. entAliasMappingIdentifier.1018.0 = ifIndex.10109
  379. entAliasMappingIdentifier.1019.0 = ifIndex.10110
  380. entAliasMappingIdentifier.1020.0 = ifIndex.10111
  381. entAliasMappingIdentifier.1021.0 = ifIndex.10112
  382. entAliasMappingIdentifier.1022.0 = ifIndex.10113
  383. entAliasMappingIdentifier.1023.0 = ifIndex.10114
  384. entAliasMappingIdentifier.1024.0 = ifIndex.10115
  385. entAliasMappingIdentifier.1025.0 = ifIndex.10116
  386. entAliasMappingIdentifier.1026.0 = ifIndex.10117
  387. entAliasMappingIdentifier.1027.0 = ifIndex.10118
  388. entAliasMappingIdentifier.1028.0 = ifIndex.10119
  389. entAliasMappingIdentifier.1029.0 = ifIndex.10120
  390. entAliasMappingIdentifier.1030.0 = ifIndex.10121
  391. entAliasMappingIdentifier.1031.0 = ifIndex.10122
  392. entAliasMappingIdentifier.1032.0 = ifIndex.10123
  393. entAliasMappingIdentifier.1033.0 = ifIndex.10124
  394. entAliasMappingIdentifier.1034.0 = ifIndex.10125
  395. entAliasMappingIdentifier.1035.0 = ifIndex.10126
  396. entAliasMappingIdentifier.1036.0 = ifIndex.10127
  397. entAliasMappingIdentifier.1037.0 = ifIndex.10128
  398. entAliasMappingIdentifier.1038.0 = ifIndex.10129
  399. entAliasMappingIdentifier.1039.0 = ifIndex.10130
  400. entAliasMappingIdentifier.1040.0 = ifIndex.10131
  401. entAliasMappingIdentifier.1041.0 = ifIndex.10132
  402. entAliasMappingIdentifier.1042.0 = ifIndex.10133
  403. entAliasMappingIdentifier.1043.0 = ifIndex.10134
  404. entAliasMappingIdentifier.1044.0 = ifIndex.10135
  405. entAliasMappingIdentifier.1045.0 = ifIndex.10136
  406. entAliasMappingIdentifier.1046.0 = ifIndex.10137
  407. entAliasMappingIdentifier.1047.0 = ifIndex.10138
  408. entAliasMappingIdentifier.1048.0 = ifIndex.10139
  409. entAliasMappingIdentifier.1049.0 = ifIndex.10140
  410. entAliasMappingIdentifier.1050.0 = ifIndex.10141
  411. entAliasMappingIdentifier.1051.0 = ifIndex.10142
  412. entAliasMappingIdentifier.1052.0 = ifIndex.10143
  413. entAliasMappingIdentifier.1053.0 = ifIndex.10144
  414. entAliasMappingIdentifier.1054.0 = ifIndex.10145
  415. entAliasMappingIdentifier.1055.0 = ifIndex.10146
  416. entAliasMappingIdentifier.1056.0 = ifIndex.10147
  417. entAliasMappingIdentifier.1057.0 = ifIndex.10148
  418. entAliasMappingIdentifier.1060.0 = ifIndex.12002
  419.  
  420.   entSensorTypeSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorType'[0m]
  421. entSensorType = No Such Object available on this agent at this OID
  422.  
  423.  entSensorScaleSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorScale'[0m]
  424. entSensorScale = No Such Object available on this agent at this OID
  425.  
  426.  entSensorValueSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorValue'[0m]
  427. entSensorValue = No Such Object available on this agent at this OID
  428.  
  429.  entSensorMeasuredEntitySNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorMeasuredEntity'[0m]
  430. entSensorMeasuredEntity = No Such Object available on this agent at this OID
  431.  
  432.  entSensorPrecisionSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorPrecision'[0m]
  433. entSensorPrecision = No Such Object available on this agent at this OID
  434.  
  435.  entSensorThresholdSeveritySNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorThresholdSeverity'[0m]
  436. entSensorThresholdSeverity = No Such Object available on this agent at this OID
  437.  
  438.  entSensorThresholdRelationSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorThresholdRelation'[0m]
  439. entSensorThresholdRelation = No Such Object available on this agent at this OID
  440.  
  441.  entSensorThresholdValueSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entSensorThresholdValue'[0m]
  442. entSensorThresholdValue = No Such Object available on this agent at this OID
  443.  
  444. Array
  445. (
  446. )
  447.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescr entPhysicalName entPhySensorTypeSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhySensorType'[0m]
  448. entPhySensorType = No Such Object available on this agent at this OID
  449.  
  450.  entPhySensorScaleSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhySensorScale'[0m]
  451. entPhySensorScale = No Such Object available on this agent at this OID
  452.  
  453.  entPhySensorPrecisionSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhySensorPrecision'[0m]
  454. entPhySensorPrecision = No Such Object available on this agent at this OID
  455.  
  456.  entPhySensorValueSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhySensorValue'[0m]
  457. entPhySensorValue = No Such Object available on this agent at this OID
  458.  
  459.  entPhySensorOperStatusSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-SENSOR-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'entPhySensorOperStatus'[0m]
  460. entPhySensorOperStatus = No Such Object available on this agent at this OID
  461.  
  462.  
  463. SQL[[1;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [0;33m[4,"ipmi_hostname"][0m 0.52ms]
  464. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["voltage",4,"ipmi"][0m 0.59ms]
  465. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["temperature",4,"ipmi"][0m 0.47ms]
  466. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["fanspeed",4,"ipmi"][0m 0.55ms]
  467. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["power",4,"ipmi"][0m 0.5ms]
  468. Airflow: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["airflow",4,"snmp"][0m 0.54ms]
  469.  
  470. Current: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["current",4,"snmp"][0m 0.48ms]
  471.  
  472. Charge: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["charge",4,"snmp"][0m 0.5ms]
  473.  
  474. Dbm: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["dbm",4,"snmp"][0m 0.56ms]
  475.  
  476. Fanspeed: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["fanspeed",4,"snmp"][0m 0.54ms]
  477.  
  478. Frequency: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["frequency",4,"snmp"][0m 0.48ms]
  479.  
  480. Humidity: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["humidity",4,"snmp"][0m 0.51ms]
  481.  
  482. Load: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["load",4,"snmp"][0m 0.47ms]
  483.  
  484. Power: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["power",4,"snmp"][0m 0.45ms]
  485.  
  486. Power_consumed: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["power_consumed",4,"snmp"][0m 0.51ms]
  487.  
  488. Power_factor: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["power_factor",4,"snmp"][0m 0.52ms]
  489.  
  490. Runtime: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["runtime",4,"snmp"][0m 0.58ms]
  491.  
  492. Signal: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["signal",4,"snmp"][0m 0.52ms]
  493.  
  494. State: SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-STACKWISE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cswSwitchRole'[0m]
  495. cswSwitchRole.1001 = master
  496.  
  497. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OQv' '-m' 'CISCO-STACKWISE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cswRingRedundant.0'[0m]
  498. false
  499.  
  500. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENVMON-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'ciscoEnvMonVoltageStatusTable'[0m]
  501. ciscoEnvMonVoltageStatusTable = No Such Object available on this agent at this OID
  502.  
  503. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENVMON-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'ciscoEnvMonTemperatureStatusTable'[0m]
  504. ciscoEnvMonTemperatureStatusDescr.1008 = SW#1, Sensor#1, GREEN
  505. ciscoEnvMonTemperatureStatusValue.1008 = 25
  506. ciscoEnvMonTemperatureThreshold.1008 = 64
  507. ciscoEnvMonTemperatureLastShutdown.1008 = 0
  508. ciscoEnvMonTemperatureState.1008 = normal
  509.  
  510. Discover sensor: .1.3.6.1.4.1.9.9.13.1.3.1.6.1008, 1008, ciscoEnvMonTemperatureState, SW#1, Sensor#1, GREEN, snmp, 1, 1, 1008, normal
  511. SQL[[1;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? [0;33m["snmp","state",4,"ciscoEnvMonTemperatureState","1008"][0m 0.56ms]
  512. SQL[[1;33mINSERT IGNORE INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_current`,`entPhysicalIndex`)  VALUES (:poller_type,:sensor_class,:device_id,:sensor_oid,:sensor_index,:sensor_type,:sensor_descr,:sensor_divisor,:sensor_multiplier,:sensor_current,:entPhysicalIndex) [0;33m{"poller_type":"snmp","sensor_class":"state","device_id":4,"sensor_oid":".1.3.6.1.4.1.9.9.13.1.3.1.6.1008","sensor_index":1008,"sensor_type":"ciscoEnvMonTemperatureState","sensor_descr":"SW#1, Sensor#1, GREEN","sensor_divisor":"1","sensor_multiplier":"1","sensor_current":"normal","entPhysicalIndex":1008}[0m 0.51ms]
  513. ( 7472 inserted )
  514. +SQL[[1;33mINSERT IGNORE INTO `eventlog` (`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`)  VALUES (:device_id,:reference,:type,:datetime,:severity,:message,:username) [0;33m{"device_id":4,"reference":"7472","type":"sensor","datetime":"2019-01-30 08:47:40","severity":3,"message":"Sensor Added: state ciscoEnvMonTemperatureState 1008 SW#1, Sensor#1, GREEN","username":""}[0m 0.29ms]
  515. SQL[[1;33mSELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? [0;33m["state",4,"ciscoEnvMonTemperatureState",1008][0m 0.41ms]
  516. SQL[[1;33mSELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? [0;33m["ciscoEnvMonTemperatureState"][0m 0.18ms]
  517. SQL[[1;33mINSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`)  VALUES (:sensor_id,:state_index_id) [0;33m{"sensor_id":7472,"state_index_id":2}[0m 0.45ms]
  518. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENVMON-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'ciscoEnvMonFanStatusTable'[0m]
  519. ciscoEnvMonFanStatusDescr.1007 = Switch#1, Fan#1
  520. ciscoEnvMonFanState.1007 = normal
  521.  
  522. Discover sensor: .1.3.6.1.4.1.9.9.13.1.4.1.3.1007, 1007, ciscoEnvMonFanState, Switch#1, Fan#1, snmp, 1, 1, 1007, normal
  523. SQL[[1;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? [0;33m["snmp","state",4,"ciscoEnvMonFanState","1007"][0m 0.62ms]
  524. SQL[[1;33mINSERT IGNORE INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_current`,`entPhysicalIndex`)  VALUES (:poller_type,:sensor_class,:device_id,:sensor_oid,:sensor_index,:sensor_type,:sensor_descr,:sensor_divisor,:sensor_multiplier,:sensor_current,:entPhysicalIndex) [0;33m{"poller_type":"snmp","sensor_class":"state","device_id":4,"sensor_oid":".1.3.6.1.4.1.9.9.13.1.4.1.3.1007","sensor_index":1007,"sensor_type":"ciscoEnvMonFanState","sensor_descr":"Switch#1, Fan#1","sensor_divisor":"1","sensor_multiplier":"1","sensor_current":"normal","entPhysicalIndex":1007}[0m 0.3ms]
  525. ( 7473 inserted )
  526. +SQL[[1;33mINSERT IGNORE INTO `eventlog` (`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`)  VALUES (:device_id,:reference,:type,:datetime,:severity,:message,:username) [0;33m{"device_id":4,"reference":"7473","type":"sensor","datetime":"2019-01-30 08:47:40","severity":3,"message":"Sensor Added: state ciscoEnvMonFanState 1007 Switch#1, Fan#1","username":""}[0m 0.24ms]
  527. SQL[[1;33mSELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? [0;33m["state",4,"ciscoEnvMonFanState",1007][0m 0.32ms]
  528. SQL[[1;33mSELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? [0;33m["ciscoEnvMonFanState"][0m 0.19ms]
  529. SQL[[1;33mINSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`)  VALUES (:sensor_id,:state_index_id) [0;33m{"sensor_id":7473,"state_index_id":3}[0m 0.24ms]
  530. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENVMON-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'ciscoEnvMonSupplyStatusTable'[0m]
  531. ciscoEnvMonSupplyStatusDescr.1006 = Sw1, PS1 Normal, RPS NotExist
  532. ciscoEnvMonSupplyState.1006 = normal
  533. ciscoEnvMonSupplySource.1006 = ac
  534.  
  535. Discover sensor: .1.3.6.1.4.1.9.9.13.1.5.1.3.1006, 1006, ciscoEnvMonSupplyState, Sw1, PS1 Normal, RPS NotExist, snmp, 1, 1, 1006, normal
  536. SQL[[1;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? [0;33m["snmp","state",4,"ciscoEnvMonSupplyState","1006"][0m 0.61ms]
  537. SQL[[1;33mINSERT IGNORE INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_current`,`entPhysicalIndex`)  VALUES (:poller_type,:sensor_class,:device_id,:sensor_oid,:sensor_index,:sensor_type,:sensor_descr,:sensor_divisor,:sensor_multiplier,:sensor_current,:entPhysicalIndex) [0;33m{"poller_type":"snmp","sensor_class":"state","device_id":4,"sensor_oid":".1.3.6.1.4.1.9.9.13.1.5.1.3.1006","sensor_index":1006,"sensor_type":"ciscoEnvMonSupplyState","sensor_descr":"Sw1, PS1 Normal, RPS NotExist","sensor_divisor":"1","sensor_multiplier":"1","sensor_current":"normal","entPhysicalIndex":1006}[0m 0.29ms]
  538. ( 7474 inserted )
  539. +SQL[[1;33mINSERT IGNORE INTO `eventlog` (`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`)  VALUES (:device_id,:reference,:type,:datetime,:severity,:message,:username) [0;33m{"device_id":4,"reference":"7474","type":"sensor","datetime":"2019-01-30 08:47:40","severity":3,"message":"Sensor Added: state ciscoEnvMonSupplyState 1006 Sw1, PS1 Normal, RPS NotExist","username":""}[0m 0.23ms]
  540. SQL[[1;33mSELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? [0;33m["state",4,"ciscoEnvMonSupplyState",1006][0m 0.37ms]
  541. SQL[[1;33mSELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? [0;33m["ciscoEnvMonSupplyState"][0m 0.15ms]
  542. SQL[[1;33mINSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`)  VALUES (:sensor_id,:state_index_id) [0;33m{"sensor_id":7474,"state_index_id":4}[0m 0.17ms]
  543. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-ENTITY-FRU-CONTROL-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cefcFRUPowerStatusTable'[0m]
  544. cefcFRUPowerStatusTable = No Such Object available on this agent at this OID
  545.  
  546. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-RF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cRFCfgRedundancyOperMode'[0m]
  547. cRFCfgRedundancyOperMode = No Such Object available on this agent at this OID
  548.  
  549. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-RF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cRFStatusUnitState'[0m]
  550. cRFStatusUnitState = No Such Object available on this agent at this OID
  551.  
  552. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'CISCO-RF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cRFStatusPeerUnitState'[0m]
  553. cRFStatusPeerUnitState = No Such Object available on this agent at this OID
  554.  
  555. Array
  556. (
  557.     [ciscoEnvMonTemperatureState] => Array
  558.         (
  559.             [1008] => 1
  560.         )
  561.  
  562.     [ciscoEnvMonFanState] => Array
  563.         (
  564.             [1007] => 1
  565.         )
  566.  
  567.     [ciscoEnvMonSupplyState] => Array
  568.         (
  569.             [1006] => 1
  570.         )
  571.  
  572. )
  573. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["state",4,"snmp"][0m 0.84ms]
  574. 1008 -> ciscoEnvMonTemperatureState
  575. 1007 -> ciscoEnvMonFanState
  576. 1006 -> ciscoEnvMonSupplyState
  577.  
  578. Count: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["count",4,"snmp"][0m 0.51ms]
  579.  
  580. Temperature: Discover sensor: .1.3.6.1.4.1.9.9.13.1.3.1.3.1008, 1008, cisco, SW#1, Sensor#1, GREEN, snmp, 1, 1, 1008, 25
  581. SQL[[1;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? [0;33m["snmp","temperature",4,"cisco","1008"][0m 0.5ms]
  582. SQL[[1;33mINSERT IGNORE INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_limit`,`sensor_limit_warn`,`sensor_limit_low`,`sensor_current`,`entPhysicalIndex`)  VALUES (:poller_type,:sensor_class,:device_id,:sensor_oid,:sensor_index,:sensor_type,:sensor_descr,:sensor_divisor,:sensor_multiplier,:sensor_limit,:sensor_limit_warn,:sensor_limit_low,:sensor_current,:entPhysicalIndex) [0;33m{"poller_type":"snmp","sensor_class":"temperature","device_id":4,"sensor_oid":".1.3.6.1.4.1.9.9.13.1.3.1.3.1008","sensor_index":1008,"sensor_type":"cisco","sensor_descr":"SW#1, Sensor#1, GREEN","sensor_divisor":"1","sensor_multiplier":"1","sensor_limit":45,"sensor_limit_warn":"64","sensor_limit_low":15,"sensor_current":"25","entPhysicalIndex":1008}[0m 0.45ms]
  583. ( 7475 inserted )
  584. +SQL[[1;33mINSERT IGNORE INTO `eventlog` (`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`)  VALUES (:device_id,:reference,:type,:datetime,:severity,:message,:username) [0;33m{"device_id":4,"reference":"7475","type":"sensor","datetime":"2019-01-30 08:47:40","severity":3,"message":"Sensor Added: temperature cisco 1008 SW#1, Sensor#1, GREEN","username":""}[0m 0.31ms]
  585. Array
  586. (
  587.     [cisco] => Array
  588.         (
  589.             [1008] => 1
  590.         )
  591.  
  592. )
  593. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["temperature",4,"snmp"][0m 0.83ms]
  594. 1008 -> cisco
  595.  
  596. Voltage: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["voltage",4,"snmp"][0m 0.71ms]
  597.  
  598. Snr: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["snr",4,"snmp"][0m 0.71ms]
  599.  
  600. Pressure: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["pressure",4,"snmp"][0m 0.67ms]
  601.  
  602. Cooling: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["cooling",4,"snmp"][0m 0.67ms]
  603.  
  604. Delay: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["delay",4,"snmp"][0m 0.64ms]
  605.  
  606. Quality_factor: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["quality_factor",4,"snmp"][0m 0.55ms]
  607.  
  608. Chromatic_dispersion: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["chromatic_dispersion",4,"snmp"][0m 0.57ms]
  609.  
  610. Ber: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["ber",4,"snmp"][0m 0.6ms]
  611.  
  612. Eer: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["eer",4,"snmp"][0m 0.57ms]
  613.  
  614. Waterflow: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["waterflow",4,"snmp"][0m 0.5ms]
  615.  
  616.  
  617. >> Runtime for discovery module 'sensors': 0.9500 seconds with 668360 bytes
  618. >> SNMP: [25/0.75s] MySQL: [48/0.03s] RRD: [0/0.00s]
  619. #### Unload disco module sensors ####
  620.  
  621. SQL[[1;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [0;33m[4,"poll_mib"][0m 0.19ms]
  622. SQL[[1;33mUPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [0;33m[2.0219999999999998,4][0m 0.54ms]
  623. Discovered in 2.022 seconds
  624.  
  625. SQL[[1;33mINSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) [0;33m{"type":"discover","doing":"sd-test-poe-01.sd.local","start":1548856058.1496699,"duration":"2.194","devices":1,"poller":"sdnms01.sd.local"}[0m 0.23ms]
  626. ./discovery.php sd-test-poe-01.sd.local 2019-01-30 08:47:40 - 1 devices discovered in 2.194 secs
  627. SNMP [27/0.80s]: Get[3/0.08s] Getnext[0/0.00s] Walk[24/0.72s]
  628. MySQL [55/0.03s]: Cell[5/0.00s] Row[4/0.00s] Rows[32/0.02s] Column[0/0.00s] Update[1/0.00s] Insert[13/0.01s] Delete[0/0.00s]
  629. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  630.