From Tarik Sedlarevic, 5 Years ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[select `version` from `dbSchema` order by `version` desc limit 1 [] 0.65ms]
  3. SQL[SELECT version() [] 0.4ms]
  4. ===================================
  5. Version info:
  6. Commit SHA: 913925ccfffb5250aa44b6370e827ea371ceac18
  7. Commit Date: 1538750756
  8. DB Schema: 268
  9. PHP: 7.2.10
  10. MySQL: 5.5.60-MariaDB
  11. RRDTool: 1.4.8
  12. SNMP: NET-SNMP 5.7.2
  13. ==================================DEBUG!
  14. Updating os_def.cache...
  15. Warning: file_put_contents(/opt/librenms/cache/os_defs.cache): failed to open stream: Permission denied in /opt/librenms/includes/common.php on line 1651
  16. Done
  17. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE 'syd-eqx-fta-mgm-01' ORDER BY device_id DESC [] 1.73ms]
  18. SQL[SELECT * FROM devices_attribs WHERE `device_id` = ? [10] 0.8ms]
  19. syd-eqx-fta-mgm-01 10 generic [FPING] /usr/sbin/fping -e -q -c 3 -p 500 -t 500 syd-eqx-fta-mgm-01
  20. Array
  21. (
  22.     [xmt] => 3
  23.     [rcv] => 3
  24.     [loss] => 0
  25.     [min] => 0.95
  26.     [max] => 1.99
  27.     [avg] => 1.31
  28.     [exitcode] => 0
  29. )
  30. SQL[INSERT IGNORE INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW()) {"xmt":"3","rcv":"3","loss":"0","min":"0.95","max":"1.99","avg":"1.31","device_id":10} 6.12ms]
  31. SNMP Check response code: 0
  32. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  33. ABC
  34.  
  35. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  36. .*.4.1.1773
  37.  
  38. | ABC | .1.3.6.1.4.1.1773 |
  39. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.12148.10.2.6.0]
  40. No Such Object available on this agent at this OID
  41.  
  42. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [10,"poll_mib"] 0.86ms]
  43. Attempting to initialize OS: generic
  44. OS initialized: LibreNMS\OS\Generic
  45.  
  46. Modules status: Global+ OS  Device  
  47. #### Load disco module core ####
  48. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQn -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysName.0 sysObjectID.0 sysDescr.0]
  49. .*.*.0 = SYD-EQX-FTA-MGM-01
  50. .*.*.0 = .*.4.1.1773
  51. .*.*.0 = ABC
  52.  
  53.  
  54. >> Runtime for discovery module 'core': 0.0380 seconds with 1024 bytes
  55. >> SNMP: [5/0.35s] MySQL: [4/0.01s] RRD: [0/0.00s]
  56. #### Unload disco module core ####
  57.  
  58. Modules status: Global+ OS+ Device  
  59. #### Load disco module os ####
  60. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  61. ABC
  62.  
  63. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  64. .*.4.1.1773
  65.  
  66. | ABC | .1.3.6.1.4.1.1773 |
  67. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.12148.10.2.6.0]
  68. No Such Object available on this agent at this OID
  69.  
  70. OS: Generic Device (generic)
  71.  
  72. >> Runtime for discovery module 'os': 0.2260 seconds with 1344 bytes
  73. >> SNMP: [3/0.22s] MySQL: [0/0.00s] RRD: [0/0.00s]
  74. #### Unload disco module os ####
  75.  
  76. Modules status: Global+ OS+ Device  
  77. #### Load disco module ports ####
  78. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr]
  79. ifDescr.1 = eth0
  80. ifDescr.2 = eth1
  81.  
  82. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName]
  83. ifName = No more variables left in this MIB View (It is past the end of the MIB tree)
  84.  
  85. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias]
  86. ifAlias = No more variables left in this MIB View (It is past the end of the MIB tree)
  87.  
  88. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType]
  89. ifType.1 = ethernetCsmacd
  90. ifType.2 = ethernetCsmacd
  91.  
  92. Array
  93. (
  94.     [1] => Array
  95.         (
  96.             [ifDescr] => eth0
  97.             [ifType] => ethernetCsmacd
  98.         )
  99.  
  100.     [2] => Array
  101.         (
  102.             [ifDescr] => eth1
  103.             [ifType] => ethernetCsmacd
  104.         )
  105.  
  106. )
  107. SQL[SELECT * FROM `ports` WHERE `device_id` = ? ORDER BY port_id [10] 1.6ms]
  108. ..
  109.  
  110. >> Runtime for discovery module 'ports': 0.1740 seconds with 4136 bytes
  111. >> SNMP: [4/0.17s] MySQL: [1/0.00s] RRD: [0/0.00s]
  112. #### Unload disco module ports ####
  113.  
  114. Modules status: Global+ OS+ Device  
  115. #### Load disco module ports-stack ####
  116. SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '10' [] 0.72ms]
  117. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus]
  118. ifStackStatus = No more variables left in this MIB View (It is past the end of the MIB tree)
  119.  
  120.  
  121.  
  122. >> Runtime for discovery module 'ports-stack': 0.0400 seconds with 1784 bytes
  123. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  124. #### Unload disco module ports-stack ####
  125.  
  126. Modules status: Global+ OS+ Device  
  127. #### Load disco module entity-physical ####
  128.  
  129. Caching OIDs: entPhysicalEntrySNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalEntry]
  130. entPhysicalEntry = No more variables left in this MIB View (It is past the end of the MIB tree)
  131.  
  132.  
  133. SQL[SELECT * FROM `entPhysical` WHERE `device_id` = ? [10] 1.07ms]
  134.  
  135. >> Runtime for discovery module 'entity-physical': 0.0760 seconds with 5504 bytes
  136. >> SNMP: [1/0.07s] MySQL: [1/0.00s] RRD: [0/0.00s]
  137. #### Unload disco module entity-physical ####
  138.  
  139. Modules status: Global- OS- Device  Module [ entity-state ] disabled on os.
  140.  
  141. Modules status: Global+ OS+ Device  
  142. #### Load disco module processors ####
  143. No YAML Discovery data.
  144. Host Resources: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorLoad]
  145. hrProcessorLoad = No more variables left in this MIB View (It is past the end of the MIB tree)
  146.  
  147. UCD Resources: SQL[SELECT `devices`.*, `lat`, `lng` FROM `devices` LEFT JOIN locations ON `devices`.`location`=`locations`.`location` WHERE `device_id` = ? [10] 1.41ms]
  148. SQL[SELECT * FROM devices_attribs WHERE `device_id` = ? [10] 0.69ms]
  149. SQL[SELECT * FROM `vrf_lite_cisco` WHERE `device_id` = ? [10] 0.75ms]
  150. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.2021.11.11.0]
  151. No Such Object available on this agent at this OID
  152.  
  153. SQL[SELECT * FROM `processors` WHERE `device_id`=? [10] 0.87ms]
  154. SQL[DELETE T FROM `processors` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `devices`.`device_id` IS NULL [] 0.89ms]
  155.  
  156.  
  157. >> Runtime for discovery module 'processors': 0.1280 seconds with 139312 bytes
  158. >> SNMP: [2/0.12s] MySQL: [5/0.01s] RRD: [0/0.00s]
  159. #### Unload disco module processors ####
  160.  
  161. Modules status: Global+ OS+ Device  
  162. #### Load disco module mempools ####
  163. SQL[SELECT COUNT(*) FROM `mempools` WHERE `device_id` = ? AND `mempool_type` = 'cemp' [10] 0.89ms]
  164. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpLocal]
  165. hpLocalMem = No Such Object available on this agent at this OID
  166.  
  167. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpGlobal]
  168. hpGlobalMem = No Such Object available on this agent at this OID
  169.  
  170. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrStorageEntry]
  171. hrStorageEntry = No more variables left in this MIB View (It is past the end of the MIB tree)
  172.  
  173. SQL[SELECT * FROM `mempools` WHERE `device_id`  = '10' [] 0.72ms]
  174.  
  175.  
  176. >> Runtime for discovery module 'mempools': 0.1880 seconds with 28536 bytes
  177. >> SNMP: [3/0.18s] MySQL: [1/0.00s] RRD: [0/0.00s]
  178. #### Unload disco module mempools ####
  179.  
  180. Modules status: Global+ OS+ Device  
  181. #### Load disco module cisco-vrf-lite ####
  182. SQL[SELECT * FROM vrf_lite_cisco WHERE device_id = ?  [10] 0.75ms]
  183.  
  184. >> Runtime for discovery module 'cisco-vrf-lite': 0.0010 seconds with 2664 bytes
  185. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  186. #### Unload disco module cisco-vrf-lite ####
  187.  
  188. Modules status: Global- OS- Device  Module [ cisco-mac-accounting ] disabled on os.
  189.  
  190. Modules status: Global- OS- Device  Module [ cisco-pw ] disabled on os.
  191.  
  192. Modules status: Global- OS- Device  Module [ vrf ] disabled on os.
  193.  
  194. Modules status: Global- OS- Device  Module [ cisco-cef ] disabled on os.
  195.  
  196. Modules status: Global- OS- Device  Module [ cisco-sla ] disabled on os.
  197.  
  198. Modules status: Global- OS- Device  Module [ cisco-cbqos ] disabled on os.
  199.  
  200. Modules status: Global- OS- Device  Module [ cisco-otv ] disabled on os.
  201.  
  202. Modules status: Global+ OS+ Device  
  203. #### Load disco module ipv4-addresses ####
  204. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex]
  205. ipAdEntIfIndex.* 1
  206.  
  207. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.10.0.50.211]
  208. *
  209.  
  210. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = ? AND `ifIndex` = ? [10,"1"] 0.89ms]
  211. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [10,"1"] 0.8ms]
  212. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = ? ["10.0.50.211\/24"] 0.62ms]
  213. SQL[UPDATE `ipv4_networks` set `context_name`=? WHERE `ipv4_network` = ? [null,"10.0.50.211\/24"] 3.31ms]
  214. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = ? ["10.0.50.211\/24"] 0.58ms]
  215. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ?  ["10.0.50.211",24,65] 0.78ms]
  216. SQL[UPDATE `ipv4_addresses` set `context_name`=? WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ? [null,"10.0.50.211",24,65] 2.26ms]
  217. .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 [10] 1.16ms]
  218.  
  219.  
  220. >> Runtime for discovery module 'ipv4-addresses': 0.1150 seconds with 34376 bytes
  221. >> SNMP: [2/0.10s] MySQL: [3/0.01s] RRD: [0/0.00s]
  222. #### Unload disco module ipv4-addresses ####
  223.  
  224. Modules status: Global+ OS+ Device  
  225. #### Load disco module ipv6-addresses ####
  226. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6]
  227. ipAddressIfIndex.ipv6 No Such Object available on this agent at this OID
  228.  
  229. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipv6AddrPfxLength]
  230. .*.*.8.1.2 No more variables left in this MIB View (It is past the end of the MIB tree)
  231.  
  232. SQL[SELECT `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 [10] 0.95ms]
  233.  
  234.  
  235. >> Runtime for discovery module 'ipv6-addresses': 0.0940 seconds with 3432 bytes
  236. >> SNMP: [2/0.09s] MySQL: [1/0.00s] RRD: [0/0.00s]
  237. #### Unload disco module ipv6-addresses ####
  238.  
  239. Modules status: Global- OS- Device  Module [ route ] disabled on os.
  240.  
  241. Modules status: Global+ OS+ Device  
  242. #### Load disco module sensors ####
  243.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalDescr]
  244. entPhysicalDescr = No more variables left in this MIB View (It is past the end of the MIB tree)
  245.  
  246.  
  247. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [10,"ipmi_hostname"] 0.97ms]
  248. 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",10,"ipmi"] 1.71ms]
  249. 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",10,"ipmi"] 1.57ms]
  250. 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",10,"ipmi"] 1.41ms]
  251. 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",10,"ipmi"] 1.41ms]
  252. Airflow: 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",10,"snmp"] 1.36ms]
  253.  
  254. Current: 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",10,"snmp"] 1.5ms]
  255.  
  256. Charge: 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",10,"snmp"] 1.5ms]
  257.  
  258. Dbm: 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",10,"snmp"] 1.5ms]
  259.  
  260. Fanspeed: 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",10,"snmp"] 1.44ms]
  261.  
  262. Frequency: 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",10,"snmp"] 1.34ms]
  263.  
  264. Humidity: 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",10,"snmp"] 1.36ms]
  265.  
  266. Load: 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",10,"snmp"] 1.18ms]
  267.  
  268. Power: 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",10,"snmp"] 1.19ms]
  269.  
  270. Runtime: 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",10,"snmp"] 1.24ms]
  271.  
  272. Signal: 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",10,"snmp"] 1.19ms]
  273.  
  274. State: 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",10,"snmp"] 1.21ms]
  275.  
  276. Temperature: 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",10,"snmp"] 1.39ms]
  277.  
  278. Voltage: 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",10,"snmp"] 1.37ms]
  279.  
  280. Snr: 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",10,"snmp"] 1.28ms]
  281.  
  282. Pressure: 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",10,"snmp"] 1.2ms]
  283.  
  284. Cooling: 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",10,"snmp"] 1.19ms]
  285.  
  286. Delay: 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",10,"snmp"] 1.25ms]
  287.  
  288. Quality_factor: 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",10,"snmp"] 1.19ms]
  289.  
  290. Chromatic_dispersion: 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",10,"snmp"] 1.34ms]
  291.  
  292. Ber: 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",10,"snmp"] 1.17ms]
  293.  
  294. Eer: 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",10,"snmp"] 1.23ms]
  295.  
  296. Waterflow: 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",10,"snmp"] 1.18ms]
  297.  
  298.  
  299. >> Runtime for discovery module 'sensors': 0.0910 seconds with 45976 bytes
  300. >> SNMP: [1/0.04s] MySQL: [28/0.04s] RRD: [0/0.00s]
  301. #### Unload disco module sensors ####
  302.  
  303. Modules status: Global+ OS+ Device  
  304. #### Load disco module storage ####
  305. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrStorageEntry]
  306. hrStorageEntry = No more variables left in this MIB View (It is past the end of the MIB tree)
  307.  
  308. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable]
  309. dskTable = No Such Object available on this agent at this OID
  310.  
  311. SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id`  = '10' AND `storage_type` != 'dsk' [] 0.81ms]
  312. SQL[SELECT * FROM `storage` WHERE `device_id`  = '10' [] 0.71ms]
  313.  
  314.  
  315. >> Runtime for discovery module 'storage': 0.0940 seconds with 8568 bytes
  316. >> SNMP: [2/0.09s] MySQL: [1/0.00s] RRD: [0/0.00s]
  317. #### Unload disco module storage ####
  318.  
  319. Modules status: Global+ OS+ Device  
  320. #### Load disco module hr-device ####
  321. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrDeviceEntry]
  322. hrDeviceEntry = No more variables left in this MIB View (It is past the end of the MIB tree)
  323.  
  324. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorEntry]
  325. hrProcessorEntry = No more variables left in this MIB View (It is past the end of the MIB tree)
  326.  
  327. Array
  328. (
  329. )
  330. SQL[SELECT * FROM `hrDevice` WHERE `device_id`  = '10' [] 0.77ms]
  331.  
  332.  
  333. >> Runtime for discovery module 'hr-device': 0.0900 seconds with 3704 bytes
  334. >> SNMP: [2/0.09s] MySQL: [1/0.00s] RRD: [0/0.00s]
  335. #### Unload disco module hr-device ####
  336.  
  337. Modules status: Global+ OS+ Device  
  338. #### Load disco module discovery-protocols ####
  339.  CISCO-CDP-MIB: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m CISCO-CDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cdpCache]
  340. cdpCache = No Such Object available on this agent at this OID
  341.  
  342.  
  343.  LLDP-MIB: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemTable]
  344. lldpRemTable = No Such Object available on this agent at this OID
  345.  
  346.  
  347.  OSPF Discovery: SQL[SELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`=? [10] 0.89ms]
  348.  
  349. SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = ? [10] 1.36ms]
  350. SQL[DELETE T FROM `links` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`local_device_id` WHERE `devices`.`device_id` IS NULL [] 0.65ms]
  351.  0 orphaned links deleted
  352.  
  353. >> Runtime for discovery module 'discovery-protocols': 0.1360 seconds with 4688 bytes
  354. >> SNMP: [0/0.00s] MySQL: [3/0.00s] RRD: [0/0.00s]
  355. #### Unload disco module discovery-protocols ####
  356.  
  357. Modules status: Global+ OS+ Device  
  358. #### Load disco module arp-table ####
  359. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress]
  360. ipNetToPhysicalPhysAddress = No Such Object available on this agent at this OID
  361.  
  362. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress]
  363. ipNetToMediaPhysAddress[0][*] = 40:71:83:2d:ad:b0
  364. ipNetToMediaPhysAddress[0][*] = ec:a8:6b:fc:b1:92
  365.  
  366. SQL[SELECT * from `ipv4_mac` WHERE `device_id`=? AND `context_name`=? [10,""] 0.91ms]
  367. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [10,0] 1.38ms]
  368. :
  369.  
  370. 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 [] 0.83ms]
  371.  
  372.  
  373. >> Runtime for discovery module 'arp-table': 0.1070 seconds with 3648 bytes
  374. >> SNMP: [0/0.00s] MySQL: [3/0.00s] RRD: [0/0.00s]
  375. #### Unload disco module arp-table ####
  376.  
  377. Modules status: Global- OS- Device  Module [ discovery-arp ] disabled on os.
  378.  
  379. Modules status: Global- OS- Device  Module [ junose-atm-vp ] disabled on os.
  380.  
  381. Modules status: Global+ OS+ Device  
  382. #### Load disco module bgp-peers ####
  383. SNMP[/usr/bin/snmpgetnext -v2c -c COMMUNITY -Oqvn -m BGP4-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 bgpLocalAs]
  384. No more variables left in this MIB View (It is past the end of the MIB tree)
  385.  
  386. No BGP on hostPeers :
  387. SQL[DELETE FROM `bgpPeers` WHERE device_id=? AND context_name=? [10,""] 0.64ms]
  388. SQL[DELETE FROM `bgpPeers_cbgp` WHERE device_id=? AND context_name=? [10,""] 0.68ms]
  389.  
  390. SQL[SELECT DISTINCT context_name FROM bgpPeers WHERE device_id=? [10] 0.81ms]
  391.  
  392. >> Runtime for discovery module 'bgp-peers': 0.0430 seconds with 5584 bytes
  393. >> SNMP: [1/0.04s] MySQL: [2/0.00s] RRD: [0/0.00s]
  394. #### Unload disco module bgp-peers ####
  395.  
  396. Modules status: Global+ OS+ Device  
  397. #### Load disco module vlans ####
  398. SQL[SELECT * FROM `vlans` WHERE `device_id` = ? [10] 0.63ms]
  399. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex]
  400. dot1dBasePortIfIndex = No more variables left in this MIB View (It is past the end of the MIB tree)
  401.  
  402. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IEEE8021-Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qVlanVersionNumber.0]
  403. No Such Object available on this agent at this OID
  404.  
  405.  
  406.  
  407. >> Runtime for discovery module 'vlans': 0.1130 seconds with 9304 bytes
  408. >> SNMP: [2/0.11s] MySQL: [1/0.00s] RRD: [0/0.00s]
  409. #### Unload disco module vlans ####
  410.  
  411. Modules status: Global- OS- Device  Module [ vmware-vminfo ] disabled on os.
  412.  
  413. Modules status: Global- OS- Device  Module [ libvirt-vminfo ] disabled on os.
  414.  
  415. Modules status: Global- OS- Device  Module [ toner ] disabled on os.
  416.  
  417. Modules status: Global+ OS+ Device  
  418. #### Load disco module ucd-diskio ####
  419. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry]
  420. diskIOEntry = No Such Object available on this agent at this OID
  421.  
  422. Array
  423. (
  424. )
  425. SQL[SELECT * FROM `ucd_diskio` where `device_id`  = '10' [] 0.8ms]
  426.  
  427.  
  428. >> Runtime for discovery module 'ucd-diskio': 0.0410 seconds with 3160 bytes
  429. >> SNMP: [1/0.04s] MySQL: [1/0.00s] RRD: [0/0.00s]
  430. #### Unload disco module ucd-diskio ####
  431.  
  432. Modules status: Global- OS- Device  Module [ applications ] disabled on os.
  433.  
  434. Modules status: Global+ OS+ Device  
  435. #### Load disco module services ####
  436.  
  437. >> Runtime for discovery module 'services': 0.0000 seconds with 296 bytes
  438. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  439. #### Unload disco module services ####
  440.  
  441. Modules status: Global+ OS+ Device  
  442. #### Load disco module stp ####
  443. SQL[SELECT * FROM `stp` WHERE `device_id` = ? [10] 0.83ms]
  444. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  445. No Such Object available on this agent at this OID
  446.  
  447.  
  448.  
  449. >> Runtime for discovery module 'stp': 0.0450 seconds with 5792 bytes
  450. >> SNMP: [1/0.04s] MySQL: [1/0.00s] RRD: [0/0.00s]
  451. #### Unload disco module stp ####
  452.  
  453. Modules status: Global+ OS+ Device  
  454. #### Load disco module ntp ####
  455.  
  456. >> Runtime for discovery module 'ntp': 0.0000 seconds with 232 bytes
  457. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  458. #### Unload disco module ntp ####
  459.  
  460. Modules status: Global- OS- Device  Module [ loadbalancers ] disabled on os.
  461.  
  462. Modules status: Global- OS- Device  Module [ mef ] disabled on os.
  463.  
  464. Modules status: Global+ OS+ Device  
  465. #### Load disco module wireless ####
  466. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"ap-count"] 1ms]
  467. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"clients"] 0.82ms]
  468. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"quality"] 0.9ms]
  469. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"capacity"] 0.8ms]
  470. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"utilization"] 0.83ms]
  471. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"rate"] 0.93ms]
  472. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"ccq"] 0.75ms]
  473. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"snr"] 0.75ms]
  474. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"ssr"] 0.74ms]
  475. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"mse"] 0.7ms]
  476. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"rssi"] 0.72ms]
  477. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"power"] 0.8ms]
  478. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"noise-floor"] 0.76ms]
  479. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"errors"] 0.8ms]
  480. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"error-ratio"] 0.73ms]
  481. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"error-rate"] 0.82ms]
  482. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"frequency"] 0.69ms]
  483. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [10,"distance"] 0.7ms]
  484.  
  485. >> Runtime for discovery module 'wireless': 0.0250 seconds with 123048 bytes
  486. >> SNMP: [0/0.00s] MySQL: [18/0.02s] RRD: [0/0.00s]
  487. #### Unload disco module wireless ####
  488.  
  489. Modules status: Global+ OS+ Device  
  490. #### Load disco module fdb-table ####
  491. SQL[SELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = ? [10] 0.55ms]
  492. SQL[SELECT * FROM `ports_fdb` WHERE `device_id` = ? [10] 0.56ms]
  493. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qTpFdbPort]
  494. dot1qTpFdbPort = No more variables left in this MIB View (It is past the end of the MIB tree)
  495.  
  496. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dTpFdbPort]
  497. dot1dTpFdbPort = No more variables left in this MIB View (It is past the end of the MIB tree)
  498.  
  499.  
  500.  
  501. >> Runtime for discovery module 'fdb-table': 0.1080 seconds with 3016 bytes
  502. >> SNMP: [0/0.00s] MySQL: [2/0.00s] RRD: [0/0.00s]
  503. #### Unload disco module fdb-table ####
  504.  
  505. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [10,"poll_mib"] 0.86ms]
  506. SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [3.334,10] 2.33ms]
  507. Discovered in 3.334 seconds
  508.  
  509. SQL[INSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) {"type":"discover","doing":"syd-eqx-fta-mgm-01","start":1538893189.042027,"duration":"3.965","devices":1,"poller":"librenms.digitallogistics.online"} 2.3ms]
  510. /opt/librenms/discovery.php syd-eqx-fta-mgm-01 2018-10-07 17:19:53 - 1 devices discovered in 3.965 secs
  511. SNMP [32/1.76s]: Get[12/0.81s] Getnext[1/0.04s] Walk[19/0.91s]
  512. MySQL [82/0.11s]: Cell[7/0.01s] Row[-1/0.00s] Rows[64/0.08s] Column[2/0.00s] Update[3/0.01s] Insert[2/0.01s] Delete[5/0.00s]
  513. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  514.  
  515.