ℹ️ Your data is safe here... unless you make the SNIP gods angry. And let's just say they have a really bad sense of humor.

From librenms, 2 Months 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.85ms]
  3.  
  4. SQL[[1;33mselect count(*) as aggregate from `migrations` [0;33m[][0m 0.69ms]
  5.  
  6. SQL[[1;33mselect version() [0;33m[][0m 0.44ms]
  7.  
  8. ===========================================
  9. Component | Version
  10. --------- | -------
  11. LibreNMS  | 25.1.0 (2025-01-21T07:15:30+08:00)
  12. DB Schema | 2024_11_22_135845_alert_log_refactor_indexes (310)
  13. PHP       | 8.3.16
  14. Python    | 3.12.8
  15. Database  | MariaDB 10.11.10-MariaDB-ubu2204
  16. RRDTool   | 1.9.0
  17. SNMP      | 5.9.4
  18. ===========================================
  19. DEBUG!
  20. LibreNMS config cache cleared and config reloaded.  
  21. SQL[[1;33mselect `config_name`, `config_value` from `config` [0;33m[][0m 0.79ms]
  22.  
  23. SQL[[1;33mselect * from `graph_types` [0;33m[][0m 0.56ms]
  24.  
  25. SQL[[1;33mSELECT * FROM `devices` WHERE disabled = 0 AND `device_id` = '89' ORDER BY device_id DESC [0;33m[][0m 1.06ms]
  26.  
  27. 192.168.1.101 89 linux SQL[[1;33mselect * from `devices` where `device_id` = ? limit 1 [0;33m[89][0m 0.95ms]
  28.  
  29. SQL[[1;33mselect * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [0;33m[89][0m 0.69ms]
  30.  
  31. [FPING] '/usr/sbin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' '192.168.1.101'
  32.  
  33. response: 192.168.1.101 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.549/0.968/1.23  
  34. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0'[0m]  
  35. SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.35047.2.1
  36.  
  37.  
  38. Modules status: Global+  
  39. OS    
  40. Device    
  41.  
  42. #### Load disco module core ####
  43. Attempting to initialize OS: linux  
  44. OS initialized: LibreNMS\OS\Linux  
  45. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' '-On' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0'[0m]  
  46. .*.*.0 = .*.4.1.35047.2.1
  47. .*.*.0 = Linux AC *-AC1.95 #57 SMP  10 20 18:47:21 CST 2009 i686 i686 i386 GNU/Linux
  48.  
  49. .*.*.0 = Linux
  50.  
  51.  
  52.  
  53. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[0m 3.74ms]
  54.  
  55. | Linux AC 2.4.35.4-AC1.95 #57 SMP  10 20 18:47:21 CST 2009 i686 i686 i386 GNU/Linux | .1.3.6.1.4.1.35047.2.1 |
  56.  
  57. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"system","2025-03-12 09:59:36",3,"Device OS changed: linux -> sangfor-ac","",89][0m 1.73ms]
  58.  
  59. OS Changed  
  60. Device type changed to appliance!  
  61. SQL[[1;33mupdate `devices` set `sysDescr` = ?, `os` = ?, `type` = ? where `device_id` = ? [0;33m[0m 2.68ms]
  62.  
  63. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"system","2025-03-12 09:59:36",3,"Device OS: linux -> sangfor-ac","",89][0m 2.17ms]
  64.  
  65. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"system","2025-03-12 09:59:36",3,"Device type: server -> appliance","",89][0m 2.16ms]
  66.  
  67. OS: Sangfor ac (sangfor-ac)
  68.  
  69. Attempting to initialize OS: sangfor-ac  
  70. Attempting to initialize Group OS: sangfor  
  71. OS initialized as Generic (sangfor-ac)  
  72.  
  73. >> Runtime for discovery module 'core': 0.1040 seconds with 231896 bytes
  74. >> [0;36mSNMP[0m: [1/0.04s] [1;33mMySQL[0m: [5/0.12s] [0;32mRRD[0m: [0/0.00s]  
  75. #### Unload disco module core ####
  76.  
  77. Modules status: Global+  
  78. OS    
  79. Device    
  80.  
  81. #### Load disco module os ####
  82. Yaml location data:  
  83. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysLocation.0'[0m]
  84. China  
  85.  
  86. SQL[[1;33mselect * from `locations` where (`location` = ?) limit 1 [0;33m["China"][0m 0.8ms]
  87.  
  88. ::query() failed: DNS request failed: The domain name referenced in the query does not exist.  
  89. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'sysContact.0'[0m]
  90. support@sangfor.com.cn  
  91.  
  92. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQn' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.35047.2.1.1.7.0'[0m]
  93. .*.4.1.35*.7.0 = "Sangfor-AC-13.0.62"  
  94.  
  95. Yaml OS data: {".1.3.6.1.4.1.35047.2.1.1.7.0":"Sangfor-AC-13.0.62"}
  96. Location: China  
  97. Hardware: Generic x86 ->  
  98. OS Version: 2.4.35.4-AC1.95 -> 13.0.62  
  99. OS Features:  
  100. Serial:  
  101. SQL[[1;33mupdate `devices` set `version` = ?, `hardware` = ?, `icon` = ? where `device_id` = ? [0;33m["13.0.62",null,"sangfor-ac.svg",89][0m 8.3ms]
  102.  
  103. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"system","2025-03-12 09:59:37",3,"OS Version: 2.4.35.4-AC1.95 -> 13.0.62","",89][0m 2.36ms]
  104.  
  105. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"system","2025-03-12 09:59:37",3,"Hardware: Generic x86 -> ","",89][0m 2.78ms]
  106.  
  107. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"system","2025-03-12 09:59:37",3,"Icon: images\/os\/linux.svg -> images\/os\/sangfor-ac.svg","",89][0m 2.41ms]
  108.  
  109.  
  110. >> Runtime for discovery module 'os': 0.2410 seconds with 215696 bytes
  111. >> [0;36mSNMP[0m: [4/0.12s] [1;33mMySQL[0m: [5/0.17s] [0;32mRRD[0m: [0/0.00s]  
  112. #### Unload disco module os ####
  113.  
  114. Modules status: Global+  
  115. OS    
  116. Device    
  117.  
  118. #### Load disco module ports ####
  119. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'ifDescr'[0m]
  120. ifDescr.1 = lo
  121. ifDescr.2 = blackhole0
  122. ifDescr.3 = eth6
  123. ifDescr.4 = eth7
  124. ifDescr.5 = eth0
  125. ifDescr.6 = eth1
  126. ifDescr.7 = eth2
  127. ifDescr.8 = eth3
  128. ifDescr.9 = eth4
  129. ifDescr.10 = eth5
  130. ifDescr.11 = vlan0
  131. ifDescr.12 = br0  
  132.  
  133. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'ifName'[0m]
  134. ifName = No Such Instance currently exists at this OID  
  135.  
  136. Invalid snmp_walk() data = ifName = No Such Instance currently exists at this OID  
  137. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'ifAlias'[0m]
  138. ifAlias = No Such Instance currently exists at this OID  
  139.  
  140. Invalid snmp_walk() data = ifAlias = No Such Instance currently exists at this OID  
  141. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'ifType'[0m]
  142. ifType.1 = softwareLoopback
  143. ifType.2 = other
  144. ifType.3 = ethernetCsmacd
  145. ifType.4 = ethernetCsmacd
  146. ifType.5 = ethernetCsmacd
  147. ifType.6 = ethernetCsmacd
  148. ifType.7 = ethernetCsmacd
  149. ifType.8 = ethernetCsmacd
  150. ifType.9 = ethernetCsmacd
  151. ifType.10 = ethernetCsmacd
  152. ifType.11 = other
  153. ifType.12 = other  
  154.  
  155. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'ifOperStatus'[0m]
  156. ifOperStatus.1 = up
  157. ifOperStatus.2 = down
  158. ifOperStatus.3 = down
  159. ifOperStatus.4 = down
  160. ifOperStatus.5 = up
  161. ifOperStatus.6 = up
  162. ifOperStatus.7 = down
  163. ifOperStatus.8 = down
  164. ifOperStatus.9 = down
  165. ifOperStatus.10 = up
  166. ifOperStatus.11 = up
  167. ifOperStatus.12 = up  
  168.  
  169. array (
  170.   1 =>
  171.   array (
  172.     'ifDescr' => 'lo',
  173.     'ifType' => 'softwareLoopback',
  174.     'ifOperStatus' => 'up',
  175.   ),
  176.   2 =>
  177.   array (
  178.     'ifDescr' => 'blackhole0',
  179.     'ifType' => 'other',
  180.     'ifOperStatus' => 'down',
  181.   ),
  182.   3 =>
  183.   array (
  184.     'ifDescr' => 'eth6',
  185.     'ifType' => 'ethernetCsmacd',
  186.     'ifOperStatus' => 'down',
  187.   ),
  188.   4 =>
  189.   array (
  190.     'ifDescr' => 'eth7',
  191.     'ifType' => 'ethernetCsmacd',
  192.     'ifOperStatus' => 'down',
  193.   ),
  194.   5 =>
  195.   array (
  196.     'ifDescr' => 'eth0',
  197.     'ifType' => 'ethernetCsmacd',
  198.     'ifOperStatus' => 'up',
  199.   ),
  200.   6 =>
  201.   array (
  202.     'ifDescr' => 'eth1',
  203.     'ifType' => 'ethernetCsmacd',
  204.     'ifOperStatus' => 'up',
  205.   ),
  206.   7 =>
  207.   array (
  208.     'ifDescr' => 'eth2',
  209.     'ifType' => 'ethernetCsmacd',
  210.     'ifOperStatus' => 'down',
  211.   ),
  212.   8 =>
  213.   array (
  214.     'ifDescr' => 'eth3',
  215.     'ifType' => 'ethernetCsmacd',
  216.     'ifOperStatus' => 'down',
  217.   ),
  218.   9 =>
  219.   array (
  220.     'ifDescr' => 'eth4',
  221.     'ifType' => 'ethernetCsmacd',
  222.     'ifOperStatus' => 'down',
  223.   ),
  224.   10 =>
  225.   array (
  226.     'ifDescr' => 'eth5',
  227.     'ifType' => 'ethernetCsmacd',
  228.     'ifOperStatus' => 'up',
  229.   ),
  230.   11 =>
  231.   array (
  232.     'ifDescr' => 'vlan0',
  233.     'ifType' => 'other',
  234.     'ifOperStatus' => 'up',
  235.   ),
  236.   12 =>
  237.   array (
  238.     'ifDescr' => 'br0',
  239.     'ifType' => 'other',
  240.     'ifOperStatus' => 'up',
  241.   ),
  242. )  
  243. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? ORDER BY port_id [0;33m[89][0m 1.56ms]
  244.  
  245.  Using ifDescr as ifAlias  
  246.  Using ifDescr as ifName  
  247. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["lo","softwareLoopback","up",1,"lo","lo",7460][0m 0.61ms]
  248.  
  249. . Using ifDescr as ifAlias  
  250.  Using ifDescr as ifName  
  251. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["blackhole0","other","down",2,"blackhole0","blackhole0",7461][0m 0.56ms]
  252.  
  253. . Using ifDescr as ifAlias  
  254.  Using ifDescr as ifName  
  255. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth6","ethernetCsmacd","down",3,"eth6","eth6",7462][0m 0.49ms]
  256.  
  257. . Using ifDescr as ifAlias  
  258.  Using ifDescr as ifName  
  259. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth7","ethernetCsmacd","down",4,"eth7","eth7",7463][0m 0.5ms]
  260.  
  261. . Using ifDescr as ifAlias  
  262.  Using ifDescr as ifName  
  263. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth0","ethernetCsmacd","up",5,"eth0","eth0",7464][0m 0.55ms]
  264.  
  265. . Using ifDescr as ifAlias  
  266.  Using ifDescr as ifName  
  267. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth1","ethernetCsmacd","up",6,"eth1","eth1",7465][0m 0.49ms]
  268.  
  269. . Using ifDescr as ifAlias  
  270.  Using ifDescr as ifName  
  271. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth2","ethernetCsmacd","down",7,"eth2","eth2",7466][0m 0.48ms]
  272.  
  273. . Using ifDescr as ifAlias  
  274.  Using ifDescr as ifName  
  275. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth3","ethernetCsmacd","down",8,"eth3","eth3",7467][0m 0.56ms]
  276.  
  277. . Using ifDescr as ifAlias  
  278.  Using ifDescr as ifName  
  279. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth4","ethernetCsmacd","down",9,"eth4","eth4",7468][0m 0.5ms]
  280.  
  281. . Using ifDescr as ifAlias  
  282.  Using ifDescr as ifName  
  283. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["eth5","ethernetCsmacd","up",10,"eth5","eth5",7469][0m 0.54ms]
  284.  
  285. . Using ifDescr as ifAlias  
  286.  Using ifDescr as ifName  
  287. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["vlan0","other","up",11,"vlan0","vlan0",7470][0m 0.55ms]
  288.  
  289. . Using ifDescr as ifAlias  
  290.  Using ifDescr as ifName  
  291. SQL[[1;33mUPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? [0;33m["br0","other","up",12,"br0","br0",7471][0m 0.48ms]
  292.  
  293. .
  294.  
  295. >> Runtime for discovery module 'ports': 0.4010 seconds with 32000 bytes
  296. >> [0;36mSNMP[0m: [5/0.38s] [1;33mMySQL[0m: [13/0.08s] [0;32mRRD[0m: [0/0.00s]  
  297. #### Unload disco module ports ####
  298.  
  299. Modules status: Global+  
  300. OS    
  301. Device    
  302.  
  303. #### Load disco module ports-stack ####
  304. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUt' '-Pu' 'udp:HOSTNAME:161' 'IF-MIB::ifStackStatus'[0m]  
  305. IF-MIB::ifStackStatus = No Such Instance currently exists at this OID
  306.  
  307.  
  308. SNMP query failed. Exit Code: 0 Empty: false Bad String: No Such Instance currently exists at this OID  
  309.  
  310. >> Runtime for discovery module 'ports-stack': 0.0400 seconds with 2352 bytes
  311. >> [0;36mSNMP[0m: [1/0.04s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]  
  312. #### Unload disco module ports-stack ####
  313.  
  314. Modules status: Global-  
  315. OS    
  316. Device    
  317. Module [ xdsl ] disabled globally.
  318.  
  319. Modules status: Global+  
  320. OS    
  321. Device    
  322.  
  323. #### Load disco module entity-physical ####
  324. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUt' '-Pu' '-Os' 'udp:HOSTNAME:161' 'ENTITY-MIB::entPhysicalTable'[0m]  
  325. entPhysicalTable = No Such Instance currently exists at this OID
  326.  
  327.  
  328. SNMP query failed. Exit Code: 0 Empty: false Bad String: No Such Instance currently exists at this OID  
  329. SQL[[1;33mselect * from `entPhysical` where `entPhysical`.`device_id` = ? and `entPhysical`.`device_id` is not null [0;33m[89][0m 1.07ms]
  330.  
  331.  
  332. >> Runtime for discovery module 'entity-physical': 0.0430 seconds with 11096 bytes
  333. >> [0;36mSNMP[0m: [1/0.04s] [1;33mMySQL[0m: [1/0.01s] [0;32mRRD[0m: [0/0.00s]  
  334. #### Unload disco module entity-physical ####
  335.  
  336. Modules status: Global-  
  337. OS    
  338. Device    
  339. Module [ entity-state ] disabled globally.
  340.  
  341. Modules status: Global-  
  342. OS    
  343. Device    
  344. Module [ isis ] disabled globally.
  345.  
  346. Modules status: Global+  
  347. OS    
  348. Device    
  349.  
  350. #### Load disco module processors ####
  351. Caching data: os mempools processors SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OteQUSa' '-Ih' '-m' 'SANGFOR-GENERAL-MIB:SANGFOR-GENERAL-AND-SSL-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'SANGFOR-GENERAL-MIB::sfSysCpuCostRate'[0m]
  352. SANGFOR-GENERAL-MIB::sfSysCpuCostRate.0 = 5  
  353.  
  354. sensors SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OteQUSa' '-Ih' '-m' 'SANGFOR-GENERAL-MIB:SANGFOR-GENERAL-AND-SSL-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'SANGFOR-GENERAL-MIB::statusinfo'[0m]
  355. SANGFOR-GENERAL-MIB::numOfCurOnLine.0 = 410
  356. SANGFOR-GENERAL-MIB::numOfMaxOnLine.0 = 300000
  357. SANGFOR-GENERAL-MIB::numOfCurOU.0 = 254
  358. SANGFOR-GENERAL-MIB::numOfMaxOU.0 = 10000
  359. SANGFOR-GENERAL-MIB::numOfMaxSession.0 = 1440000
  360. SANGFOR-GENERAL-MIB::numOfSession.0 = 11353
  361. SANGFOR-GENERAL-MIB::version.0 = "Sangfor-AC-13.0.62"
  362. SANGFOR-GENERAL-MIB::gatewayMode.0 = "bridge mode"  
  363.  
  364. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OteQUSa' '-Ih' '-m' 'SANGFOR-GENERAL-MIB:SANGFOR-GENERAL-AND-SSL-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'SANGFOR-GENERAL-MIB::sfEnableDoubleHost'[0m]
  365. SANGFOR-GENERAL-MIB::sfEnableDoubleHost.0 = 0  
  366.  
  367.  
  368. YAML Discovery Data:  
  369. array (
  370.   'data' =>
  371.   array (
  372.     0 =>
  373.     array (
  374.       'oid' => 'SANGFOR-GENERAL-MIB::sfSysCpuCostRate',
  375.       'num_oid' => '.1.3.6.1.4.1.35047.1.3.0',
  376.       'type' => 'sangfor',
  377.       'precision' => 1,
  378.     ),
  379.   ),
  380. )  
  381. Data SANGFOR-GENERAL-MIB::sfSysCpuCostRate:  
  382. array (
  383.   0 =>
  384.   array (
  385.     'SANGFOR-GENERAL-MIB::sfSysCpuCostRate' => '5',
  386.   ),
  387. )  
  388. Discovered LibreNMS\Device\Processor Array
  389. (
  390.     [processor_id] =>
  391.     [entPhysicalIndex] => 0
  392.     [hrDeviceIndex] => 0
  393.     [device_id] => 89
  394.     [processor_oid] => .1.3.6.1.4.1.35047.1.3.0
  395.     [processor_index] => 0
  396.     [processor_type] => sangfor
  397.     [processor_usage] => 5
  398.     [processor_descr] => Processor
  399.     [processor_precision] => 1
  400.     [processor_perc_warn] => 75
  401. )  
  402. SQL[[1;33mSELECT * FROM `processors` WHERE  device_id=? AND processor_index=? AND processor_type=? [0;33m[89,"0","sangfor"][0m 1.06ms]
  403.  
  404. SQL[[1;33mINSERT IGNORE INTO `processors` (`entPhysicalIndex`,`hrDeviceIndex`,`device_id`,`processor_oid`,`processor_index`,`processor_type`,`processor_usage`,`processor_descr`,`processor_precision`,`processor_perc_warn`)  VALUES (:entPhysicalIndex,:hrDeviceIndex,:device_id,:processor_oid,:processor_index,:processor_type,:processor_usage,:processor_descr,:processor_precision,:processor_perc_warn) [0;33m{"entPhysicalIndex":0,"hrDeviceIndex":0,"device_id":89,"processor_oid":".1.3.6.1.4.1.35047.1.3.0","processor_index":"0","processor_type":"sangfor","processor_usage":5,"processor_descr":"Processor","processor_precision":1,"processor_perc_warn":75}[0m 4.91ms]
  405.  
  406. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m["113","processors","2025-03-12 09:59:38",3,"Processor Discovered: sangfor 0 Processor","",89][0m 6.87ms]
  407.  
  408. +SQL[[1;33mSELECT * FROM `processors` WHERE `device_id`=? AND `processor_id` NOT IN (?) [0;33m[89,"113"][0m 0.88ms]
  409.  
  410. SQL[[1;33mDELETE T FROM `processors` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `devices`.`device_id` IS NULL [0;33m[][0m 1.05ms]
  411.  
  412.  
  413.  
  414. >> Runtime for discovery module 'processors': 0.9000 seconds with 75736 bytes
  415. >> [0;36mSNMP[0m: [3/0.88s] [1;33mMySQL[0m: [5/0.15s] [0;32mRRD[0m: [0/0.00s]  
  416. #### Unload disco module processors ####
  417.  
  418. Modules status: Global+  
  419. OS    
  420. Device    
  421.  
  422. #### Load disco module mempools ####
  423. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUb' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'SANGFOR-GENERAL-MIB::sfSysTotalMemoryNoUnit'[0m]
  424. SANGFOR-GENERAL-MIB::sfSysTotalMemoryNoUnit.0 = "7906.31"  
  425.  
  426. SNMP[[0;36m'/usr/bin/snmptranslate' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-Pu' '-On' 'SANGFOR-GENERAL-MIB::sfSysTotalMemoryNoUnit'[0m]  
  427. .*.4.1.35047.1.11
  428.  
  429.  
  430. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUb' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'SANGFOR-GENERAL-MIB::sfSysFreeMemoryNoUnit'[0m]
  431. SANGFOR-GENERAL-MIB::sfSysFreeMemoryNoUnit.0 = "4542.88"  
  432.  
  433. SNMP[[0;36m'/usr/bin/snmptranslate' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-Pu' '-On' 'SANGFOR-GENERAL-MIB::sfSysFreeMemoryNoUnit'[0m]  
  434. .*.4.1.35047.1.10
  435.  
  436.  
  437. SQL[[1;33mselect * from `mempools` where `mempools`.`device_id` = ? and `mempools`.`device_id` is not null [0;33m[89][0m 1.16ms]
  438.  
  439. SQL[[1;33minsert into `mempools` (`mempool_precision`, `mempool_index`, `mempool_type`, `mempool_class`, `mempool_descr`, `mempool_used_oid`, `mempool_free_oid`, `mempool_perc_oid`, `mempool_perc_warn`, `mempool_total`, `mempool_used`, `mempool_free`, `mempool_perc`, `device_id`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [0;33m[1,0,"sangfor-mem","system","Free MeM",null,".1.3.6.1.4.1.35047.1.10.0",null,90,7906,3363.12,4542.88,43,89][0m 4.2ms]
  440.  
  441. +sangfor-mem [system]: Free MeM: 43%  3.28 KiB / 7.72 KiB  
  442.  
  443. >> Runtime for discovery module 'mempools': 0.9650 seconds with 189768 bytes
  444. >> [0;36mSNMP[0m: [4/0.94s] [1;33mMySQL[0m: [2/0.05s] [0;32mRRD[0m: [0/0.00s]  
  445. #### Unload disco module mempools ####
  446.  
  447. Modules status: Global+  
  448. OS    
  449. Device    
  450.  
  451. #### Load disco module cisco-vrf-lite ####
  452. SQL[[1;33mSELECT * FROM vrf_lite_cisco WHERE device_id = ?  [0;33m[89][0m 0.8ms]
  453.  
  454.  
  455. >> Runtime for discovery module 'cisco-vrf-lite': 0.0010 seconds with 304 bytes
  456. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [1/0.01s] [0;32mRRD[0m: [0/0.00s]  
  457. #### Unload disco module cisco-vrf-lite ####
  458.  
  459. Modules status: Global-  
  460. OS    
  461. Device    
  462. Module [ cisco-mac-accounting ] disabled globally.
  463.  
  464. Modules status: Global-  
  465. OS    
  466. Device    
  467. Module [ cisco-pw ] disabled globally.
  468.  
  469. Modules status: Global-  
  470. OS    
  471. Device    
  472. Module [ vrf ] disabled globally.
  473.  
  474. Modules status: Global-  
  475. OS    
  476. Device    
  477. Module [ cisco-cef ] disabled globally.
  478.  
  479. Modules status: Global-  
  480. OS    
  481. Device    
  482. Module [ slas ] disabled globally.
  483.  
  484. Modules status: Global-  
  485. OS    
  486. Device    
  487. Module [ cisco-otv ] disabled globally.
  488.  
  489. Modules status: Global-  
  490. OS    
  491. Device    
  492. Module [ cisco-qfp ] disabled globally.
  493.  
  494. Modules status: Global+  
  495. OS    
  496. Device    
  497.  
  498. #### Load disco module ipv4-addresses ####
  499. SQL[[1;33mselect * from `vrf_lite_cisco` where `vrf_lite_cisco`.`device_id` = ? and `vrf_lite_cisco`.`device_id` is not null [0;33m[89][0m 0.64ms]
  500.  
  501. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' '-Os' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntIfIndex'[0m]  
  502. ipAdEntIfIndex[*] = 11
  503. ipAdEntIfIndex[*] = 1
  504. ipAdEntIfIndex[*] = 12
  505. ipAdEntIfIndex[*] = 10
  506. ipAdEntIfIndex[*] = 10
  507. ipAdEntIfIndex[*] = 12
  508.  
  509.  
  510. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntNetMask.1.1.1.1'[0m]  
  511. IP-MIB::ipAdEntNetMask[*] = *
  512.  
  513.  
  514. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [0;33m[89,11][0m 1.24ms]
  515.  
  516. SQL[[1;33mselect * from `ipv4_networks` where (`ipv4_network` = ?) limit 1 [0;33m["1.1.1.1\/32"][0m 0.89ms]
  517.  
  518. SQL[[1;33mselect `ipv4_network_id` from `ipv4_networks` where `ipv4_network` = ? limit 1 [0;33m["1.1.1.1\/32"][0m 0.8ms]
  519.  
  520. SQL[[1;33mselect * from `ipv4_addresses` where (`ipv4_address` = ? and `ipv4_prefixlen` = ? and `ipv4_network_id` = ? and `port_id` = ?) limit 1 [0;33m["1.1.1.1",32,184,7470][0m 0.86ms]
  521.  
  522. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntNetMask.127.0.0.1'[0m]  
  523. IP-MIB::ipAdEntNetMask[*] = *
  524.  
  525.  
  526. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [0;33m[89,1][0m 1.04ms]
  527.  
  528. SQL[[1;33mselect * from `ipv4_networks` where (`ipv4_network` = ?) limit 1 [0;33m["127.0.0.0\/8"][0m 0.58ms]
  529.  
  530. SQL[[1;33mselect `ipv4_network_id` from `ipv4_networks` where `ipv4_network` = ? limit 1 [0;33m["127.0.0.0\/8"][0m 0.65ms]
  531.  
  532. SQL[[1;33mselect * from `ipv4_addresses` where (`ipv4_address` = ? and `ipv4_prefixlen` = ? and `ipv4_network_id` = ? and `port_id` = ?) limit 1 [0;33m["127.0.0.1",8,2,7460][0m 0.77ms]
  533.  
  534. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntNetMask.128.127.125.252'[0m]  
  535. IP-MIB::ipAdEntNetMask[*] = *
  536.  
  537.  
  538. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [0;33m[89,12][0m 1.06ms]
  539.  
  540. SQL[[1;33mselect * from `ipv4_networks` where (`ipv4_network` = ?) limit 1 [0;33m["128.127.125.248\/29"][0m 0.74ms]
  541.  
  542. SQL[[1;33mselect `ipv4_network_id` from `ipv4_networks` where `ipv4_network` = ? limit 1 [0;33m["128.127.125.248\/29"][0m 0.79ms]
  543.  
  544. SQL[[1;33mselect * from `ipv4_addresses` where (`ipv4_address` = ? and `ipv4_prefixlen` = ? and `ipv4_network_id` = ? and `port_id` = ?) limit 1 [0;33m["128.127.125.252",29,185,7471][0m 0.8ms]
  545.  
  546. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntNetMask.128.128.125.252'[0m]  
  547. IP-MIB::ipAdEntNetMask[*] = *
  548.  
  549.  
  550. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [0;33m[89,10][0m 1.01ms]
  551.  
  552. SQL[[1;33mselect * from `ipv4_networks` where (`ipv4_network` = ?) limit 1 [0;33m["128.128.125.248\/29"][0m 0.74ms]
  553.  
  554. SQL[[1;33mselect `ipv4_network_id` from `ipv4_networks` where `ipv4_network` = ? limit 1 [0;33m["128.128.125.248\/29"][0m 0.57ms]
  555.  
  556. SQL[[1;33mselect * from `ipv4_addresses` where (`ipv4_address` = ? and `ipv4_prefixlen` = ? and `ipv4_network_id` = ? and `port_id` = ?) limit 1 [0;33m["128.128.125.252",29,186,7469][0m 0.6ms]
  557.  
  558. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntNetMask.192.168.0.10'[0m]  
  559. IP-MIB::ipAdEntNetMask[*] = *
  560.  
  561.  
  562. SQL[[1;33mselect * from `ipv4_networks` where (`ipv4_network` = ?) limit 1 [0;33m["192.168.0.0\/24"][0m 0.83ms]
  563.  
  564. SQL[[1;33mselect `ipv4_network_id` from `ipv4_networks` where `ipv4_network` = ? limit 1 [0;33m["192.168.0.0\/24"][0m 0.72ms]
  565.  
  566. SQL[[1;33mselect * from `ipv4_addresses` where (`ipv4_address` = ? and `ipv4_prefixlen` = ? and `ipv4_network_id` = ? and `port_id` = ?) limit 1 [0;33m["192.168.0.10",24,157,7469][0m 0.79ms]
  567.  
  568. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAdEntNetMask.192.168.1.101'[0m]  
  569. IP-MIB::ipAdEntNetMask[*] = *
  570.  
  571.  
  572. SQL[[1;33mselect * from `ipv4_networks` where (`ipv4_network` = ?) limit 1 [0;33m["192.168.1.0\/24"][0m 0.67ms]
  573.  
  574. SQL[[1;33mselect `ipv4_network_id` from `ipv4_networks` where `ipv4_network` = ? limit 1 [0;33m["192.168.1.0\/24"][0m 0.64ms]
  575.  
  576. SQL[[1;33mselect * from `ipv4_addresses` where (`ipv4_address` = ? and `ipv4_prefixlen` = ? and `ipv4_network_id` = ? and `port_id` = ?) limit 1 [0;33m["192.168.1.101",24,3,7471][0m 0.79ms]
  577.  
  578. SQL[[1;33mselect `ipv4_address_id`, `ipv4_address`, `ipv4_prefixlen`, `ipv4_network_id`, `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 [0;33m[89][0m 2.78ms]
  579.  
  580.  
  581.  
  582. >> Runtime for discovery module 'ipv4-addresses': 0.3100 seconds with 134024 bytes
  583. >> [0;36mSNMP[0m: [7/0.27s] [1;33mMySQL[0m: [24/0.21s] [0;32mRRD[0m: [0/0.00s]  
  584. #### Unload disco module ipv4-addresses ####
  585.  
  586. Modules status: Global+  
  587. OS    
  588. Device    
  589.  
  590. #### Load disco module ipv6-addresses ####
  591. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUt' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipAddressIfIndex.ipv6'[0m]  
  592. IP-MIB::ipAddressIfIndex[ipv6] = No Such Instance currently exists at this OID
  593.  
  594.  
  595. SNMP query failed. Exit Code: 0 Empty: false Bad String: No Such Instance currently exists at this OID  
  596. SNMP failed walking IP-MIB::ipAddressIfIndex.ipv6 of IP-MIB::ipAddressIfIndex.ipv6,IP-MIB::ipAddressOrigin.ipv6,IP-MIB::ipAddressPrefix.ipv6 aborting.  
  597. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OsqnU' '-Ln' '-m' 'IPV6-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'ipv6AddrPfxLength'[0m]
  598. .*.*.8.1.2 No Such Instance currently exists at this OID  
  599.  
  600. Invalid snmp_walk() data = .1.3.6.1.2.1.55.1.8.1.2 No Such Instance currently exists at this OID  
  601. SQL[[1;33mSELECT `ipv6_addresses`.*, `ports`.`device_id`, `ports`.`ifIndex` FROM `ipv6_addresses` LEFT JOIN `ports` ON `ipv6_addresses`.`port_id` = `ports`.`port_id` WHERE `ports`.device_id = ? OR `ports`.`device_id` IS NULL [0;33m[89][0m 1.15ms]
  602.  
  603.  
  604.  
  605. >> Runtime for discovery module 'ipv6-addresses': 0.0750 seconds with 9264 bytes
  606. >> [0;36mSNMP[0m: [2/0.07s] [1;33mMySQL[0m: [1/0.01s] [0;32mRRD[0m: [0/0.00s]  
  607. #### Unload disco module ipv6-addresses ####
  608.  
  609. Modules status: Global+  
  610. OS    
  611. Device    
  612.  
  613. #### Load disco module qos ####
  614.  
  615. >> Runtime for discovery module 'qos': 0.0010 seconds with 144 bytes
  616. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]  
  617. #### Unload disco module qos ####
  618.  
  619. Modules status: Global-  
  620. OS    
  621. Device    
  622. Module [ route ] disabled globally.
  623.  
  624. Modules status: Global+  
  625. OS    
  626. Device    
  627.  
  628. #### Load disco module transceivers ####
  629.  
  630. >> Runtime for discovery module 'transceivers': 0.0000 seconds with 160 bytes
  631. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]  
  632. #### Unload disco module transceivers ####
  633.  
  634. Modules status: Global+  
  635. OS    
  636. Device    
  637.  
  638. #### Load disco module sensors ####
  639.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'entPhysicalDescr'[0m]
  640. entPhysicalDescr = No Such Instance currently exists at this OID  
  641.  
  642. Invalid snmp_walk() data = entPhysicalDescr = No Such Instance currently exists at this OID  
  643.  
  644. SQL[[1;33mselect * from `sensors` where `sensors`.`device_id` = ? and `sensors`.`device_id` is not null [0;33m[89][0m 1ms]
  645.  
  646. Airflow:
  647. Current:
  648. Charge:
  649. Dbm:
  650. Fanspeed:
  651. Frequency:
  652. Humidity:
  653. Load:
  654. Loss:
  655. Power:
  656. Power_consumed:
  657. Power_factor:
  658. Runtime:
  659. Signal:
  660. State: Dynamic Discovery (state):  
  661. array (
  662.   'data' =>
  663.   array (
  664.     0 =>
  665.     array (
  666.       'oid' => 'SANGFOR-GENERAL-MIB::sfEnableDoubleHost',
  667.       'num_oid' => '.1.3.6.1.4.1.35047.1.7.{{ $index }}',
  668.       'descr' => 'HA mode',
  669.       'group' => 'AC STATUS',
  670.       'states' =>
  671.       array (
  672.         0 =>
  673.         array (
  674.           'value' => 0,
  675.           'graph' => 0,
  676.           'generic' => 0,
  677.           'descr' => 'disable',
  678.         ),
  679.         1 =>
  680.         array (
  681.           'value' => 1,
  682.           'graph' => 1,
  683.           'generic' => 0,
  684.           'descr' => 'enable',
  685.         ),
  686.       ),
  687.     ),
  688.   ),
  689. )  
  690. Data SANGFOR-GENERAL-MIB::sfEnableDoubleHost:  
  691. array (
  692.   0 =>
  693.   array (
  694.     'SANGFOR-GENERAL-MIB::sfEnableDoubleHost' => '0',
  695.   ),
  696. )  
  697. Sensor fetched value: 0
  698.  
  699. Discovered Sensor: .1.3.6.1.4.1.35047.1.7.0, 0, SANGFOR-GENERAL-MIB::sfEnableDoubleHost, HA mode, snmp, 1, 1, , 0, (limits: LL: , LW: , W: , H: ), rrd_type = GAUGE  
  700. SQL[[1;33minsert 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_limit_low_warn`, `sensor_current`, `entPhysicalIndex`, `entPhysicalIndex_measured`, `user_func`, `group`, `rrd_type`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [0;33m["snmp","state",89,".1.3.6.1.4.1.35047.1.7.0",0,"SANGFOR-GENERAL-MIB::sfEnableDoubleHost","HA mode",1,1,null,null,null,null,0,null,null,null,"AC STATUS","GAUGE"][0m 4.35ms]
  701.  
  702. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[5534,"sensor","2025-03-12 09:59:39",3,"Sensor Added: state SANGFOR-GENERAL-MIB::sfEnableDoubleHost 0 HA mode","",89][0m 6.88ms]
  703.  
  704. HA mode: Cur 0, Low: , Low Warn: , Warn: , High:  
  705. +SQL[[1;33mselect * from `state_indexes` where `state_name` in (?) [0;33m["SANGFOR-GENERAL-MIB::sfEnableDoubleHost"][0m 0.69ms]
  706.  
  707. SQL[[1;33mselect * from `state_translations` where `state_translations`.`state_index_id` = ? and `state_translations`.`state_index_id` is not null [0;33m[31][0m 0.89ms]
  708.  
  709. SQL[[1;33mselect * from `sensors_to_state_indexes` where (`sensor_id` = ?) limit 1 [0;33m[5534][0m 0.7ms]
  710.  
  711. SQL[[1;33minsert into `sensors_to_state_indexes` (`sensor_id`, `state_index_id`) values (?, ?) [0;33m[5534,31][0m 12.66ms]
  712.  
  713.  
  714. Count: Dynamic Discovery (count):  
  715. array (
  716.   'data' =>
  717.   array (
  718.     0 =>
  719.     array (
  720.       'oid' => 'SANGFOR-GENERAL-MIB::statusinfo',
  721.       'num_oid' => '.1.3.6.1.4.1.35047.2.1.1.1.{{ $index }}',
  722.       'value' => 'SANGFOR-GENERAL-MIB::numOfCurOnLine',
  723.       'index' => 'numOfCurOnLine.{{ $index }}',
  724.       'descr' => 'online users',
  725.     ),
  726.     1 =>
  727.     array (
  728.       'oid' => 'SANGFOR-GENERAL-MIB::statusinfo',
  729.       'num_oid' => '.1.3.6.1.4.1.35047.2.1.1.3.{{ $index }}',
  730.       'value' => 'SANGFOR-GENERAL-MIB::numOfCurOU',
  731.       'index' => 'numOfCurOU.{{ $index }}',
  732.       'descr' => 'Cur ORGS',
  733.     ),
  734.     2 =>
  735.     array (
  736.       'oid' => 'SANGFOR-GENERAL-MIB::statusinfo',
  737.       'value' => 'SANGFOR-GENERAL-MIB::numOfSession',
  738.       'num_oid' => '.1.3.6.1.4.1.35047.2.1.1.6.{{ $index }}',
  739.       'index' => 'numOfSession.{{ $index }}',
  740.       'descr' => 'Sessions',
  741.     ),
  742.   ),
  743. )  
  744. Data SANGFOR-GENERAL-MIB::statusinfo:  
  745. array (
  746.   0 =>
  747.   array (
  748.     'SANGFOR-GENERAL-MIB::numOfCurOnLine' => '410',
  749.     'SANGFOR-GENERAL-MIB::numOfMaxOnLine' => '300000',
  750.     'SANGFOR-GENERAL-MIB::numOfCurOU' => '254',
  751.     'SANGFOR-GENERAL-MIB::numOfMaxOU' => '10000',
  752.     'SANGFOR-GENERAL-MIB::numOfMaxSession' => '1440000',
  753.     'SANGFOR-GENERAL-MIB::numOfSession' => '11353',
  754.     'SANGFOR-GENERAL-MIB::version' => 'Sangfor-AC-13.0.62',
  755.     'SANGFOR-GENERAL-MIB::gatewayMode' => 'bridge mode',
  756.   ),
  757. )  
  758. Sensor fetched value: 410
  759.  
  760. Discovered Sensor: .1.3.6.1.4.1.35047.2.1.1.1.0, numOfCurOnLine.0, sangfor-ac, online users, snmp, 1, 1, , 410, (limits: LL: , LW: , W: , H: ), rrd_type = GAUGE  
  761. Data SANGFOR-GENERAL-MIB::statusinfo:  
  762. array (
  763.   0 =>
  764.   array (
  765.     'SANGFOR-GENERAL-MIB::numOfCurOnLine' => '410',
  766.     'SANGFOR-GENERAL-MIB::numOfMaxOnLine' => '300000',
  767.     'SANGFOR-GENERAL-MIB::numOfCurOU' => '254',
  768.     'SANGFOR-GENERAL-MIB::numOfMaxOU' => '10000',
  769.     'SANGFOR-GENERAL-MIB::numOfMaxSession' => '1440000',
  770.     'SANGFOR-GENERAL-MIB::numOfSession' => '11353',
  771.     'SANGFOR-GENERAL-MIB::version' => 'Sangfor-AC-13.0.62',
  772.     'SANGFOR-GENERAL-MIB::gatewayMode' => 'bridge mode',
  773.   ),
  774. )  
  775. Sensor fetched value: 254
  776.  
  777. Discovered Sensor: .1.3.6.1.4.1.35047.2.1.1.3.0, numOfCurOU.0, sangfor-ac, Cur ORGS, snmp, 1, 1, , 254, (limits: LL: , LW: , W: , H: ), rrd_type = GAUGE  
  778. Data SANGFOR-GENERAL-MIB::statusinfo:  
  779. array (
  780.   0 =>
  781.   array (
  782.     'SANGFOR-GENERAL-MIB::numOfCurOnLine' => '410',
  783.     'SANGFOR-GENERAL-MIB::numOfMaxOnLine' => '300000',
  784.     'SANGFOR-GENERAL-MIB::numOfCurOU' => '254',
  785.     'SANGFOR-GENERAL-MIB::numOfMaxOU' => '10000',
  786.     'SANGFOR-GENERAL-MIB::numOfMaxSession' => '1440000',
  787.     'SANGFOR-GENERAL-MIB::numOfSession' => '11353',
  788.     'SANGFOR-GENERAL-MIB::version' => 'Sangfor-AC-13.0.62',
  789.     'SANGFOR-GENERAL-MIB::gatewayMode' => 'bridge mode',
  790.   ),
  791. )  
  792. Sensor fetched value: 11353
  793.  
  794. Discovered Sensor: .1.3.6.1.4.1.35047.2.1.1.6.0, numOfSession.0, sangfor-ac, Sessions, snmp, 1, 1, , 11353, (limits: LL: , LW: , W: , H: ), rrd_type = GAUGE  
  795. SQL[[1;33minsert 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_limit_low_warn`, `sensor_current`, `entPhysicalIndex`, `entPhysicalIndex_measured`, `user_func`, `group`, `rrd_type`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [0;33m["snmp","count",89,".1.3.6.1.4.1.35047.2.1.1.1.0","numOfCurOnLine.0","sangfor-ac","online users",1,1,null,null,null,null,410,null,null,null,null,"GAUGE"][0m 3.31ms]
  796.  
  797. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[5535,"sensor","2025-03-12 09:59:39",3,"Sensor Added: count sangfor-ac numOfCurOnLine.0 online users","",89][0m 11.02ms]
  798.  
  799. online users: Cur 410, Low: , Low Warn: , Warn: , High:  
  800. +SQL[[1;33minsert 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_limit_low_warn`, `sensor_current`, `entPhysicalIndex`, `entPhysicalIndex_measured`, `user_func`, `group`, `rrd_type`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [0;33m["snmp","count",89,".1.3.6.1.4.1.35047.2.1.1.3.0","numOfCurOU.0","sangfor-ac","Cur ORGS",1,1,null,null,null,null,254,null,null,null,null,"GAUGE"][0m 38.65ms]
  801.  
  802. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[5536,"sensor","2025-03-12 09:59:39",3,"Sensor Added: count sangfor-ac numOfCurOU.0 Cur ORGS","",89][0m 10.93ms]
  803.  
  804. Cur ORGS: Cur 254, Low: , Low Warn: , Warn: , High:  
  805. +SQL[[1;33minsert 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_limit_low_warn`, `sensor_current`, `entPhysicalIndex`, `entPhysicalIndex_measured`, `user_func`, `group`, `rrd_type`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [0;33m["snmp","count",89,".1.3.6.1.4.1.35047.2.1.1.6.0","numOfSession.0","sangfor-ac","Sessions",1,1,null,null,null,null,11353,null,null,null,null,"GAUGE"][0m 26.62ms]
  806.  
  807. SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[5537,"sensor","2025-03-12 09:59:39",3,"Sensor Added: count sangfor-ac numOfSession.0 Sessions","",89][0m 7.02ms]
  808.  
  809. Sessions: Cur 11353, Low: , Low Warn: , Warn: , High:  
  810. +
  811. Temperature:
  812. Tv_signal:
  813. Bitrate:
  814. Voltage:
  815. Snr:
  816. Pressure:
  817. Cooling:
  818. Delay:
  819. Quality_factor:
  820. Chromatic_dispersion:
  821. Ber:
  822. Eer:
  823. Waterflow:
  824. Percent:
  825.  
  826. >> Runtime for discovery module 'sensors': 0.1910 seconds with 75288 bytes
  827. >> [0;36mSNMP[0m: [1/0.03s] [1;33mMySQL[0m: [13/1.25s] [0;32mRRD[0m: [0/0.00s]  
  828. #### Unload disco module sensors ####
  829.  
  830. Modules status: Global+  
  831. OS    
  832. Device    
  833.  
  834. #### Load disco module storage ####
  835. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'DATA-DOMAIN-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor:/opt/librenms/mibs/datadomain' 'udp:HOSTNAME:161' 'fileSystemSpaceTable'[0m]
  836. fileSystemSpaceTable = No Such Instance currently exists at this OID  
  837.  
  838. Invalid snmp_walk() data = fileSystemSpaceTable = No Such Instance currently exists at this OID  
  839. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' '-Os' 'udp:HOSTNAME:161' 'ARICENT-ISS-MIB::issSwitchCurrentFlashUsage.0'[0m]  
  840. Exitcode: 1 ["MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/sangfor
  841. Cannot find module (ARICENT-ISS-MIB): At line 8 in (none)
  842. ARICENT-ISS-MIB::issSwitchCurrentFlashUsage.0: Unknown Object Identifier
  843. "]
  844.  
  845. MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/sangfor
  846. Cannot find module (ARICENT-ISS-MIB): At line 8 in (none)
  847. ARICENT-ISS-MIB::issSwitchCurrentFlashUsage.0: Unknown Object Identifier
  848.  
  849. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'hrStorageTable'[0m]
  850. hrStorageTable = No Such Instance currently exists at this OID  
  851.  
  852. hrStorage : SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'dskTable'[0m]
  853. dskTable = No Such Instance currently exists at this OID  
  854.  
  855. Invalid snmp_walk() data = dskTable = No Such Instance currently exists at this OID  
  856. SQL[[1;33mSELECT `storage_descr` FROM `storage` WHERE `device_id`  = '89' AND `storage_type` != 'dsk' [0;33m[][0m 0.83ms]
  857.  
  858. array (
  859. )  
  860. SQL[[1;33mSELECT * FROM `storage` WHERE `device_id`  = '89' [0;33m[][0m 0.65ms]
  861.  
  862.  
  863.  
  864. >> Runtime for discovery module 'storage': 0.2290 seconds with 8384 bytes
  865. >> [0;36mSNMP[0m: [3/0.18s] [1;33mMySQL[0m: [2/0.01s] [0;32mRRD[0m: [0/0.00s]  
  866. #### Unload disco module storage ####
  867.  
  868. Modules status: Global+  
  869. OS    
  870. Device    
  871.  
  872. #### Load disco module hr-device ####
  873. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'hrProcessorTable'[0m]
  874. hrProcessorTable = No Such Instance currently exists at this OID  
  875.  
  876. Invalid snmp_walk() data = hrProcessorTable = No Such Instance currently exists at this OID  
  877. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'hrDeviceTable'[0m]
  878. hrDeviceTable = No Such Instance currently exists at this OID  
  879.  
  880. Invalid snmp_walk() data = hrDeviceTable = No Such Instance currently exists at this OID  
  881. array (
  882. )  
  883. SQL[[1;33mSELECT * FROM `hrDevice` WHERE `device_id`  = '89' [0;33m[][0m 0.73ms]
  884.  
  885.  
  886.  
  887. >> Runtime for discovery module 'hr-device': 0.0690 seconds with 2176 bytes
  888. >> [0;36mSNMP[0m: [2/0.07s] [1;33mMySQL[0m: [1/0.01s] [0;32mRRD[0m: [0/0.00s]  
  889. #### Unload disco module hr-device ####
  890.  
  891. Modules status: Global+  
  892. OS    
  893. Device    
  894.  
  895. #### Load disco module discovery-protocols ####
  896.  LLDP-MIB: SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' '-Os' 'udp:HOSTNAME:161' 'LLDP-MIB::lldpRemTable'[0m]  
  897. lldpRemTable = No Such Instance currently exists at this OID
  898.  
  899.  
  900.  LLDP-V2-MIB: SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' '-Os' 'udp:HOSTNAME:161' 'LLDP-V2-MIB::lldpV2RemTable'[0m]  
  901. lldpV2RemTable = No more variables left in this MIB View (It is past the end of the MIB tree)
  902.  
  903.  
  904.  
  905.  OSPF Discovery: SQL[[1;33mSELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`=? [0;33m[89][0m 0.86ms]
  906.  
  907.  
  908.  
  909. SQL[[1;33mSELECT * FROM `links` AS L LEFT JOIN `ports` AS I ON L.local_port_id = I.port_id WHERE L.local_device_id = ? [0;33m[89][0m 1.07ms]
  910.  
  911. SQL[[1;33mDELETE T FROM `links` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`local_device_id` WHERE `devices`.`device_id` IS NULL [0;33m[][0m 1.26ms]
  912.  
  913.  0 orphaned links deleted  
  914.  
  915. >> Runtime for discovery module 'discovery-protocols': 0.1240 seconds with 3392 bytes
  916. >> [0;36mSNMP[0m: [2/0.12s] [1;33mMySQL[0m: [3/0.03s] [0;32mRRD[0m: [0/0.00s]  
  917. #### Unload disco module discovery-protocols ####
  918.  
  919. Modules status: Global+  
  920. OS    
  921. Device    
  922.  
  923. #### Load disco module arp-table ####
  924. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipNetToPhysicalPhysAddress'[0m]  
  925. IP-MIB::ipNetToPhysicalPhysAddress = No Such Instance currently exists at this OID
  926.  
  927.  
  928. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'IP-MIB::ipNetToMediaPhysAddress'[0m]  
  929. IP-MIB::ipNetToMediaPhysAddress[1][*] = 78:2b:cb:2b:aa:9e
  930. IP-MIB::ipNetToMediaPhysAddress[1][*] = 58:48:49:2c:2b:6e
  931. IP-MIB::ipNetToMediaPhysAddress[1][*] = d8:49:b:8b:bf:bf
  932. IP-MIB::ipNetToMediaPhysAddress[1][*] = e0:d5:5e:d4:18:3f
  933. IP-MIB::ipNetToMediaPhysAddress[1][*] = c:73:eb:94:2e:e6
  934. IP-MIB::ipNetToMediaPhysAddress[1][*] = 38:22:d6:d7:21:12
  935. IP-MIB::ipNetToMediaPhysAddress[1][*] = 38:22:d6:d7:21:44
  936.  
  937.  
  938. SQL[[1;33mSELECT * from `ipv4_mac` WHERE `device_id`=? AND `context_name`=? [0;33m[89,""][0m 3.37ms]
  939.  
  940. lo:
  941. 78:2b:cb:2b:aa:9e => 192.168.0.20  
  942. 58:48:49:2c:2b:6e => 192.168.1.1  
  943. d8:49:b:8b:bf:bf => 192.168.1.3  
  944. e0:d5:5e:d4:18:3f => 192.168.1.59  
  945. c:73:eb:94:2e:e6 => 192.168.1.102  
  946. 38:22:d6:d7:21:12 => 192.168.1.252  
  947. 38:22:d6:d7:21:44 => 192.168.1.253  
  948.  
  949. SQL[[1;33mDELETE 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 [0;33m[][0m 7.35ms]
  950.  
  951.  
  952.  
  953. >> Runtime for discovery module 'arp-table': 0.0920 seconds with 7344 bytes
  954. >> [0;36mSNMP[0m: [2/0.08s] [1;33mMySQL[0m: [2/0.11s] [0;32mRRD[0m: [0/0.00s]  
  955. #### Unload disco module arp-table ####
  956.  
  957. Modules status: Global-  
  958. OS    
  959. Device    
  960. Module [ discovery-arp ] disabled globally.
  961.  
  962. Modules status: Global-  
  963. OS    
  964. Device    
  965. Module [ junose-atm-vp ] disabled globally.
  966.  
  967. Modules status: Global+  
  968. OS    
  969. Device    
  970.  
  971. #### Load disco module bgp-peers ####
  972. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'BGP4-MIB::bgpLocalAs.0'[0m]  
  973. BGP4-MIB::bgpLocalAs.0 = No Such Instance currently exists at this OID
  974.  
  975.  
  976. No BGP on hostPeers :
  977.  
  978. SQL[[1;33mDELETE FROM `bgpPeers` WHERE device_id=? AND context_name=? [0;33m[89,""][0m 0.67ms]
  979.  
  980. SQL[[1;33mDELETE FROM `bgpPeers_cbgp` WHERE device_id=? AND context_name=? [0;33m[89,""][0m 0.57ms]
  981.  
  982.  
  983. SQL[[1;33mSELECT DISTINCT context_name FROM bgpPeers WHERE device_id=? [0;33m[89][0m 0.7ms]
  984.  
  985.  
  986. >> Runtime for discovery module 'bgp-peers': 0.0430 seconds with 1256 bytes
  987. >> [0;36mSNMP[0m: [1/0.04s] [1;33mMySQL[0m: [3/0.02s] [0;32mRRD[0m: [0/0.00s]  
  988. #### Unload disco module bgp-peers ####
  989.  
  990. Modules status: Global+  
  991. OS    
  992. Device    
  993.  
  994. #### Load disco module vlans ####
  995. SQL[[1;33mSELECT * FROM `vlans` WHERE `device_id` = ? [0;33m[89][0m 0.7ms]
  996.  
  997. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'dot1dBasePortIfIndex'[0m]
  998. dot1dBasePortIfIndex = No Such Instance currently exists at this OID  
  999.  
  1000. Invalid snmp_walk() data = dot1dBasePortIfIndex = No Such Instance currently exists at this OID  
  1001. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Oqv' '-m' 'IEEE8021-Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'dot1qVlanVersionNumber.0'[0m]
  1002. No Such Instance currently exists at this OID  
  1003.  
  1004.  
  1005.  
  1006. >> Runtime for discovery module 'vlans': 0.0960 seconds with 1760 bytes
  1007. >> [0;36mSNMP[0m: [2/0.09s] [1;33mMySQL[0m: [1/0.01s] [0;32mRRD[0m: [0/0.00s]  
  1008. #### Unload disco module vlans ####
  1009.  
  1010. Modules status: Global-  
  1011. OS    
  1012. Device    
  1013. Module [ vminfo ] disabled globally.
  1014.  
  1015. Modules status: Global-  
  1016. OS    
  1017. Device    
  1018. Module [ printer-supplies ] disabled globally.
  1019.  
  1020. Modules status: Global+  
  1021. OS    
  1022. Device    
  1023.  
  1024. #### Load disco module ucd-diskio ####
  1025. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-DISKIO-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'diskIOEntry'[0m]
  1026. diskIOEntry = No Such Instance currently exists at this OID  
  1027.  
  1028. Invalid snmp_walk() data = diskIOEntry = No Such Instance currently exists at this OID  
  1029. array (
  1030. )  
  1031. SQL[[1;33mSELECT * FROM `ucd_diskio` where `device_id`  = '89' [0;33m[][0m 0.77ms]
  1032.  
  1033.  
  1034.  
  1035. >> Runtime for discovery module 'ucd-diskio': 0.0300 seconds with 1296 bytes
  1036. >> [0;36mSNMP[0m: [1/0.03s] [1;33mMySQL[0m: [1/0.01s] [0;32mRRD[0m: [0/0.00s]  
  1037. #### Unload disco module ucd-diskio ####
  1038.  
  1039. Modules status: Global-  
  1040. OS    
  1041. Device    
  1042. Module [ applications ] disabled globally.
  1043.  
  1044. Modules status: Global+  
  1045. OS    
  1046. Device    
  1047.  
  1048. #### Load disco module services ####
  1049.  
  1050. >> Runtime for discovery module 'services': 0.0000 seconds with 80 bytes
  1051. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]  
  1052. #### Unload disco module services ####
  1053.  
  1054. Modules status: Global+  
  1055. OS    
  1056. Device    
  1057.  
  1058. #### Load disco module stp ####
  1059. SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-Pu' 'udp:HOSTNAME:161' 'BRIDGE-MIB::dot1dStpProtocolSpecification.0'[0m]  
  1060. BRIDGE-MIB::dot1dStpProtocolSpecification.0 = No Such Instance currently exists at this OID
  1061.  
  1062.  
  1063. Instances:  
  1064. SQL[[1;33mselect * from `stp` where `stp`.`device_id` = ? and `stp`.`device_id` is not null [0;33m[89][0m 0.97ms]
  1065.  
  1066. Ports:  
  1067. SQL[[1;33mselect * from `ports_stp` where `ports_stp`.`device_id` = ? and `ports_stp`.`device_id` is not null [0;33m[89][0m 0.73ms]
  1068.  
  1069.  
  1070. >> Runtime for discovery module 'stp': 0.0450 seconds with 11904 bytes
  1071. >> [0;36mSNMP[0m: [1/0.04s] [1;33mMySQL[0m: [2/0.02s] [0;32mRRD[0m: [0/0.00s]  
  1072. #### Unload disco module stp ####
  1073.  
  1074. Modules status: Global+  
  1075. OS    
  1076. Device    
  1077.  
  1078. #### Load disco module ntp ####
  1079.  
  1080. >> Runtime for discovery module 'ntp': 0.0000 seconds with 80 bytes
  1081. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]  
  1082. #### Unload disco module ntp ####
  1083.  
  1084. Modules status: Global-  
  1085. OS    
  1086. Device    
  1087. Module [ loadbalancers ] disabled globally.
  1088.  
  1089. Modules status: Global-  
  1090. OS    
  1091. Device    
  1092. Module [ mef ] disabled globally.
  1093.  
  1094. Modules status: Global+  
  1095. OS    
  1096. Device    
  1097.  
  1098. #### Load disco module wireless ####
  1099. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"ap-count"][0m 0.89ms]
  1100.  
  1101. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"clients"][0m 0.73ms]
  1102.  
  1103. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"quality"][0m 0.77ms]
  1104.  
  1105. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"capacity"][0m 0.84ms]
  1106.  
  1107. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"utilization"][0m 0.74ms]
  1108.  
  1109. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"rate"][0m 0.78ms]
  1110.  
  1111. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"ccq"][0m 0.76ms]
  1112.  
  1113. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"snr"][0m 0.66ms]
  1114.  
  1115. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"sinr"][0m 1.54ms]
  1116.  
  1117. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"rsrp"][0m 0.86ms]
  1118.  
  1119. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"rsrq"][0m 0.78ms]
  1120.  
  1121. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"ssr"][0m 0.76ms]
  1122.  
  1123. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"mse"][0m 0.77ms]
  1124.  
  1125. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"xpi"][0m 0.8ms]
  1126.  
  1127. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"rssi"][0m 0.65ms]
  1128.  
  1129. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"power"][0m 0.76ms]
  1130.  
  1131. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"noise-floor"][0m 0.69ms]
  1132.  
  1133. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"errors"][0m 0.65ms]
  1134.  
  1135. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"error-ratio"][0m 0.65ms]
  1136.  
  1137. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"error-rate"][0m 0.63ms]
  1138.  
  1139. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"frequency"][0m 0.76ms]
  1140.  
  1141. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"distance"][0m 0.83ms]
  1142.  
  1143. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"cell"][0m 0.74ms]
  1144.  
  1145. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[89,"channel"][0m 0.69ms]
  1146.  
  1147.  
  1148. >> Runtime for discovery module 'wireless': 0.0360 seconds with 75680 bytes
  1149. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [24/0.19s] [0;32mRRD[0m: [0/0.00s]  
  1150. #### Unload disco module wireless ####
  1151.  
  1152. Modules status: Global+  
  1153. OS    
  1154. Device    
  1155.  
  1156. #### Load disco module fdb-table ####
  1157. SQL[[1;33mSELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = ? [0;33m[89][0m 0.64ms]
  1158.  
  1159. SQL[[1;33mSELECT * FROM `ports_fdb` WHERE `device_id` = ? [0;33m[89][0m 0.67ms]
  1160.  
  1161. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'dot1qTpFdbPort'[0m]
  1162. dot1qTpFdbPort = No Such Instance currently exists at this OID  
  1163.  
  1164. SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/sangfor' 'udp:HOSTNAME:161' 'dot1dTpFdbPort'[0m]
  1165. dot1dTpFdbPort = No Such Instance currently exists at this OID  
  1166.  
  1167.  
  1168.  
  1169. >> Runtime for discovery module 'fdb-table': 0.0890 seconds with 1776 bytes
  1170. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [2/0.01s] [0;32mRRD[0m: [0/0.00s]  
  1171. #### Unload disco module fdb-table ####
  1172.  
  1173. Modules status: Global+  
  1174. OS    
  1175. Device    
  1176.  
  1177. #### Load disco module mpls ####
  1178.  
  1179. >> Runtime for discovery module 'mpls': 0.0010 seconds with 144 bytes
  1180. >> [0;36mSNMP[0m: [0/0.00s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]  
  1181. #### Unload disco module mpls ####
  1182.  
  1183. SQL[[1;33mupdate `devices` set `last_discovered_timetaken` = ?, `last_discovered` = NOW() where `device_id` = ? [0;33m[5.242,89][0m 7.04ms]
  1184.  
  1185. Discovered in 5.242 seconds
  1186.  
  1187. ./discovery.php 89 2025-03-12 09:59:40 - 1 devices discovered in 5.739 secs  
  1188.  
  1189. [0;36mSNMP[0m [44/3.49s]: Snmpget[16/0.61s] Snmpwalk[26/2.79s] Snmptranslate[2/0.09s]  
  1190. [1;33mSQL[0m [123/2.66s]: Select[84/0.76s] Insert[19/1.55s] Update[15/0.24s] Delete[5/0.11s]  
  1191. [0;32mRRD[0m [0/0.00s]:  
  1192.  
captcha