From Blush Pintail, 1 Year ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.86ms]
  3.  
  4. SQL[select count(*) as aggregate from `migrations` [] 0.63ms]
  5.  
  6. SQL[select version() [] 0.65ms]
  7.  
  8. ===========================================
  9. Component | Version
  10. --------- | -------
  11. LibreNMS  | 22.10.0-340-g205ee564e (2022-11-07T18:00:14-06:00)
  12. DB Schema | 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)
  13. PHP       | 8.1.11
  14. Python    | 3.6.8
  15. Database  | MariaDB 10.6.11-MariaDB
  16. RRDTool   | 1.8.0
  17. SNMP      | 5.8
  18. ===========================================
  19. DEBUG!
  20. Updating os_def.cache  
  21. Override discovery modules: os  
  22. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE '172.18.1.1' ORDER BY device_id DESC [] 1.03ms]
  23.  
  24. SQL[select * from `devices` where `device_id` = ? limit 1 [235] 0.66ms]
  25.  
  26. SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [235] 0.47ms]
  27.  
  28. 172.18.1.1 235 generic [FPING] '/usr/sbin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' '172.18.1.1'
  29.  
  30. response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.43/0.61/0.9  
  31. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0']  
  32. SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.3861.3.4500
  33.  
  34.  
  35. Modules status: Global+  
  36. OS  
  37. Device  
  38.  
  39. #### Load disco module core ####
  40. Attempting to initialize OS: generic  
  41. OS initialized: LibreNMS\OS\Generic  
  42. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v1' '-c' 'COMMUNITY' '-OQXUte' '-On' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0']  
  43. .*.*.0 = .*.4.1.3861.3.4500
  44. .*.*.0 = FLASHWAVE 4500:R8.1.K
  45. .*.*.0 = BLT-AAA
  46.  
  47.  
  48. | FLASHWAVE 4500:R8.1.K | .1.3.6.1.4.1.3861.3.4500 |
  49.  
  50. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/arris' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.1166.1.621.14.2.0']  
  51. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMPv2-SMI::enterprises.1166.1.621.14.2.0\n\n"]
  52.  
  53. Error in packet
  54. Reason: (noSuchName) There is no such variable name in this MIB.
  55. Failed object: SNMPv2-SMI::enterprises.1166.1.621.14.2.0
  56.  
  57.  
  58. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.8072.1.3.2.3.1.2.6.100.105.115.116.114.111']  
  59. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: NET-SNMP-EXTEND-MIB::nsExtendOutputFull[distro]\n\n"]
  60.  
  61. Error in packet
  62. Reason: (noSuchName) There is no such variable name in this MIB.
  63. Failed object: NET-SNMP-EXTEND-MIB::nsExtendOutputFull[distro]
  64.  
  65.  
  66. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/eltek' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.12148.10.2.6.0']  
  67. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMPv2-SMI::enterprises.12148.10.2.6.0\n\n"]
  68.  
  69. Error in packet
  70. Reason: (noSuchName) There is no such variable name in this MIB.
  71. Failed object: SNMPv2-SMI::enterprises.12148.10.2.6.0
  72.  
  73.  
  74. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/hikvision' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.39165.1.1.0']  
  75. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMPv2-SMI::enterprises.39165.1.1.0\n\n"]
  76.  
  77. Error in packet
  78. Reason: (noSuchName) There is no such variable name in this MIB.
  79. Failed object: SNMPv2-SMI::enterprises.39165.1.1.0
  80.  
  81.  
  82. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/orvaldi' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.21111.1.1.1.6.0']  
  83. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMPv2-SMI::enterprises.21111.1.1.1.6.0\n\n"]
  84.  
  85. Error in packet
  86. Reason: (noSuchName) There is no such variable name in this MIB.
  87. Failed object: SNMPv2-SMI::enterprises.21111.1.1.1.6.0
  88.  
  89.  
  90. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '1.3.6.1.4.1.4515.1.3.6.1.1.1.2.0']  
  91. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMPv2-SMI::enterprises.4515.1.3.6.1.1.1.2.0\n\n"]
  92.  
  93. Error in packet
  94. Reason: (noSuchName) There is no such variable name in this MIB.
  95. Failed object: SNMPv2-SMI::enterprises.4515.1.3.6.1.1.1.2.0
  96.  
  97.  
  98. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/primekey' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'PRIMEKEY-APPLIANCE-MIB::pkAVersion']  
  99. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: PRIMEKEY-APPLIANCE-MIB::pkAVersion\n\n"]
  100.  
  101. Error in packet
  102. Reason: (noSuchName) There is no such variable name in this MIB.
  103. Failed object: PRIMEKEY-APPLIANCE-MIB::pkAVersion
  104.  
  105.  
  106. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/wisi' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.7465.20.2.9.1.2.1.3.1.2']  
  107. Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMPv2-SMI::enterprises.7465.20.2.9.1.2.1.3.1.2\n\n"]
  108.  
  109. Error in packet
  110. Reason: (noSuchName) There is no such variable name in this MIB.
  111. Failed object: SNMPv2-SMI::enterprises.7465.20.2.9.1.2.1.3.1.2
  112.  
  113.  
  114. OS: Generic Device (generic)
  115.  
  116. Attempting to initialize OS: generic  
  117. OS initialized: LibreNMS\OS\Generic  
  118.  
  119. >> Runtime for discovery module 'core': 0.2680 seconds with 368 bytes
  120. >> SNMP: [9/0.25s] MySQL: [0/0.00s] RRD: [0/0.00s]  
  121. #### Unload disco module core ####
  122.  
  123. Modules status: Global+  
  124. OS  
  125. Device  
  126.  
  127. #### Load disco module os ####
  128. Yaml location data:  
  129. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysLocation.0']
  130.  
  131.  
  132. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'sysContact.0']
  133.  
  134.  
  135. Yaml OS data:  
  136. Location:
  137. Hardware:
  138. OS Version:
  139. OS Features:
  140. Serial:
  141.  
  142. >> Runtime for discovery module 'os': 0.0500 seconds with 210768 bytes
  143. >> SNMP: [4/0.04s] MySQL: [0/0.00s] RRD: [0/0.00s]  
  144. #### Unload disco module os ####
  145.  
  146. SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [1.455,235] 2.02ms]
  147.  
  148. Discovered in 1.455 seconds
  149.  
  150. ./discovery.php 172.18.1.1 2022-11-08 17:33:06 - 1 devices discovered in 1.749 secs  
  151.  
  152. SNMP [14/0.41s]: Snmpget[14/0.41s]  
  153. SQL [8/0.07s]: Select[7/0.05s] Update[1/0.02s]  
  154. RRD [0/0.00s]: