From SK, 4 Months ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.5ms]
  3.  
  4. SQL[select count(*) as aggregate from `migrations` [] 0.36ms]
  5.  
  6. SQL[select version() [] 0.3ms]
  7.  
  8. ===========================================
  9. Component | Version
  10. --------- | -------
  11. LibreNMS  | 23.11.0 (2023-11-18T00:19:04+08:00)
  12. DB Schema | 2023_12_08_184652_mpls_addrtype_fix (276)
  13. PHP       | 8.2.14
  14. Python    | 3.9.18
  15. Database  | MariaDB 10.5.16-MariaDB
  16. RRDTool   | 1.7.2
  17. SNMP      | 5.9.1
  18. ===========================================
  19. DEBUG!
  20. Updating os_def.cache  
  21. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE '10.100.0.46' ORDER BY device_id DESC [] 0.97ms]
  22.  
  23. 10.100.0.46 261 CyberPower SQL[select * from `devices` where `device_id` = ? limit 1 [261] 0.52ms]
  24.  
  25. SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [261] 0.34ms]
  26.  
  27. [FPING] '/usr/sbin/fping' '-4' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' '10.100.0.46'
  28.  
  29. response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.396/0.809/1.33  
  30. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0']  
  31. SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.38*
  32.  
  33.  
  34. Modules status: Global+  
  35. OS  
  36. Device  
  37.  
  38. #### Load disco module core ####
  39. Attempting to initialize OS: CyberPower  
  40. Attempting to initialize Group OS: Collinson  
  41. OS initialized as Generic (CyberPower)  
  42. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'COMMUNITY' '-OQXUte' '-On' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0']  
  43. .*.*.0 = .*.4.1.38*
  44. .*.*.0 = Power Management Card Lite
  45. .*.*.0 = SDCHQ-L4-UPS02
  46.  
  47.  
  48. | Power Management Card Lite | .1.3.6.1.4.1.3808.1.1.1 |
  49.  
  50. OS: CyberPower OS (CyberPower)
  51.  
  52. Attempting to initialize OS: CyberPower  
  53. Attempting to initialize Group OS: Collinson  
  54. OS initialized as Generic (CyberPower)  
  55.  
  56. >> Runtime for discovery module 'core': 0.0560 seconds with 301592 bytes
  57. >> SNMP: [1/0.04s] MySQL: [0/0.00s] RRD: [0/0.00s]  
  58. #### Unload disco module core ####
  59.  
  60. Modules status: Global+  
  61. OS  
  62. Device  
  63.  
  64. #### Load disco module os ####
  65. Yaml location data:  
  66. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysLocation.0']
  67. SDC Office Level 4  
  68.  
  69. SQL[select * from `locations` where (`location` = ?) limit 1 ["SDC Office Level 4"] 0.57ms]
  70.  
  71. ::query() failed: DNS request failed: The domain name referenced in the query does not exist.  
  72. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'sysContact.0']
  73. Administrator  
  74.  
  75. Yaml OS data:  
  76. Location: SDC Office Level 4
  77. Hardware:
  78. OS Version:
  79. OS Features:
  80. Serial:
  81.  
  82. >> Runtime for discovery module 'os': 0.0960 seconds with 644224 bytes
  83. >> SNMP: [4/0.08s] MySQL: [1/0.01s] RRD: [0/0.00s]  
  84. #### Unload disco module os ####
  85.  
  86. Modules status: Global+  
  87. OS  
  88. Device  
  89.  
  90. #### Load disco module ports ####
  91. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifDescr']
  92. ifDescr.1 = ag...
  93. ifDescr.2 = ..Q..  
  94.  
  95. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifName']
  96.  
  97.  
  98. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifAlias']
  99.  
  100.  
  101. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifType']
  102. ifType.1 = 0
  103. ifType.2 = ds1  
  104.  
  105. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifOperStatus']
  106. ifOperStatus.1 = up
  107. ifOperStatus.2 = down  
  108.  
  109. array (
  110.   1 =>
  111.   array (
  112.     'ifDescr' => 'ag...',
  113.     'ifType' => '0',
  114.     'ifOperStatus' => 'up',
  115.   ),
  116.   2 =>
  117.   array (
  118.     'ifDescr' => '..Q..',
  119.     'ifType' => 'ds1',
  120.     'ifOperStatus' => 'down',
  121.   ),
  122. )  
  123. SQL[SELECT * FROM `ports` WHERE `device_id` = ? ORDER BY port_id [261] 0.77ms]
  124.  
  125.  Using ifDescr as ifAlias  
  126.  Using ifDescr as ifName  
  127. SQL[UPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? ["ag...","0","up",1,"ag...","ag...",10636] 0.29ms]
  128.  
  129. .ignored by ifType: ds1 (matched: ds1 )  
  130. X
  131.  
  132. >> Runtime for discovery module 'ports': 0.1180 seconds with 84272 bytes
  133. >> SNMP: [5/0.12s] MySQL: [2/0.01s] RRD: [0/0.00s]  
  134. #### Unload disco module ports ####
  135.  
  136. Modules status: Global+  
  137. OS  
  138. Device  
  139.  
  140. #### Load disco module ports-stack ####
  141. SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '261' [] 0.28ms]
  142.  
  143. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifStackStatus']
  144.  
  145.  
  146.  
  147.  
  148. >> Runtime for discovery module 'ports-stack': 0.0210 seconds with 1784 bytes
  149. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  150. #### Unload disco module ports-stack ####
  151.  
  152. Modules status: Global-  
  153. OS  
  154. Device  
  155. Module [ xdsl ] disabled globally.
  156.  
  157. Modules status: Global+  
  158. OS  
  159. Device  
  160.  
  161. #### Load disco module entity-physical ####
  162.  
  163. Caching OIDs: entPhysicalEntrySNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'entPhysicalEntry']
  164.  
  165. MIB search path: /opt/librenms/mibs
  166. Cannot find module (CISCO-ENTITY-VENDORTYPE-OID-MIB): At line 12 in (none)  
  167.  
  168. SQL[SELECT * FROM `entPhysical` WHERE `device_id` = ? [261] 0.4ms]
  169.  
  170.  
  171. >> Runtime for discovery module 'entity-physical': 0.0220 seconds with 11768 bytes
  172. >> SNMP: [1/0.02s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  173. #### Unload disco module entity-physical ####
  174.  
  175. Modules status: Global-  
  176. OS  
  177. Device  
  178. Module [ entity-state ] disabled globally.
  179.  
  180. Modules status: Global-  
  181. OS  
  182. Device  
  183. Module [ isis ] disabled globally.
  184.  
  185. Modules status: Global+  
  186. OS  
  187. Device  
  188.  
  189. #### Load disco module processors ####
  190. No YAML Discovery data.  
  191. Host Resources: SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'hrProcessorLoad']
  192.  
  193.  
  194. UCD Resources: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Ovq' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.2021.11.11.0']
  195. Exitcode: 2  
  196. Error in packet
  197. Reason: (noSuchName) There is no such variable name in this MIB.
  198. Failed object: UCD-SNMP-MIB::ssCpuIdle.0  
  199.  
  200. Error in packet
  201. Reason: (noSuchName) There is no such variable name in this MIB.
  202. Failed object: UCD-SNMP-MIB::ssCpuIdle.0  
  203. SQL[SELECT * FROM `processors` WHERE `device_id`=? [261] 0.5ms]
  204.  
  205. SQL[DELETE T FROM `processors` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `devices`.`device_id` IS NULL [] 1.22ms]
  206.  
  207.  
  208.  
  209. >> Runtime for discovery module 'processors': 0.0630 seconds with 124040 bytes
  210. >> SNMP: [2/0.06s] MySQL: [2/0.02s] RRD: [0/0.00s]  
  211. #### Unload disco module processors ####
  212.  
  213. Modules status: Global+  
  214. OS  
  215. Device  
  216.  
  217. #### Load disco module mempools ####
  218. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'hrStorageTable']
  219.  
  220.  
  221. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-OQUv' '-m' 'HOST-RESOURCES-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'hrMemorySize.0']
  222. Exitcode: 2  
  223. Error in packet
  224. Reason: (noSuchName) There is no such variable name in this MIB.
  225. Failed object: HOST-RESOURCES-MIB::hrMemorySize.0  
  226.  
  227. Error in packet
  228. Reason: (noSuchName) There is no such variable name in this MIB.
  229. Failed object: HOST-RESOURCES-MIB::hrMemorySize.0  
  230. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'memTotalSwap.0' 'memAvailSwap.0' 'memTotalReal.0' 'memAvailReal.0' 'memBuffer.0' 'memCached.0' 'memSysAvail.0']
  231. Exitcode: 2  
  232. Error in packet
  233. Reason: (noSuchName) There is no such variable name in this MIB.
  234. Failed object: memTotalSwap.0
  235.  
  236. Error in packet
  237. Reason: (noSuchName) There is no such variable name in this MIB.
  238. Failed object: memAvailSwap.0
  239.  
  240. Error in packet
  241. Reason: (noSuchName) There is no such variable name in this MIB.
  242. Failed object: memTotalReal.0
  243.  
  244. Error in packet
  245. Reason: (noSuchName) There is no such variable name in this MIB.
  246. Failed object: memAvailReal.0
  247.  
  248. Error in packet
  249. Reason: (noSuchName) There is no such variable name in this MIB.
  250. Failed object: memBuffer.0
  251.  
  252. Error in packet
  253. Reason: (noSuchName) There is no such variable name in this MIB.
  254. Failed object: memCached.0
  255.  
  256. Error in packet
  257. Reason: (noSuchName) There is no such variable name in this MIB.
  258. Failed object: memSysAvail.0  
  259.  
  260. Error in packet
  261. Reason: (noSuchName) There is no such variable name in this MIB.
  262. Failed object: memTotalSwap.0
  263.  
  264. Error in packet
  265. Reason: (noSuchName) There is no such variable name in this MIB.
  266. Failed object: memAvailSwap.0
  267.  
  268. Error in packet
  269. Reason: (noSuchName) There is no such variable name in this MIB.
  270. Failed object: memTotalReal.0
  271.  
  272. Error in packet
  273. Reason: (noSuchName) There is no such variable name in this MIB.
  274. Failed object: memAvailReal.0
  275.  
  276. Error in packet
  277. Reason: (noSuchName) There is no such variable name in this MIB.
  278. Failed object: memBuffer.0
  279.  
  280. Error in packet
  281. Reason: (noSuchName) There is no such variable name in this MIB.
  282. Failed object: memCached.0
  283.  
  284. Error in packet
  285. Reason: (noSuchName) There is no such variable name in this MIB.
  286. Failed object: memSysAvail.0  
  287. SQL[select * from `mempools` where `mempools`.`device_id` = ? and `mempools`.`device_id` is not null [261] 0.48ms]
  288.  
  289.  
  290.  
  291. >> Runtime for discovery module 'mempools': 0.0690 seconds with 96504 bytes
  292. >> SNMP: [2/0.05s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  293. #### Unload disco module mempools ####
  294.  
  295. Modules status: Global+  
  296. OS  
  297. Device  
  298.  
  299. #### Load disco module cisco-vrf-lite ####
  300. SQL[SELECT * FROM vrf_lite_cisco WHERE device_id = ?  [261] 0.36ms]
  301.  
  302.  
  303. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 2392 bytes
  304. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  305. #### Unload disco module cisco-vrf-lite ####
  306.  
  307. Modules status: Global-  
  308. OS  
  309. Device  
  310. Module [ cisco-mac-accounting ] disabled globally.
  311.  
  312. Modules status: Global-  
  313. OS  
  314. Device  
  315. Module [ cisco-pw ] disabled globally.
  316.  
  317. Modules status: Global+  
  318. OS  
  319. Device  
  320.  
  321. #### Load disco module vrf ####
  322.  
  323. SQL[SELECT * FROM ports WHERE device_id = '261' [] 0.46ms]
  324.  
  325. SQL[SELECT * FROM vrfs WHERE device_id = '261' [] 0.22ms]
  326.  
  327.  
  328.  
  329. >> Runtime for discovery module 'vrf': 0.0010 seconds with 4736 bytes
  330. >> SNMP: [0/0.00s] MySQL: [2/0.01s] RRD: [0/0.00s]  
  331. #### Unload disco module vrf ####
  332.  
  333. Modules status: Global-  
  334. OS  
  335. Device  
  336. Module [ cisco-cef ] disabled globally.
  337.  
  338. Modules status: Global-  
  339. OS  
  340. Device  
  341. Module [ slas ] disabled globally.
  342.  
  343. Modules status: Global-  
  344. OS  
  345. Device  
  346. Module [ cisco-cbqos ] disabled globally.
  347.  
  348. Modules status: Global-  
  349. OS  
  350. Device  
  351. Module [ cisco-otv ] disabled globally.
  352.  
  353. Modules status: Global-  
  354. OS  
  355. Device  
  356. Module [ cisco-qfp ] disabled globally.
  357.  
  358. Modules status: Global+  
  359. OS  
  360. Device  
  361.  
  362. #### Load disco module ipv4-addresses ####
  363. SQL[select * from `vrf_lite_cisco` where `vrf_lite_cisco`.`device_id` = ? and `vrf_lite_cisco`.`device_id` is not null [261] 0.25ms]
  364.  
  365. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-Osq' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ipAdEntIfIndex']
  366. ipAdEntIfIndex.* 1  
  367.  
  368. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ipAdEntNetMask.10.100.0.46']
  369. *  
  370.  
  371. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = ? AND `ifIndex` = ? [261,"1"] 1.3ms]
  372.  
  373. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [261,"1"] 0.35ms]
  374.  
  375. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = ? ["10.100.0.0\/25"] 0.47ms]
  376.  
  377. SQL[UPDATE `ipv4_networks` set `context_name`=? WHERE `ipv4_network` = ? ["","10.100.0.0\/25"] 0.5ms]
  378.  
  379. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = ? ["10.100.0.0\/25"] 0.38ms]
  380.  
  381. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ?  ["10.100.0.46",25,10636] 0.29ms]
  382.  
  383. SQL[UPDATE `ipv4_addresses` set `context_name`=? WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ? ["","10.100.0.46",25,10636] 0.27ms]
  384.  
  385. .SQL[SELECT `ipv4_addresses`.*, `ports`.`device_id`, `ports`.`ifIndex` FROM `ipv4_addresses` LEFT JOIN `ports` ON `ipv4_addresses`.`port_id` = `ports`.`port_id` WHERE `ports`.device_id = ? OR `ports`.`device_id` IS NULL [261] 3.1ms]
  386.  
  387.  
  388.  
  389. >> Runtime for discovery module 'ipv4-addresses': 0.0540 seconds with 46272 bytes
  390. >> SNMP: [2/0.04s] MySQL: [9/0.07s] RRD: [0/0.00s]  
  391. #### Unload disco module ipv4-addresses ####
  392.  
  393. Modules status: Global-  
  394. OS  
  395. Device  
  396. Module [ ipv6-addresses ] disabled globally.
  397.  
  398. Modules status: Global+  
  399. OS  
  400. Device  
  401.  
  402. #### Load disco module route ####
  403. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Osqn' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'IP-FORWARD-MIB::inetCidrRouteNumber.0']
  404. Exitcode: 2  
  405. Error in packet
  406. Reason: (noSuchName) There is no such variable name in this MIB.
  407. Failed object: .1.3.6.1.2.1.4.24.6.0  
  408.  
  409. Error in packet
  410. Reason: (noSuchName) There is no such variable name in this MIB.
  411. Failed object: .1.3.6.1.2.1.4.24.6.0  
  412. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-FORWARD-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'inetCidrRouteNumber.0' 'ipCidrRouteNumber.0']
  413. Exitcode: 2  
  414. Error in packet
  415. Reason: (noSuchName) There is no such variable name in this MIB.
  416. Failed object: inetCidrRouteNumber.0
  417.  
  418. Error in packet
  419. Reason: (noSuchName) There is no such variable name in this MIB.
  420. Failed object: ipCidrRouteNumber.0  
  421.  
  422. Error in packet
  423. Reason: (noSuchName) There is no such variable name in this MIB.
  424. Failed object: inetCidrRouteNumber.0
  425.  
  426. Error in packet
  427. Reason: (noSuchName) There is no such variable name in this MIB.
  428. Failed object: ipCidrRouteNumber.0  
  429. SQL[select now() as now [] 0.25ms]
  430.  
  431. SQL[select * from `route` where `device_id` = ? [261] 11.06ms]
  432.  
  433. Reporting disabled by user setting  
  434. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'RFC1213-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' '.1.3.6.1.2.1.4.21']
  435. ipRouteDest[*] = *
  436. ipRouteDest[*] = *
  437. ipRouteIfIndex[*] = 1
  438. ipRouteIfIndex[*] = 1
  439. ipRouteMetric1[*] = 1
  440. ipRouteMetric1[*] = 0
  441. ipRouteMetric2[*] = -1
  442. ipRouteMetric2[*] = -1
  443. ipRouteMetric3[*] = -1
  444. ipRouteMetric3[*] = -1
  445. ipRouteMetric4[*] = -1
  446. ipRouteMetric4[*] = -1
  447. ipRouteNextHop[*] = *
  448. ipRouteNextHop[*] = *
  449. ipRouteType[*] = 4
  450. ipRouteType[*] = 3
  451. ipRouteProto[*] = 2
  452. ipRouteProto[*] = 2
  453. ipRouteAge[*] = 0
  454. ipRouteAge[*] = 0
  455. ipRouteMask[*] = *
  456. ipRouteMask[*] = *
  457. ipRouteMetric5[*] = -1
  458. ipRouteMetric5[*] = -1
  459. ipRouteInfo[*] = ccitt.0
  460. ipRouteInfo[*] = ccitt.0  
  461.  
  462. Routing table:  
  463. array (
  464.   '0.0.0.0' =>
  465.   array (
  466.     'ipRouteDest' => '0.0.0.0',
  467.     'ipRouteIfIndex' => '1',
  468.     'ipRouteMetric1' => '1',
  469.     'ipRouteMetric2' => '-1',
  470.     'ipRouteMetric3' => '-1',
  471.     'ipRouteMetric4' => '-1',
  472.     'ipRouteNextHop' => '10.100.0.1',
  473.     'ipRouteType' => '4',
  474.     'ipRouteProto' => '2',
  475.     'ipRouteAge' => '0',
  476.     'ipRouteMask' => '0.0.0.0',
  477.     'ipRouteMetric5' => '-1',
  478.     'ipRouteInfo' => 'ccitt.0',
  479.   ),
  480.   '10.100.0.0' =>
  481.   array (
  482.     'ipRouteDest' => '10.100.0.0',
  483.     'ipRouteIfIndex' => '1',
  484.     'ipRouteMetric1' => '0',
  485.     'ipRouteMetric2' => '-1',
  486.     'ipRouteMetric3' => '-1',
  487.     'ipRouteMetric4' => '-1',
  488.     'ipRouteNextHop' => '10.100.0.46',
  489.     'ipRouteType' => '3',
  490.     'ipRouteProto' => '2',
  491.     'ipRouteAge' => '0',
  492.     'ipRouteMask' => '255.255.255.128',
  493.     'ipRouteMetric5' => '-1',
  494.     'ipRouteInfo' => 'ccitt.0',
  495.   ),
  496. )  
  497. RFC1213 SQL[select * from `devices` where `devices`.`device_id` = ? limit 1 [261] 0.65ms]
  498.  
  499. SQL[select * from `ports` where `ports`.`device_id` = ? and `ports`.`device_id` is not null and `ifIndex` = ? limit 1 [261,"1"] 0.57ms]
  500.  
  501. SQL[select * from `devices` where `devices`.`device_id` = ? limit 1 [261] 0.41ms]
  502.  
  503. SQL[select * from `ports` where `ports`.`device_id` = ? and `ports`.`device_id` is not null and `ifIndex` = ? limit 1 [261,"1"] 0.43ms]
  504.  
  505. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'MPLS-L3VPN-STD-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'mplsL3VpnVrfPerfCurrNumRoutes']
  506.  
  507.  
  508. mplsL3VpnVrfRteTable SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'MPLS-L3VPN-STD-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'mplsL3VpnVrfRteTable']
  509.  
  510.  
  511.  
  512. Processing: SQL[DELETE FROM `route` WHERE `route_id` = ? [384099] 0.39ms]
  513.  
  514. -array (
  515.   'route_id' => 384099,
  516.   'created_at' => '2024-01-02 17:39:42',
  517.   'updated_at' => '2024-01-02 17:39:42',
  518.   'device_id' => 261,
  519.   'port_id' => 10636,
  520.   'context_name' => '',
  521.   'inetCidrRouteIfIndex' => 1,
  522.   'inetCidrRouteType' => 4,
  523.   'inetCidrRouteProto' => 2,
  524.   'inetCidrRouteNextHopAS' => 0,
  525.   'inetCidrRouteMetric1' => 1,
  526.   'inetCidrRouteDestType' => 'ipv4',
  527.   'inetCidrRouteDest' => '0.0.0.0',
  528.   'inetCidrRouteNextHopType' => 'ipv4',
  529.   'inetCidrRouteNextHop' => '10.100.0.1',
  530.   'inetCidrRoutePolicy' => 'ccitt.0',
  531.   'inetCidrRoutePfxLen' => 0,
  532. )  
  533. SQL[DELETE FROM `route` WHERE `route_id` = ? [384100] 0.23ms]
  534.  
  535. -array (
  536.   'route_id' => 384100,
  537.   'created_at' => '2024-01-02 17:39:42',
  538.   'updated_at' => '2024-01-02 17:39:42',
  539.   'device_id' => 261,
  540.   'port_id' => 10636,
  541.   'context_name' => '',
  542.   'inetCidrRouteIfIndex' => 1,
  543.   'inetCidrRouteType' => 3,
  544.   'inetCidrRouteProto' => 2,
  545.   'inetCidrRouteNextHopAS' => 0,
  546.   'inetCidrRouteMetric1' => 0,
  547.   'inetCidrRouteDestType' => 'ipv4',
  548.   'inetCidrRouteDest' => '10.100.0.0',
  549.   'inetCidrRouteNextHopType' => 'ipv4',
  550.   'inetCidrRouteNextHop' => '10.100.0.46',
  551.   'inetCidrRoutePolicy' => 'ccitt.0',
  552.   'inetCidrRoutePfxLen' => 25,
  553. )  
  554. SQL[INSERT IGNORE INTO `route` (`inetCidrRouteDestType`,`inetCidrRouteDest`,`inetCidrRoutePfxLen`,`inetCidrRoutePolicy`,`inetCidrRouteNextHopType`,`inetCidrRouteNextHop`,`inetCidrRouteMetric1`,`inetCidrRouteNextHopAS`,`inetCidrRouteProto`,`inetCidrRouteType`,`inetCidrRouteIfIndex`,`context_name`,`device_id`,`port_id`,`updated_at`,`created_at`)  VALUES (:inetCidrRouteDestType,:inetCidrRouteDest,:inetCidrRoutePfxLen,:inetCidrRoutePolicy,:inetCidrRouteNextHopType,:inetCidrRouteNextHop,:inetCidrRouteMetric1,:inetCidrRouteNextHopAS,:inetCidrRouteProto,:inetCidrRouteType,:inetCidrRouteIfIndex,:context_name,:device_id,:port_id,:updated_at,:created_at) {"inetCidrRouteDestType":"ipv4","inetCidrRouteDest":"0.0.0.0","inetCidrRoutePfxLen":0,"inetCidrRoutePolicy":"ccitt.0","inetCidrRouteNextHopType":"ipv4","inetCidrRouteNextHop":"10.100.0.1","inetCidrRouteMetric1":"1","inetCidrRouteNextHopAS":"0","inetCidrRouteProto":"2","inetCidrRouteType":"4","inetCidrRouteIfIndex":"1","context_name":"","device_id":261,"port_id":10636,"updated_at":"2024-01-02 17:40:41","created_at":"2024-01-02 17:40:41"} 0.24ms]
  555.  
  556. +SQL[INSERT IGNORE INTO `route` (`inetCidrRouteDestType`,`inetCidrRouteDest`,`inetCidrRoutePfxLen`,`inetCidrRoutePolicy`,`inetCidrRouteNextHopType`,`inetCidrRouteNextHop`,`inetCidrRouteMetric1`,`inetCidrRouteNextHopAS`,`inetCidrRouteProto`,`inetCidrRouteType`,`inetCidrRouteIfIndex`,`context_name`,`device_id`,`port_id`,`updated_at`,`created_at`)  VALUES (:inetCidrRouteDestType,:inetCidrRouteDest,:inetCidrRoutePfxLen,:inetCidrRoutePolicy,:inetCidrRouteNextHopType,:inetCidrRouteNextHop,:inetCidrRouteMetric1,:inetCidrRouteNextHopAS,:inetCidrRouteProto,:inetCidrRouteType,:inetCidrRouteIfIndex,:context_name,:device_id,:port_id,:updated_at,:created_at) {"inetCidrRouteDestType":"ipv4","inetCidrRouteDest":"10.100.0.0","inetCidrRoutePfxLen":25,"inetCidrRoutePolicy":"ccitt.0","inetCidrRouteNextHopType":"ipv4","inetCidrRouteNextHop":"10.100.0.46","inetCidrRouteMetric1":"0","inetCidrRouteNextHopAS":"0","inetCidrRouteProto":"2","inetCidrRouteType":"3","inetCidrRouteIfIndex":"1","context_name":"","device_id":261,"port_id":10636,"updated_at":"2024-01-02 17:40:41","created_at":"2024-01-02 17:40:41"} 0.2ms]
  557.  
  558. +
  559. >> Runtime for discovery module 'route': 0.1550 seconds with 111576 bytes
  560. >> SNMP: [2/0.06s] MySQL: [10/0.14s] RRD: [0/0.00s]  
  561. #### Unload disco module route ####
  562.  
  563. Modules status: Global+  
  564. OS  
  565. Device  
  566.  
  567. #### Load disco module sensors ####
  568.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'entPhysicalDescr']
  569.  
  570.  
  571.  
  572. SQL[SELECT * 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 = ? ["voltage",261,"ipmi"] 0.76ms]
  573.  
  574. SQL[SELECT * 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 = ? ["temperature",261,"ipmi"] 0.45ms]
  575.  
  576. SQL[SELECT * 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 = ? ["fanspeed",261,"ipmi"] 0.44ms]
  577.  
  578. SQL[SELECT * 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 = ? ["power",261,"ipmi"] 0.47ms]
  579.  
  580. Airflow: array (
  581. )  
  582. SQL[SELECT * 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 = ? ["airflow",261,"snmp"] 0.48ms]
  583.  
  584.  
  585. Current: array (
  586. )  
  587. SQL[SELECT * 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 = ? ["current",261,"snmp"] 0.46ms]
  588.  
  589.  
  590. Charge: array (
  591. )  
  592. SQL[SELECT * 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 = ? ["charge",261,"snmp"] 0.48ms]
  593.  
  594.  
  595. Dbm: array (
  596. )  
  597. SQL[SELECT * 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 = ? ["dbm",261,"snmp"] 0.47ms]
  598.  
  599.  
  600. Fanspeed: array (
  601. )  
  602. SQL[SELECT * 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 = ? ["fanspeed",261,"snmp"] 0.45ms]
  603.  
  604.  
  605. Frequency: array (
  606. )  
  607. SQL[SELECT * 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 = ? ["frequency",261,"snmp"] 0.45ms]
  608.  
  609.  
  610. Humidity: array (
  611. )  
  612. SQL[SELECT * 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 = ? ["humidity",261,"snmp"] 0.54ms]
  613.  
  614.  
  615. Load: array (
  616. )  
  617. SQL[SELECT * 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 = ? ["load",261,"snmp"] 0.45ms]
  618.  
  619.  
  620. Loss: array (
  621. )  
  622. SQL[SELECT * 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 = ? ["loss",261,"snmp"] 0.46ms]
  623.  
  624.  
  625. Power: array (
  626. )  
  627. SQL[SELECT * 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 = ? ["power",261,"snmp"] 0.5ms]
  628.  
  629.  
  630. Power_consumed: array (
  631. )  
  632. SQL[SELECT * 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 = ? ["power_consumed",261,"snmp"] 0.48ms]
  633.  
  634.  
  635. Power_factor: array (
  636. )  
  637. SQL[SELECT * 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 = ? ["power_factor",261,"snmp"] 0.46ms]
  638.  
  639.  
  640. Runtime: array (
  641. )  
  642. SQL[SELECT * 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 = ? ["runtime",261,"snmp"] 0.45ms]
  643.  
  644.  
  645. Signal: array (
  646. )  
  647. SQL[SELECT * 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 = ? ["signal",261,"snmp"] 0.52ms]
  648.  
  649.  
  650. State: array (
  651. )  
  652. SQL[SELECT * 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 = ? ["state",261,"snmp"] 0.47ms]
  653.  
  654.  
  655. Count: array (
  656. )  
  657. SQL[SELECT * 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 = ? ["count",261,"snmp"] 0.45ms]
  658.  
  659.  
  660. Temperature: array (
  661. )  
  662. SQL[SELECT * 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 = ? ["temperature",261,"snmp"] 0.46ms]
  663.  
  664.  
  665. Tv_signal: array (
  666. )  
  667. SQL[SELECT * 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 = ? ["tv_signal",261,"snmp"] 0.47ms]
  668.  
  669.  
  670. Bitrate: array (
  671. )  
  672. SQL[SELECT * 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 = ? ["bitrate",261,"snmp"] 0.44ms]
  673.  
  674.  
  675. Voltage: array (
  676. )  
  677. SQL[SELECT * 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 = ? ["voltage",261,"snmp"] 0.44ms]
  678.  
  679.  
  680. Snr: array (
  681. )  
  682. SQL[SELECT * 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 = ? ["snr",261,"snmp"] 0.48ms]
  683.  
  684.  
  685. Pressure: array (
  686. )  
  687. SQL[SELECT * 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 = ? ["pressure",261,"snmp"] 0.46ms]
  688.  
  689.  
  690. Cooling: array (
  691. )  
  692. SQL[SELECT * 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 = ? ["cooling",261,"snmp"] 0.45ms]
  693.  
  694.  
  695. Delay: array (
  696. )  
  697. SQL[SELECT * 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 = ? ["delay",261,"snmp"] 0.49ms]
  698.  
  699.  
  700. Quality_factor: array (
  701. )  
  702. SQL[SELECT * 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 = ? ["quality_factor",261,"snmp"] 0.47ms]
  703.  
  704.  
  705. Chromatic_dispersion: array (
  706. )  
  707. SQL[SELECT * 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 = ? ["chromatic_dispersion",261,"snmp"] 0.47ms]
  708.  
  709.  
  710. Ber: array (
  711. )  
  712. SQL[SELECT * 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 = ? ["ber",261,"snmp"] 0.45ms]
  713.  
  714.  
  715. Eer: array (
  716. )  
  717. SQL[SELECT * 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 = ? ["eer",261,"snmp"] 0.49ms]
  718.  
  719.  
  720. Waterflow: array (
  721. )  
  722. SQL[SELECT * 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 = ? ["waterflow",261,"snmp"] 0.47ms]
  723.  
  724.  
  725. Percent: array (
  726. )  
  727. SQL[SELECT * 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 = ? ["percent",261,"snmp"] 0.47ms]
  728.  
  729.  
  730.  
  731. >> Runtime for discovery module 'sensors': 0.0470 seconds with 93136 bytes
  732. >> SNMP: [1/0.02s] MySQL: [34/0.16s] RRD: [0/0.00s]  
  733. #### Unload disco module sensors ####
  734.  
  735. Modules status: Global+  
  736. OS  
  737. Device  
  738.  
  739. #### Load disco module storage ####
  740. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'DATA-DOMAIN-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/datadomain' 'udp:HOSTNAME:161' 'fileSystemSpaceTable']
  741.  
  742.  
  743. hrStorage : SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dskTable']
  744.  
  745.  
  746. SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id`  = '261' AND `storage_type` != 'dsk' [] 0.45ms]
  747.  
  748. array (
  749. )  
  750. SQL[SELECT * FROM `storage` WHERE `device_id`  = '261' [] 0.37ms]
  751.  
  752.  
  753.  
  754. >> Runtime for discovery module 'storage': 0.0570 seconds with 15248 bytes
  755. >> SNMP: [2/0.05s] MySQL: [2/0.01s] RRD: [0/0.00s]  
  756. #### Unload disco module storage ####
  757.  
  758. Modules status: Global+  
  759. OS  
  760. Device  
  761.  
  762. #### Load disco module hr-device ####
  763. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'hrProcessorTable']
  764.  
  765.  
  766. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'hrDeviceTable']
  767.  
  768.  
  769. array (
  770. )  
  771. SQL[SELECT * FROM `hrDevice` WHERE `device_id`  = '261' [] 0.4ms]
  772.  
  773.  
  774.  
  775. >> Runtime for discovery module 'hr-device': 0.0480 seconds with 2536 bytes
  776. >> SNMP: [2/0.05s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  777. #### Unload disco module hr-device ####
  778.  
  779. Modules status: Global+  
  780. OS  
  781. Device  
  782.  
  783. #### Load disco module discovery-protocols ####
  784.  LLDP-MIB: SNMP['/usr/bin/snmpwalk' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'COMMUNITY' '-OQXUte' '-Os' 'udp:HOSTNAME:161' 'LLDP-MIB::lldpRemTable']  
  785. End of MIB
  786.  
  787.  
  788.  
  789.  OSPF Discovery: SQL[SELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`=? [261] 0.47ms]
  790.  
  791.  
  792.  
  793. SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = ? [261] 0.69ms]
  794.  
  795. SQL[DELETE T FROM `links` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`local_device_id` WHERE `devices`.`device_id` IS NULL [] 1.65ms]
  796.  
  797.  0 orphaned links deleted  
  798.  
  799. >> Runtime for discovery module 'discovery-protocols': 0.0360 seconds with 12008 bytes
  800. >> SNMP: [1/0.03s] MySQL: [3/0.03s] RRD: [0/0.00s]  
  801. #### Unload disco module discovery-protocols ####
  802.  
  803. Modules status: Global+  
  804. OS  
  805. Device  
  806.  
  807. #### Load disco module arp-table ####
  808. SNMP['/usr/bin/snmpwalk' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'IP-MIB::ipNetToPhysicalPhysAddress']  
  809.  
  810.  
  811. SNMP['/usr/bin/snmpwalk' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'IP-MIB::ipNetToMediaPhysAddress']  
  812. IP-MIB::ipNetToMediaPhysAddress[1][*] = 0:0:c:9f:f3:20
  813. IP-MIB::ipNetToMediaPhysAddress[1][*] = d4:77:98:97:aa:52
  814.  
  815.  
  816. SQL[SELECT * from `ipv4_mac` WHERE `device_id`=? AND `context_name`=? [261,""] 2.95ms]
  817.  
  818. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [261,1] 0.5ms]
  819.  
  820. ag...:
  821. 0:0:c:9f:f3:20 => 10.100.0.1  
  822. d4:77:98:97:aa:52 => 10.100.0.40  
  823.  
  824. SQL[DELETE T FROM `ipv4_mac` T LEFT JOIN `ports` ON `ports`.`port_id` = T.`port_id` LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `ports`.`port_id` IS NULL AND `devices`.`device_id` IS NULL [] 9.81ms]
  825.  
  826.  
  827.  
  828. >> Runtime for discovery module 'arp-table': 0.0630 seconds with 30032 bytes
  829. >> SNMP: [2/0.05s] MySQL: [3/0.13s] RRD: [0/0.00s]  
  830. #### Unload disco module arp-table ####
  831.  
  832. Modules status: Global-  
  833. OS  
  834. Device  
  835. Module [ discovery-arp ] disabled globally.
  836.  
  837. Modules status: Global-  
  838. OS  
  839. Device  
  840. Module [ junose-atm-vp ] disabled globally.
  841.  
  842. Modules status: Global+  
  843. OS  
  844. Device-  
  845. Module [ bgp-peers ] disabled on host.
  846.  
  847. Modules status: Global+  
  848. OS  
  849. Device  
  850.  
  851. #### Load disco module vlans ####
  852. SQL[SELECT * FROM `vlans` WHERE `device_id` = ? [261] 0.31ms]
  853.  
  854. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot1dBasePortIfIndex']
  855.  
  856.  
  857. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-m' 'IEEE8021-Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot1qVlanVersionNumber.0']
  858. Exitcode: 2  
  859. Error in packet
  860. Reason: (noSuchName) There is no such variable name in this MIB.
  861. Failed object: Q-BRIDGE-MIB::dot1qVlanVersionNumber.0  
  862.  
  863. Error in packet
  864. Reason: (noSuchName) There is no such variable name in this MIB.
  865. Failed object: Q-BRIDGE-MIB::dot1qVlanVersionNumber.0  
  866.  
  867.  
  868. >> Runtime for discovery module 'vlans': 0.0580 seconds with 6392 bytes
  869. >> SNMP: [2/0.06s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  870. #### Unload disco module vlans ####
  871.  
  872. Modules status: Global-  
  873. OS  
  874. Device  
  875. Module [ vminfo ] disabled globally.
  876.  
  877. Modules status: Global-  
  878. OS  
  879. Device  
  880. Module [ printer-supplies ] disabled globally.
  881.  
  882. Modules status: Global+  
  883. OS  
  884. Device  
  885.  
  886. #### Load disco module ucd-diskio ####
  887. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-DISKIO-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'diskIOEntry']
  888.  
  889.  
  890. array (
  891. )  
  892. SQL[SELECT * FROM `ucd_diskio` where `device_id`  = '261' [] 0.39ms]
  893.  
  894.  
  895.  
  896. >> Runtime for discovery module 'ucd-diskio': 0.0220 seconds with 1688 bytes
  897. >> SNMP: [1/0.02s] MySQL: [1/0.00s] RRD: [0/0.00s]  
  898. #### Unload disco module ucd-diskio ####
  899.  
  900. Modules status: Global-  
  901. OS  
  902. Device+  
  903.  
  904. #### Load disco module applications ####
  905.  
  906. Applications: SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'NET-SNMP-EXTEND-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'nsExtendStatus']
  907.  
  908.  
  909.  
  910. Available:  
  911. Checking for:  
  912. SQL[SELECT `app_type`,`discovered` FROM `applications` WHERE `device_id`=? AND deleted_at IS NULL ORDER BY `app_type` [261] 0.5ms]
  913.  
  914. SQL[select * from `applications` where `applications`.`device_id` = ? and `applications`.`device_id` is not null and 0 = 1 and `applications`.`deleted_at` is null [261] 0.32ms]
  915.  
  916. SQL[DELETE T FROM `application_metrics` T LEFT JOIN `applications` ON `applications`.`app_id` = T.`app_id` WHERE `applications`.`app_id` IS NULL [] 0.22ms]
  917.  
  918.  
  919.  
  920. >> Runtime for discovery module 'applications': 0.0230 seconds with 138152 bytes
  921. >> SNMP: [1/0.02s] MySQL: [3/0.01s] RRD: [0/0.00s]  
  922. #### Unload disco module applications ####
  923.  
  924. Modules status: Global+  
  925. OS  
  926. Device  
  927.  
  928. #### Load disco module services ####
  929.  
  930. >> Runtime for discovery module 'services': 0.0000 seconds with 688 bytes
  931. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]  
  932. #### Unload disco module services ####
  933.  
  934. Modules status: Global+  
  935. OS  
  936. Device  
  937.  
  938. #### Load disco module stp ####
  939. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'BRIDGE-MIB::dot1dStpProtocolSpecification.0']  
  940. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: BRIDGE-MIB::dot1dStpProtocolSpecification.0\n\n"]
  941.  
  942. Error in packet
  943. Reason: (noSuchName) There is no such variable name in this MIB.
  944. Failed object: BRIDGE-MIB::dot1dStpProtocolSpecification.0
  945.  
  946.  
  947. Instances: SQL[select * from `stp` where `stp`.`device_id` = ? and `stp`.`device_id` is not null [261] 0.61ms]
  948.  
  949.  
  950. Ports: SQL[select * from `ports_stp` where `ports_stp`.`device_id` = ? and `ports_stp`.`device_id` is not null [261] 0.39ms]
  951.  
  952.  
  953.  
  954. >> Runtime for discovery module 'stp': 0.0270 seconds with 69528 bytes
  955. >> SNMP: [1/0.02s] MySQL: [2/0.01s] RRD: [0/0.00s]  
  956. #### Unload disco module stp ####
  957.  
  958. Modules status: Global+  
  959. OS  
  960. Device  
  961.  
  962. #### Load disco module ntp ####
  963.  
  964. >> Runtime for discovery module 'ntp': 0.0000 seconds with 232 bytes
  965. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]  
  966. #### Unload disco module ntp ####
  967.  
  968. Modules status: Global-  
  969. OS  
  970. Device  
  971. Module [ loadbalancers ] disabled globally.
  972.  
  973. Modules status: Global-  
  974. OS  
  975. Device  
  976. Module [ mef ] disabled globally.
  977.  
  978. Modules status: Global+  
  979. OS  
  980. Device  
  981.  
  982. #### Load disco module wireless ####
  983. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"ap-count"] 0.55ms]
  984.  
  985. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"clients"] 0.37ms]
  986.  
  987. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"quality"] 0.32ms]
  988.  
  989. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"capacity"] 0.36ms]
  990.  
  991. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"utilization"] 0.35ms]
  992.  
  993. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"rate"] 0.32ms]
  994.  
  995. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"ccq"] 0.33ms]
  996.  
  997. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"snr"] 0.33ms]
  998.  
  999. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"sinr"] 0.33ms]
  1000.  
  1001. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"rsrp"] 0.34ms]
  1002.  
  1003. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"rsrq"] 3.34ms]
  1004.  
  1005. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"ssr"] 0.34ms]
  1006.  
  1007. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"mse"] 0.31ms]
  1008.  
  1009. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"xpi"] 0.35ms]
  1010.  
  1011. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"rssi"] 0.3ms]
  1012.  
  1013. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"power"] 0.33ms]
  1014.  
  1015. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"noise-floor"] 0.3ms]
  1016.  
  1017. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"errors"] 0.34ms]
  1018.  
  1019. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"error-ratio"] 0.3ms]
  1020.  
  1021. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"error-rate"] 0.32ms]
  1022.  
  1023. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"frequency"] 0.29ms]
  1024.  
  1025. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"distance"] 0.33ms]
  1026.  
  1027. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"cell"] 0.3ms]
  1028.  
  1029. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [261,"channel"] 0.3ms]
  1030.  
  1031.  
  1032. >> Runtime for discovery module 'wireless': 0.0180 seconds with 138488 bytes
  1033. >> SNMP: [0/0.00s] MySQL: [24/0.11s] RRD: [0/0.00s]  
  1034. #### Unload disco module wireless ####
  1035.  
  1036. Modules status: Global+  
  1037. OS  
  1038. Device  
  1039.  
  1040. #### Load disco module fdb-table ####
  1041. SQL[SELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = ? [261] 0.26ms]
  1042.  
  1043. SQL[SELECT * FROM `ports_fdb` WHERE `device_id` = ? [261] 0.24ms]
  1044.  
  1045. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot1qTpFdbPort']
  1046.  
  1047.  
  1048. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot1dTpFdbPort']
  1049.  
  1050.  
  1051.  
  1052.  
  1053. >> Runtime for discovery module 'fdb-table': 0.0540 seconds with 3288 bytes
  1054. >> SNMP: [0/0.00s] MySQL: [2/0.01s] RRD: [0/0.00s]  
  1055. #### Unload disco module fdb-table ####
  1056.  
  1057. Modules status: Global+  
  1058. OS  
  1059. Device  
  1060.  
  1061. #### Load disco module mpls ####
  1062.  
  1063. >> Runtime for discovery module 'mpls': 0.0000 seconds with 36912 bytes
  1064. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]  
  1065. #### Unload disco module mpls ####
  1066.  
  1067. SQL[update `devices` set `last_discovered_timetaken` = ?, `last_discovered` = NOW() where `device_id` = ? [2.182,261] 0.42ms]
  1068.  
  1069. Discovered in 2.182 seconds
  1070.  
  1071. ./discovery.php 10.100.0.46 2024-01-02 17:40:42 - 1 devices discovered in 2.422 secs  
  1072.  
  1073. SNMP [33/0.81s]: Snmpget[14/0.36s] Snmpwalk[19/0.45s]  
  1074. SQL [114/0.79s]: Select[102/0.63s] Update[4/0.01s] Delete[6/0.14s] Insert[2/0.00s]  
  1075. RRD [0/0.00s]:  
  1076. [root@nms librenms]#