From root, 5 Years ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[[1;33mselect `version` from `dbSchema` order by `version` desc limit 1 [0;33m[][0m 0.6ms]
  3. SQL[[1;33mSELECT version() [0;33m[][0m 0.35ms]
  4. ===================================
  5. Version info:
  6. Commit SHA: a143452e5d6d087ad241cfe5d70bc4dc541445c3
  7. Commit Date: 1542754643
  8. DB Schema: 271
  9. PHP: 7.2.11
  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... Done
  15. SQL[[1;33mSELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE '192.168.88.100' ORDER BY device_id DESC [0;33m[][0m 1.02ms]
  16. SQL[[1;33mSELECT * FROM devices_attribs WHERE `device_id` = ? [0;33m[11][0m 0.35ms]
  17. 192.168.88.100 11 brother [FPING] /usr/sbin/fping -e -q -c 3 -p 500 -t 500 192.168.88.100
  18. Array
  19. (
  20.     [xmt] => 3
  21.     [rcv] => 3
  22.     [loss] => 0
  23.     [min] => 0.59
  24.     [max] => 1.81
  25.     [avg] => 1.34
  26.     [exitcode] => 0
  27. )
  28. SQL[[1;33mINSERT IGNORE INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`,`debug`)  VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW(),:debug) [0;33m{"xmt":"3","rcv":"3","loss":"0","min":"0.59","max":"1.81","avg":"1.34","device_id":11,"debug":"[]"}[0m 1.99ms]
  29. SNMP Check response code: 0
  30. SQL[[1;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [0;33m[11,"poll_mib"][0m 0.98ms]
  31. Attempting to initialize OS: brother
  32. Attempting to initialize OS: printer
  33. OS initilized as Generic
  34.  
  35. Modules status: Global+ OS  Device  
  36. #### Load disco module core ####
  37. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OUQn -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysName.0 sysObjectID.0 sysDescr.0[0m]
  38. .*.*.0 = P-ASR-000193
  39. .*.*.0 = .*.4.1.24*.1
  40. .*.*.0 = Brother NC-8500h, Firmware Ver.1.18  (17.4.10),MID 8CE-415,FID 2
  41.  
  42.  
  43. >> Runtime for discovery module 'core': 0.0150 seconds with 1088 bytes
  44. >> SNMP: [2/0.07s] MySQL: [4/0.01s] RRD: [0/0.00s]
  45. #### Unload disco module core ####
  46.  
  47. Modules status: Global+ OS+ Device  
  48. #### Load disco module os ####
  49. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0[0m]
  50. Brother NC-8500h, Firmware Ver.1.18  (17.4.10),MID 8CE-415,FID 2
  51.  
  52. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0[0m]
  53. .*.4.1.24*.1
  54.  
  55. | Brother NC-8500h, Firmware Ver.1.18  (17.4.10),MID 8CE-415,FID 2 | .1.3.6.1.4.1.2435.2.3.9.1 |
  56. OS: Brother Printer (brother)
  57.  
  58. >> Runtime for discovery module 'os': 0.0590 seconds with 1344 bytes
  59. >> SNMP: [2/0.06s] MySQL: [0/0.00s] RRD: [0/0.00s]
  60. #### Unload disco module os ####
  61.  
  62. Modules status: Global+ OS+ Device  
  63. #### Load disco module ports ####
  64. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr[0m]
  65. ifDescr.1 = NC-8500h
  66. ifDescr.2 = NC-8100w
  67. ifDescr.3 = NC-8100w
  68. ifDescr.4 = SoftwareLoopBack
  69.  
  70. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName[0m]
  71. ifName = No Such Object available on this agent at this OID
  72.  
  73. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias[0m]
  74. ifAlias = No Such Object available on this agent at this OID
  75.  
  76. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType[0m]
  77. ifType.1 = iso88023Csmacd
  78. ifType.2 = iso88023Csmacd
  79. ifType.3 = iso88023Csmacd
  80. ifType.4 = softwareLoopback
  81.  
  82. Array
  83. (
  84.     [1] => Array
  85.         (
  86.             [ifDescr] => NC-8500h
  87.             [ifType] => iso88023Csmacd
  88.         )
  89.  
  90.     [2] => Array
  91.         (
  92.             [ifDescr] => NC-8100w
  93.             [ifType] => iso88023Csmacd
  94.         )
  95.  
  96.     [3] => Array
  97.         (
  98.             [ifDescr] => NC-8100w
  99.             [ifType] => iso88023Csmacd
  100.         )
  101.  
  102.     [4] => Array
  103.         (
  104.             [ifDescr] => SoftwareLoopBack
  105.             [ifType] => softwareLoopback
  106.         )
  107.  
  108. )
  109. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? ORDER BY port_id [0;33m[11][0m 1.05ms]
  110. ....
  111.  
  112. >> Runtime for discovery module 'ports': 0.0610 seconds with 4152 bytes
  113. >> SNMP: [4/0.06s] MySQL: [1/0.00s] RRD: [0/0.00s]
  114. #### Unload disco module ports ####
  115.  
  116. Modules status: Global+ OS+ Device  
  117. #### Load disco module ports-stack ####
  118. SQL[[1;33mSELECT * FROM `ports_stack` WHERE `device_id` = '11' [0;33m[][0m 0.29ms]
  119. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus[0m]
  120. ifStackStatus = No Such Object available on this agent at this OID
  121.  
  122.  
  123.  
  124. >> Runtime for discovery module 'ports-stack': 0.0150 seconds with 1784 bytes
  125. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  126. #### Unload disco module ports-stack ####
  127.  
  128. Modules status: Global+ OS+ Device  
  129. #### Load disco module entity-physical ####
  130.  
  131. Caching OIDs: entPhysicalEntrySNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalEntry[0m]
  132. entPhysicalEntry = No Such Object available on this agent at this OID
  133.  
  134.  
  135. SQL[[1;33mSELECT * FROM `entPhysical` WHERE `device_id` = ? [0;33m[11][0m 0.65ms]
  136.  
  137. >> Runtime for discovery module 'entity-physical': 0.0290 seconds with 5504 bytes
  138. >> SNMP: [1/0.03s] MySQL: [1/0.00s] RRD: [0/0.00s]
  139. #### Unload disco module entity-physical ####
  140.  
  141. Modules status: Global- OS- Device  Module [ entity-state ] disabled on os.
  142.  
  143. Modules status: Global+ OS+ Device  
  144. #### Load disco module processors ####
  145. No YAML Discovery data.
  146. Host Resources: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorLoad[0m]
  147. hrProcessorLoad = No Such Instance currently exists at this OID
  148.  
  149. UCD Resources: SQL[[1;33mSELECT `devices`.*, `lat`, `lng` FROM `devices` LEFT JOIN locations ON `devices`.`location`=`locations`.`location` WHERE `device_id` = ? [0;33m[11][0m 0.79ms]
  150. SQL[[1;33mSELECT * FROM devices_attribs WHERE `device_id` = ? [0;33m[11][0m 0.32ms]
  151. SQL[[1;33mSELECT * FROM `vrf_lite_cisco` WHERE `device_id` = ? [0;33m[11][0m 0.32ms]
  152. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.2021.11.11.0[0m]
  153. No Such Object available on this agent at this OID
  154.  
  155. SQL[[1;33mSELECT * FROM `processors` WHERE `device_id`=? [0;33m[11][0m 0.58ms]
  156. 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 0.32ms]
  157.  
  158.  
  159. >> Runtime for discovery module 'processors': 0.0490 seconds with 139456 bytes
  160. >> SNMP: [2/0.04s] MySQL: [5/0.00s] RRD: [0/0.00s]
  161. #### Unload disco module processors ####
  162.  
  163. Modules status: Global+ OS+ Device  
  164. #### Load disco module mempools ####
  165. SQL[[1;33mSELECT COUNT(*) FROM `mempools` WHERE `device_id` = ? AND `mempool_type` = 'cemp' [0;33m[11][0m 0.65ms]
  166. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpLocal[0m]
  167. hpLocalMem = No Such Object available on this agent at this OID
  168.  
  169. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpGlobal[0m]
  170. hpGlobalMem = No Such Object available on this agent at this OID
  171.  
  172. SNMP[[0;36m/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[0m]
  173. hrStorageIndex.1 = 1
  174. hrStorageType.1 = hrStorageRam
  175. hrStorageDescr.1 = Random Access Memory
  176. hrStorageAllocationUnits.1 = 1
  177. hrStorageSize.1 = 201326592
  178. hrStorageUsed.1 = 97608
  179. hrStorageAllocationFailures.1 = 0
  180.  
  181. hrStorage : Discover Mempool: 1, hrstorage, Random Access Memory, 1, ,
  182. SQL[[1;33mSELECT COUNT(mempool_id) FROM `mempools` WHERE `mempool_index` = ? AND `device_id` = ? AND `mempool_type` = ? [0;33m[1,11,"hrstorage"][0m 0.65ms]
  183. .SQL[[1;33mUPDATE `mempools` set `mempool_descr`=? WHERE device_id=? AND mempool_index=? AND mempool_type=? [0;33m["Random Access Memory",11,1,"hrstorage"][0m 1.5ms]
  184. Array
  185. (
  186.     [hrstorage] => Array
  187.         (
  188.             [1] => 1
  189.         )
  190.  
  191. )
  192. SQL[[1;33mSELECT * FROM `mempools` WHERE `device_id`  = '11' [0;33m[][0m 0.35ms]
  193. 1 -> hrstorage
  194.  
  195.  
  196. >> Runtime for discovery module 'mempools': 0.0700 seconds with 29624 bytes
  197. >> SNMP: [3/0.06s] MySQL: [2/0.00s] RRD: [0/0.00s]
  198. #### Unload disco module mempools ####
  199.  
  200. Modules status: Global+ OS+ Device  
  201. #### Load disco module cisco-vrf-lite ####
  202. SQL[[1;33mSELECT * FROM vrf_lite_cisco WHERE device_id = ?  [0;33m[11][0m 0.28ms]
  203.  
  204. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 2664 bytes
  205. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  206. #### Unload disco module cisco-vrf-lite ####
  207.  
  208. Modules status: Global- OS- Device  Module [ cisco-mac-accounting ] disabled on os.
  209.  
  210. Modules status: Global- OS- Device  Module [ cisco-pw ] disabled on os.
  211.  
  212. Modules status: Global- OS- Device  Module [ vrf ] disabled on os.
  213.  
  214. Modules status: Global- OS- Device  Module [ cisco-cef ] disabled on os.
  215.  
  216. Modules status: Global- OS- Device  Module [ cisco-sla ] disabled on os.
  217.  
  218. Modules status: Global- OS- Device  Module [ cisco-cbqos ] disabled on os.
  219.  
  220. Modules status: Global- OS- Device  Module [ cisco-otv ] disabled on os.
  221.  
  222. Modules status: Global+ OS+ Device  
  223. #### Load disco module ipv4-addresses ####
  224. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex[0m]
  225. ipAdEntIfIndex.* 1
  226.  
  227. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.192.168.88.100[0m]
  228. *
  229.  
  230. SQL[[1;33mSELECT COUNT(*) FROM `ports` WHERE device_id = ? AND `ifIndex` = ? [0;33m[11,"1"][0m 0.95ms]
  231. SQL[[1;33mSELECT `port_id` FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [0;33m[11,"1"][0m 0.39ms]
  232. SQL[[1;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = ? [0;33m["192.168.88.100\/24"][0m 0.62ms]
  233. SQL[[1;33mUPDATE `ipv4_networks` set `context_name`=? WHERE `ipv4_network` = ? [0;33m[null,"192.168.88.100\/24"][0m 11.41ms]
  234. sSQL[[1;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = ? [0;33m["192.168.88.100\/24"][0m 0.63ms]
  235. SQL[[1;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ?  [0;33m["192.168.88.100",24,371][0m 0.71ms]
  236. SQL[[1;33mUPDATE `ipv4_addresses` set `context_name`=? WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ? [0;33m[null,"192.168.88.100",24,371][0m 1.66ms]
  237. .SQL[[1;33mSELECT `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 [0;33m[11][0m 0.84ms]
  238.  
  239.  
  240. >> Runtime for discovery module 'ipv4-addresses': 0.0530 seconds with 34392 bytes
  241. >> SNMP: [2/0.03s] MySQL: [3/0.01s] RRD: [0/0.00s]
  242. #### Unload disco module ipv4-addresses ####
  243.  
  244. Modules status: Global+ OS+ Device  
  245. #### Load disco module ipv6-addresses ####
  246. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6[0m]
  247. ipAddressIfIndex.ipv6 No Such Object available on this agent at this OID
  248.  
  249. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipv6AddrPfxLength[0m]
  250. .*.*.8.1.2 No Such Object available on this agent at this OID
  251.  
  252. 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[11][0m 0.62ms]
  253.  
  254.  
  255. >> Runtime for discovery module 'ipv6-addresses': 0.0340 seconds with 3424 bytes
  256. >> SNMP: [2/0.03s] MySQL: [1/0.00s] RRD: [0/0.00s]
  257. #### Unload disco module ipv6-addresses ####
  258.  
  259. Modules status: Global- OS- Device  Module [ route ] disabled on os.
  260.  
  261. Modules status: Global+ OS+ Device  
  262. #### Load disco module sensors ####
  263.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalDescr[0m]
  264. entPhysicalDescr = No Such Object available on this agent at this OID
  265.  
  266.  
  267. SQL[[1;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [0;33m[11,"ipmi_hostname"][0m 0.86ms]
  268. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["voltage",11,"ipmi"][0m 1.26ms]
  269. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["temperature",11,"ipmi"][0m 0.91ms]
  270. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["fanspeed",11,"ipmi"][0m 1.11ms]
  271. SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["power",11,"ipmi"][0m 0.58ms]
  272. Airflow: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["airflow",11,"snmp"][0m 0.57ms]
  273.  
  274. Current: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["current",11,"snmp"][0m 0.56ms]
  275.  
  276. Charge: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["charge",11,"snmp"][0m 0.55ms]
  277.  
  278. Dbm: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["dbm",11,"snmp"][0m 0.58ms]
  279.  
  280. Fanspeed: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["fanspeed",11,"snmp"][0m 0.57ms]
  281.  
  282. Frequency: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["frequency",11,"snmp"][0m 0.55ms]
  283.  
  284. Humidity: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["humidity",11,"snmp"][0m 0.57ms]
  285.  
  286. Load: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["load",11,"snmp"][0m 0.57ms]
  287.  
  288. Power: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["power",11,"snmp"][0m 0.55ms]
  289.  
  290. Runtime: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["runtime",11,"snmp"][0m 0.57ms]
  291.  
  292. Signal: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["signal",11,"snmp"][0m 0.57ms]
  293.  
  294. State: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["state",11,"snmp"][0m 0.55ms]
  295.  
  296. Temperature: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["temperature",11,"snmp"][0m 0.55ms]
  297.  
  298. Voltage: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["voltage",11,"snmp"][0m 0.57ms]
  299.  
  300. Snr: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["snr",11,"snmp"][0m 0.55ms]
  301.  
  302. Pressure: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["pressure",11,"snmp"][0m 0.55ms]
  303.  
  304. Cooling: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["cooling",11,"snmp"][0m 0.57ms]
  305.  
  306. Delay: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["delay",11,"snmp"][0m 0.57ms]
  307.  
  308. Quality_factor: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["quality_factor",11,"snmp"][0m 1.01ms]
  309.  
  310. Chromatic_dispersion: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["chromatic_dispersion",11,"snmp"][0m 1.19ms]
  311.  
  312. Ber: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["ber",11,"snmp"][0m 1.21ms]
  313.  
  314. Eer: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["eer",11,"snmp"][0m 0.87ms]
  315.  
  316. Waterflow: SQL[[1;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? [0;33m["waterflow",11,"snmp"][0m 0.83ms]
  317.  
  318.  
  319. >> Runtime for discovery module 'sensors': 0.0410 seconds with 46096 bytes
  320. >> SNMP: [1/0.02s] MySQL: [28/0.02s] RRD: [0/0.00s]
  321. #### Unload disco module sensors ####
  322.  
  323. Modules status: Global+ OS+ Device  
  324. #### Load disco module storage ####
  325. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m DATA-DOMAIN-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/datadomain udp:HOSTNAME:161 fileSystemSpaceTable[0m]
  326. fileSystemSpaceTable = No more variables left in this MIB View (It is past the end of the MIB tree)
  327.  
  328. SNMP[[0;36m/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[0m]
  329. hrStorageIndex.1 = 1
  330. hrStorageType.1 = hrStorageRam
  331. hrStorageDescr.1 = Random Access Memory
  332. hrStorageAllocationUnits.1 = 1
  333. hrStorageSize.1 = 201326592
  334. hrStorageUsed.1 = 97608
  335. hrStorageAllocationFailures.1 = 0
  336.  
  337. hrStorage : SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable[0m]
  338. dskTable = No Such Object available on this agent at this OID
  339.  
  340. SQL[[1;33mSELECT `storage_descr` FROM `storage` WHERE `device_id`  = '11' AND `storage_type` != 'dsk' [0;33m[][0m 0.6ms]
  341. SQL[[1;33mSELECT * FROM `storage` WHERE `device_id`  = '11' [0;33m[][0m 0.32ms]
  342.  
  343.  
  344. >> Runtime for discovery module 'storage': 0.0760 seconds with 11224 bytes
  345. >> SNMP: [3/0.07s] MySQL: [1/0.00s] RRD: [0/0.00s]
  346. #### Unload disco module storage ####
  347.  
  348. Modules status: Global+ OS+ Device  
  349. #### Load disco module hr-device ####
  350. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrDeviceEntry[0m]
  351. hrDeviceIndex.1 = 1
  352. hrDeviceType.1 = hrDevicePrinter
  353. hrDeviceDescr.1 = Brother MFC-9330CDW
  354. hrDeviceID.1 = zeroDotZero
  355. hrDeviceStatus.1 = warning
  356. hrDeviceErrors.1 = 0
  357.  
  358. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorEntry[0m]
  359. hrProcessorEntry = No Such Object available on this agent at this OID
  360.  
  361. Array
  362. (
  363.     [1] => Array
  364.         (
  365.             [hrDeviceIndex] => 1
  366.             [hrDeviceType] => hrDevicePrinter
  367.             [hrDeviceDescr] => Brother MFC-9330CDW
  368.             [hrDeviceID] => zeroDotZero
  369.             [hrDeviceStatus] => warning
  370.             [hrDeviceErrors] => 0
  371.         )
  372.  
  373. )
  374. SQL[[1;33mSELECT COUNT(*) FROM `hrDevice` WHERE device_id = ? AND hrDeviceIndex = ? [0;33m[11,"1"][0m 0.61ms]
  375. SQL[[1;33mUPDATE `hrDevice` set `hrDeviceType`=?,`hrDeviceDescr`=?,`hrDeviceStatus`=?,`hrDeviceErrors`=? WHERE device_id=? AND hrDeviceIndex=? [0;33m["hrDevicePrinter","Brother MFC-9330CDW","warning","0",11,"1"][0m 1.57ms]
  376. .SQL[[1;33mSELECT * FROM `hrDevice` WHERE `device_id`  = '11' [0;33m[][0m 0.33ms]
  377.  
  378.  
  379. >> Runtime for discovery module 'hr-device': 0.0420 seconds with 6056 bytes
  380. >> SNMP: [2/0.04s] MySQL: [2/0.00s] RRD: [0/0.00s]
  381. #### Unload disco module hr-device ####
  382.  
  383. Modules status: Global+ OS+ Device  
  384. #### Load disco module discovery-protocols ####
  385.  CISCO-CDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m CISCO-CDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cdpCache[0m]
  386. cdpCache = No Such Object available on this agent at this OID
  387.  
  388.  
  389.  LLDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemTable[0m]
  390.  
  391.  
  392.  OSPF Discovery: SQL[[1;33mSELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`=? [0;33m[11][0m 0.99ms]
  393.  
  394. SQL[[1;33mSELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = ? [0;33m[11][0m 1.29ms]
  395. 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 0.66ms]
  396.  0 orphaned links deleted
  397.  
  398. >> Runtime for discovery module 'discovery-protocols': 0.0530 seconds with 5048 bytes
  399. >> SNMP: [0/0.00s] MySQL: [3/0.00s] RRD: [0/0.00s]
  400. #### Unload disco module discovery-protocols ####
  401.  
  402. Modules status: Global+ OS+ Device  
  403. #### Load disco module arp-table ####
  404. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress[0m]
  405. ipNetToPhysicalPhysAddress = No Such Object available on this agent at this OID
  406.  
  407. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress[0m]
  408. ipNetToMediaPhysAddress[2][*] = 4c:5e:c:c4:8f:50
  409. ipNetToMediaPhysAddress[2][*] = 34:e6:d7:fc:21:eb
  410. ipNetToMediaPhysAddress[2][*] = 0:50:56:a5:3a:cf
  411. ipNetToMediaPhysAddress[2][*] = 0:50:56:a5:1b:60
  412.  
  413. SQL[[1;33mSELECT * from `ipv4_mac` WHERE `device_id`=? AND `context_name`=? [0;33m[11,""][0m 1.05ms]
  414. SQL[[1;33mSELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [0;33m[11,2][0m 0.98ms]
  415. NC-8100w:
  416. 4c:5e:c:c4:8f:50 => 192.168.88.1
  417. 34:e6:d7:fc:21:eb => 192.168.88.42
  418. 0:50:56:a5:3a:cf => 192.168.88.180
  419. 0:50:56:a5:1b:60 => 192.168.88.187
  420.  
  421. SQL[[1;33minsert into `ipv4_mac` (`context_name`, `device_id`, `ipv4_address`, `mac_address`, `port_id`) values (?, ?, ?, ?, ?) [0;33m["",11,"192.168.88.42","34e6d7fc21eb",372][0m 2.12ms]
  422. SQL[[1;33mDELETE FROM `ipv4_mac` WHERE `port_id` = ? AND `mac_address`=? AND `ipv4_address`=? AND `context_name`=? [0;33m[372,"f018982c8b5c","192.168.88.67",""][0m 1.65ms]
  423. SQL[[1;33mDELETE FROM `ipv4_mac` WHERE `port_id` = ? AND `mac_address`=? AND `ipv4_address`=? AND `context_name`=? [0;33m[372,"54bf64f65cd4","192.168.88.139",""][0m 1.81ms]
  424. 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 0.77ms]
  425.  
  426.  
  427. >> Runtime for discovery module 'arp-table': 0.0450 seconds with 15752 bytes
  428. >> SNMP: [0/0.00s] MySQL: [6/0.01s] RRD: [0/0.00s]
  429. #### Unload disco module arp-table ####
  430.  
  431. Modules status: Global- OS- Device  Module [ discovery-arp ] disabled on os.
  432.  
  433. Modules status: Global- OS- Device  Module [ junose-atm-vp ] disabled on os.
  434.  
  435. Modules status: Global+ OS+ Device  
  436. #### Load disco module bgp-peers ####
  437. SNMP[[0;36m/usr/bin/snmpgetnext -v2c -c COMMUNITY -Oqvn -m BGP4-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 bgpLocalAs[0m]
  438. 1:14:33:05.05
  439.  
  440. No BGP on hostPeers :
  441. SQL[[1;33mDELETE FROM `bgpPeers` WHERE device_id=? AND context_name=? [0;33m[11,""][0m 0.65ms]
  442. SQL[[1;33mDELETE FROM `bgpPeers_cbgp` WHERE device_id=? AND context_name=? [0;33m[11,""][0m 0.43ms]
  443.  
  444. SQL[[1;33mSELECT DISTINCT context_name FROM bgpPeers WHERE device_id=? [0;33m[11][0m 0.49ms]
  445.  
  446. >> Runtime for discovery module 'bgp-peers': 0.0160 seconds with 5624 bytes
  447. >> SNMP: [1/0.01s] MySQL: [2/0.00s] RRD: [0/0.00s]
  448. #### Unload disco module bgp-peers ####
  449.  
  450. Modules status: Global+ OS+ Device  
  451. #### Load disco module vlans ####
  452. SQL[[1;33mSELECT * FROM `vlans` WHERE `device_id` = ? [0;33m[11][0m 0.36ms]
  453. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  454. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  455.  
  456. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IEEE8021-Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qVlanVersionNumber.0[0m]
  457. No Such Object available on this agent at this OID
  458.  
  459.  
  460.  
  461. >> Runtime for discovery module 'vlans': 0.0530 seconds with 9304 bytes
  462. >> SNMP: [2/0.05s] MySQL: [1/0.00s] RRD: [0/0.00s]
  463. #### Unload disco module vlans ####
  464.  
  465. Modules status: Global- OS- Device  Module [ vmware-vminfo ] disabled on os.
  466.  
  467. Modules status: Global- OS- Device  Module [ libvirt-vminfo ] disabled on os.
  468.  
  469. Modules status: Global- OS+ Device  
  470. #### Load disco module toner ####
  471. Toner: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m Printer-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 prtMarkerSuppliesLevel[0m]
  472. prtMarkerSuppliesLevel.1.1 = -3
  473. prtMarkerSuppliesLevel.1.2 = -3
  474. prtMarkerSuppliesLevel.1.3 = -3
  475. prtMarkerSuppliesLevel.1.4 = -3
  476. prtMarkerSuppliesLevel.1.5 = -3
  477. prtMarkerSuppliesLevel.1.6 = 23676
  478. prtMarkerSuppliesLevel.1.7 = 0
  479. prtMarkerSuppliesLevel.1.8 = 0
  480. prtMarkerSuppliesLevel.1.9 = 0
  481. prtMarkerSuppliesLevel.1.10 = 0
  482.  
  483. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m Printer-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 prtMarkerSuppliesMaxCapacity[0m]
  484. prtMarkerSuppliesMaxCapacity.1.1 = -2
  485. prtMarkerSuppliesMaxCapacity.1.2 = -2
  486. prtMarkerSuppliesMaxCapacity.1.3 = -2
  487. prtMarkerSuppliesMaxCapacity.1.4 = -2
  488. prtMarkerSuppliesMaxCapacity.1.5 = -2
  489. prtMarkerSuppliesMaxCapacity.1.6 = 50000
  490. prtMarkerSuppliesMaxCapacity.1.7 = 15000
  491. prtMarkerSuppliesMaxCapacity.1.8 = 15000
  492. prtMarkerSuppliesMaxCapacity.1.9 = 15000
  493. prtMarkerSuppliesMaxCapacity.1.10 = 15000
  494.  
  495. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsa -m Printer-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 prtMarkerSuppliesDescription[0m]
  496. prtMarkerSuppliesDescription.1.1 = "Black Toner Cartridge"
  497. prtMarkerSuppliesDescription.1.2 = "Cyan Toner Cartridge"
  498. prtMarkerSuppliesDescription.1.3 = "Magenta Toner Cartridge"
  499. prtMarkerSuppliesDescription.1.4 = "Yellow Toner Cartridge"
  500. prtMarkerSuppliesDescription.1.5 = "Waste Toner Box"
  501. prtMarkerSuppliesDescription.1.6 = "Belt Unit"
  502. prtMarkerSuppliesDescription.1.7 = "Black Drum Unit"
  503. prtMarkerSuppliesDescription.1.8 = "Cyan Drum Unit"
  504. prtMarkerSuppliesDescription.1.9 = "Magenta Drum Unit"
  505. prtMarkerSuppliesDescription.1.10 = "Yellow Drum Unit"
  506.  
  507. Discover Toner: .1.3.6.1.2.1.43.11.1.1.9.1.1, 1, jetdirect, Black Toner Cartridge, .1.3.6.1.2.1.43.11.1.1.8.1.1, 100, 50
  508. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","1",".1.3.6.1.2.1.43.11.1.1.9.1.1"][0m 0.7ms]
  509. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","1"][0m 0.4ms]
  510. .Discover Toner: .1.3.6.1.2.1.43.11.1.1.9.1.2, 2, jetdirect, Cyan Toner Cartridge, .1.3.6.1.2.1.43.11.1.1.8.1.2, 100, 50
  511. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","2",".1.3.6.1.2.1.43.11.1.1.9.1.2"][0m 0.35ms]
  512. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","2"][0m 0.38ms]
  513. .Discover Toner: .1.3.6.1.2.1.43.11.1.1.9.1.3, 3, jetdirect, Magenta Toner Cartridge, .1.3.6.1.2.1.43.11.1.1.8.1.3, 100, 50
  514. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","3",".1.3.6.1.2.1.43.11.1.1.9.1.3"][0m 0.35ms]
  515. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","3"][0m 0.36ms]
  516. .Discover Toner: .1.3.6.1.2.1.43.11.1.1.9.1.4, 4, jetdirect, Yellow Toner Cartridge, .1.3.6.1.2.1.43.11.1.1.8.1.4, 100, 50
  517. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","4",".1.3.6.1.2.1.43.11.1.1.9.1.4"][0m 0.36ms]
  518. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","4"][0m 0.36ms]
  519. .Discover Toner: .1.3.6.1.2.1.43.11.1.1.9.1.5, 5, jetdirect, Waste Toner Box, .1.3.6.1.2.1.43.11.1.1.8.1.5, 100, 50
  520. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","5",".1.3.6.1.2.1.43.11.1.1.9.1.5"][0m 0.36ms]
  521. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","5"][0m 0.36ms]
  522. .Discover Toner: .1.3.6.1.2.1.43.11.1.1.9.1.6, 6, jetdirect, Belt Unit, .1.3.6.1.2.1.43.11.1.1.8.1.6, 50000, 47
  523. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","6",".1.3.6.1.2.1.43.11.1.1.9.1.6"][0m 0.46ms]
  524. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","6"][0m 0.39ms]
  525. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.7[0m]
  526. No Such Object available on this agent at this OID
  527.  
  528. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.7[0m]
  529. No Such Object available on this agent at this OID
  530.  
  531. Discover Toner: .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.7, 7, jetdirect, Black Drum Unit, .1.3.6.1.2.1.43.11.1.1.8.1.7, 15000, 100
  532. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","7",".1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.7"][0m 0.68ms]
  533. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","7"][0m 0.37ms]
  534. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.8[0m]
  535. No Such Object available on this agent at this OID
  536.  
  537. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.8[0m]
  538. No Such Object available on this agent at this OID
  539.  
  540. Discover Toner: .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.8, 8, jetdirect, Cyan Drum Unit, .1.3.6.1.2.1.43.11.1.1.8.1.8, 15000, 100
  541. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","8",".1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.8"][0m 0.64ms]
  542. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","8"][0m 0.37ms]
  543. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.9[0m]
  544. No Such Object available on this agent at this OID
  545.  
  546. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.9[0m]
  547. No Such Object available on this agent at this OID
  548.  
  549. Discover Toner: .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.9, 9, jetdirect, Magenta Drum Unit, .1.3.6.1.2.1.43.11.1.1.8.1.9, 15000, 100
  550. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","9",".1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.9"][0m 1.1ms]
  551. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","9"][0m 0.7ms]
  552. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.10[0m]
  553. No Such Object available on this agent at this OID
  554.  
  555. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.10[0m]
  556. No Such Object available on this agent at this OID
  557.  
  558. Discover Toner: .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.10, 10, jetdirect, Yellow Drum Unit, .1.3.6.1.2.1.43.11.1.1.8.1.10, 15000, 100
  559. SQL[[1;33mSELECT COUNT(toner_id) FROM `toner` WHERE device_id = ? AND toner_type = ? AND `toner_index` = ? AND `toner_oid` =? [0;33m[11,"jetdirect","10",".1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.10"][0m 0.66ms]
  560. SQL[[1;33mSELECT * FROM `toner` WHERE `device_id` = ? AND `toner_type` = ? AND `toner_index` =? [0;33m[11,"jetdirect","10"][0m 0.39ms]
  561. .
  562.  Checking valid toner ...
  563. Array
  564. (
  565.     [jetdirect] => Array
  566.         (
  567.             [.1.3.6.1.2.1.43.11.1.1.9.1.1] => 1
  568.             [.1.3.6.1.2.1.43.11.1.1.9.1.2] => 1
  569.             [.1.3.6.1.2.1.43.11.1.1.9.1.3] => 1
  570.             [.1.3.6.1.2.1.43.11.1.1.9.1.4] => 1
  571.             [.1.3.6.1.2.1.43.11.1.1.9.1.5] => 1
  572.             [.1.3.6.1.2.1.43.11.1.1.9.1.6] => 1
  573.             [.1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.7] => 1
  574.             [.1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.8] => 1
  575.             [.1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.9] => 1
  576.             [.1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.10] => 1
  577.         )
  578.  
  579. )
  580. SQL[[1;33mSELECT * FROM toner WHERE device_id = '11' [0;33m[][0m 0.35ms]
  581. Array
  582. (
  583.     [0] => Array
  584.         (
  585.             [toner_id] => 26
  586.             [device_id] => 11
  587.             [toner_index] => 1
  588.             [toner_type] => jetdirect
  589.             [toner_oid] => .1.3.6.1.2.1.43.11.1.1.9.1.1
  590.             [toner_descr] => Black Toner Cartridge
  591.             [toner_capacity] => 100
  592.             [toner_current] => 50
  593.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.1
  594.         )
  595.  
  596.     [1] => Array
  597.         (
  598.             [toner_id] => 27
  599.             [device_id] => 11
  600.             [toner_index] => 2
  601.             [toner_type] => jetdirect
  602.             [toner_oid] => .1.3.6.1.2.1.43.11.1.1.9.1.2
  603.             [toner_descr] => Cyan Toner Cartridge
  604.             [toner_capacity] => 100
  605.             [toner_current] => 50
  606.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.2
  607.         )
  608.  
  609.     [2] => Array
  610.         (
  611.             [toner_id] => 28
  612.             [device_id] => 11
  613.             [toner_index] => 3
  614.             [toner_type] => jetdirect
  615.             [toner_oid] => .1.3.6.1.2.1.43.11.1.1.9.1.3
  616.             [toner_descr] => Magenta Toner Cartridge
  617.             [toner_capacity] => 100
  618.             [toner_current] => 50
  619.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.3
  620.         )
  621.  
  622.     [3] => Array
  623.         (
  624.             [toner_id] => 29
  625.             [device_id] => 11
  626.             [toner_index] => 4
  627.             [toner_type] => jetdirect
  628.             [toner_oid] => .1.3.6.1.2.1.43.11.1.1.9.1.4
  629.             [toner_descr] => Yellow Toner Cartridge
  630.             [toner_capacity] => 100
  631.             [toner_current] => 50
  632.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.4
  633.         )
  634.  
  635.     [4] => Array
  636.         (
  637.             [toner_id] => 30
  638.             [device_id] => 11
  639.             [toner_index] => 5
  640.             [toner_type] => jetdirect
  641.             [toner_oid] => .1.3.6.1.2.1.43.11.1.1.9.1.5
  642.             [toner_descr] => Waste Toner Box
  643.             [toner_capacity] => 100
  644.             [toner_current] => 50
  645.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.5
  646.         )
  647.  
  648.     [5] => Array
  649.         (
  650.             [toner_id] => 31
  651.             [device_id] => 11
  652.             [toner_index] => 6
  653.             [toner_type] => jetdirect
  654.             [toner_oid] => .1.3.6.1.2.1.43.11.1.1.9.1.6
  655.             [toner_descr] => Belt Unit
  656.             [toner_capacity] => 50000
  657.             [toner_current] => 47
  658.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.6
  659.         )
  660.  
  661.     [6] => Array
  662.         (
  663.             [toner_id] => 32
  664.             [device_id] => 11
  665.             [toner_index] => 7
  666.             [toner_type] => jetdirect
  667.             [toner_oid] => .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.7
  668.             [toner_descr] => Black Drum Unit
  669.             [toner_capacity] => 15000
  670.             [toner_current] => 100
  671.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.7
  672.         )
  673.  
  674.     [7] => Array
  675.         (
  676.             [toner_id] => 33
  677.             [device_id] => 11
  678.             [toner_index] => 8
  679.             [toner_type] => jetdirect
  680.             [toner_oid] => .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.8
  681.             [toner_descr] => Cyan Drum Unit
  682.             [toner_capacity] => 15000
  683.             [toner_current] => 100
  684.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.8
  685.         )
  686.  
  687.     [8] => Array
  688.         (
  689.             [toner_id] => 34
  690.             [device_id] => 11
  691.             [toner_index] => 9
  692.             [toner_type] => jetdirect
  693.             [toner_oid] => .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.9
  694.             [toner_descr] => Magenta Drum Unit
  695.             [toner_capacity] => 15000
  696.             [toner_current] => 100
  697.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.9
  698.         )
  699.  
  700.     [9] => Array
  701.         (
  702.             [toner_id] => 35
  703.             [device_id] => 11
  704.             [toner_index] => 10
  705.             [toner_type] => jetdirect
  706.             [toner_oid] => .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.10
  707.             [toner_descr] => Yellow Drum Unit
  708.             [toner_capacity] => 15000
  709.             [toner_current] => 100
  710.             [toner_capacity_oid] => .1.3.6.1.2.1.43.11.1.1.8.1.10
  711.         )
  712.  
  713. )
  714.  
  715.  
  716. >> Runtime for discovery module 'toner': 0.3400 seconds with 20952 bytes
  717. >> SNMP: [11/0.33s] MySQL: [11/0.01s] RRD: [0/0.00s]
  718. #### Unload disco module toner ####
  719.  
  720. Modules status: Global+ OS+ Device  
  721. #### Load disco module ucd-diskio ####
  722. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry[0m]
  723. diskIOEntry = No Such Object available on this agent at this OID
  724.  
  725. Array
  726. (
  727. )
  728. SQL[[1;33mSELECT * FROM `ucd_diskio` where `device_id`  = '11' [0;33m[][0m 0.85ms]
  729.  
  730.  
  731. >> Runtime for discovery module 'ucd-diskio': 0.0160 seconds with 3160 bytes
  732. >> SNMP: [1/0.02s] MySQL: [1/0.00s] RRD: [0/0.00s]
  733. #### Unload disco module ucd-diskio ####
  734.  
  735. Modules status: Global- OS- Device  Module [ applications ] disabled on os.
  736.  
  737. Modules status: Global+ OS+ Device  
  738. #### Load disco module services ####
  739.  
  740. >> Runtime for discovery module 'services': 0.0000 seconds with 296 bytes
  741. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  742. #### Unload disco module services ####
  743.  
  744. Modules status: Global+ OS+ Device  
  745. #### Load disco module stp ####
  746. SQL[[1;33mSELECT * FROM `stp` WHERE `device_id` = ? [0;33m[11][0m 0.75ms]
  747. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0[0m]
  748. No Such Object available on this agent at this OID
  749.  
  750.  
  751.  
  752. >> Runtime for discovery module 'stp': 0.0190 seconds with 5792 bytes
  753. >> SNMP: [1/0.02s] MySQL: [1/0.00s] RRD: [0/0.00s]
  754. #### Unload disco module stp ####
  755.  
  756. Modules status: Global+ OS+ Device  
  757. #### Load disco module ntp ####
  758.  
  759. >> Runtime for discovery module 'ntp': 0.0000 seconds with 232 bytes
  760. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  761. #### Unload disco module ntp ####
  762.  
  763. Modules status: Global- OS- Device  Module [ loadbalancers ] disabled on os.
  764.  
  765. Modules status: Global- OS- Device  Module [ mef ] disabled on os.
  766.  
  767. Modules status: Global+ OS+ Device  
  768. #### Load disco module wireless ####
  769. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"ap-count"][0m 0.91ms]
  770. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"clients"][0m 0.78ms]
  771. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"quality"][0m 0.58ms]
  772. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"capacity"][0m 0.63ms]
  773. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"utilization"][0m 0.6ms]
  774. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"rate"][0m 0.78ms]
  775. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"ccq"][0m 0.61ms]
  776. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"snr"][0m 0.77ms]
  777. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"ssr"][0m 0.61ms]
  778. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"mse"][0m 0.78ms]
  779. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"rssi"][0m 0.61ms]
  780. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"power"][0m 0.76ms]
  781. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"noise-floor"][0m 0.71ms]
  782. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"errors"][0m 0.38ms]
  783. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"error-ratio"][0m 0.39ms]
  784. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"error-rate"][0m 0.38ms]
  785. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"frequency"][0m 0.39ms]
  786. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [0;33m[11,"distance"][0m 0.38ms]
  787.  
  788. >> Runtime for discovery module 'wireless': 0.0170 seconds with 123048 bytes
  789. >> SNMP: [0/0.00s] MySQL: [18/0.01s] RRD: [0/0.00s]
  790. #### Unload disco module wireless ####
  791.  
  792. Modules status: Global+ OS+ Device  
  793. #### Load disco module fdb-table ####
  794. SQL[[1;33mSELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = ? [0;33m[11][0m 0.29ms]
  795. SQL[[1;33mSELECT * FROM `ports_fdb` WHERE `device_id` = ? [0;33m[11][0m 0.28ms]
  796. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qTpFdbPort[0m]
  797. dot1qTpFdbPort = No Such Object available on this agent at this OID
  798.  
  799. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dTpFdbPort[0m]
  800. dot1dTpFdbPort = No Such Object available on this agent at this OID
  801.  
  802.  
  803.  
  804. >> Runtime for discovery module 'fdb-table': 0.0420 seconds with 2824 bytes
  805. >> SNMP: [0/0.00s] MySQL: [2/0.00s] RRD: [0/0.00s]
  806. #### Unload disco module fdb-table ####
  807.  
  808. SQL[[1;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [0;33m[11,"poll_mib"][0m 0.62ms]
  809. SQL[[1;33mUPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [0;33m[2.2280000000000002,11][0m 1.57ms]
  810. Discovered in 2.228 seconds
  811.  
  812. SQL[[1;33mINSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) [0;33m{"type":"discover","doing":"192.168.88.100","start":1542808907.3211629,"duration":"2.458","devices":1,"poller":"librenms.embrapii.org.br"}[0m 1.22ms]
  813. ./discovery.php 192.168.88.100 2018-11-21 12:01:49 - 1 devices discovered in 2.458 secs
  814. SNMP [40/0.94s]: Get[16/0.46s] Getnext[1/0.01s] Walk[23/0.47s]
  815. MySQL [98/0.09s]: Cell[19/0.01s] Row[-3/-0.00s] Rows[65/0.05s] Column[2/0.00s] Update[5/0.02s] Insert[3/0.01s] Delete[7/0.01s]
  816. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  817.