From Kakious, 3 Years ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 2.32ms]
  3.  
  4. SQL[select count(*) as aggregate from `migrations` limit 1 [] 1.11ms]
  5.  
  6. SQL[SELECT version() [] 0.79ms]
  7.  
  8. ===================================
  9. Version info:
  10. Commit SHA:
  11. Commit Date:
  12. DB Schema: 2020_03_24_0844_add_primary_key_to_device_graphs (160)
  13. PHP: 7.3.14
  14. MySQL: 10.2.30-MariaDB-1:10.2.30+maria~bionic
  15. RRDTool: 1.7.2
  16. SNMP: NET-SNMP 5.8
  17. ==================================DEBUG!
  18. Updating os_def.cache...
  19. Done
  20. Override discovery modules: discovery-protocols
  21. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `device_id` = '185' ORDER BY device_id DESC [] 2.23ms]
  22.  
  23. SQL[select distinct `os` from `devices` [] 1.72ms]
  24.  
  25. SQL[select * from `devices` where `device_id` = ? limit 1 [185] 2.29ms]
  26.  
  27. SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [185] 2.16ms]
  28.  
  29. 172.16.11.1 185 ios SQL[select `hostname`, `overwrite_ip` from `devices` where `hostname` = ? limit 1 ["172.16.11.1"] 3.04ms]
  30.  
  31. [FPING] '/usr/sbin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '172.16.11.1'
  32. array (
  33.   'xmt' => 3,
  34.   'rcv' => 3,
  35.   'loss' => 0,
  36.   'min' => 1.9,
  37.   'max' => 2.01,
  38.   'avg' => 1.94,
  39.   'dup' => 0,
  40.   'exitcode' => 0,
  41. )
  42. SQL[INSERT 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) {"xmt":3,"rcv":3,"loss":0,"min":1.9,"max":2.01,"avg":1.94,"device_id":185,"debug":"[]"} 20.76ms]
  43.  
  44. SQL[UPDATE `devices` set `last_ping`=?,`last_ping_timetaken`=? WHERE device_id=? ["2020-04-20 22:58:19",1.94,185] 8.73ms]
  45.  
  46. SNMP Check response code: 0
  47. MIB: registering
  48. SNMP['/usr/bin/snmptranslate' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' '-IR' '-m' 'CISCO-AAA-SESSION-MIB' 'CISCO-AAA-SESSION-MIB::ciscoAAASessionMIB']
  49. CISCO-AAA-SESSION-MIB::ciscoAAASessionMIB
  50.  
  51. SNMP translated: CISCO-AAA-SESSION-MIB::CISCO-AAA-SESSION-MIB::ciscoAAASessionMIB -> CISCO-AAA-SESSION-MIB::ciscoAAASessionMIB
  52.      CISCO-AAA-SESSION-MIB::ciscoAAASessionMIB
  53. array (
  54.   'casnActiveTableEntries' =>
  55.   array (
  56.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.1',
  57.     'object_type' => 'casnActiveTableEntries',
  58.     'module' => 'CISCO-AAA-SESSION-MIB',
  59.     'syntax' => 'Gauge32',
  60.     'max_access' => 'read-only',
  61.     'status' => 'current',
  62.     'description' => 'Number of entries currently in casnActiveTable',
  63.     'mib' => 'ciscoAAASessionMIB',
  64.     'included_by' => 'includes/discovery/os/ios.inc.php',
  65.   ),
  66.   'casnActiveTableHighWaterMark' =>
  67.   array (
  68.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.2',
  69.     'object_type' => 'casnActiveTableHighWaterMark',
  70.     'module' => 'CISCO-AAA-SESSION-MIB',
  71.     'syntax' => 'Gauge32',
  72.     'max_access' => 'read-only',
  73.     'status' => 'current',
  74.     'description' => 'Maximum number of entries present in casnActiveTable',
  75.     'mib' => 'ciscoAAASessionMIB',
  76.     'included_by' => 'includes/discovery/os/ios.inc.php',
  77.   ),
  78.   'casnSessionId' =>
  79.   array (
  80.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.1',
  81.     'object_type' => 'casnSessionId',
  82.     'module' => 'CISCO-AAA-SESSION-MIB',
  83.     'syntax' => 'Unsigned32',
  84.     'max_access' => 'not-accessible',
  85.     'status' => 'current',
  86.     'description' => 'This is the session identification used by the',
  87.     'mib' => 'ciscoAAASessionMIB',
  88.     'included_by' => 'includes/discovery/os/ios.inc.php',
  89.   ),
  90.   'casnUserId' =>
  91.   array (
  92.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.2',
  93.     'object_type' => 'casnUserId',
  94.     'module' => 'CISCO-AAA-SESSION-MIB',
  95.     'syntax' => 'OCTET',
  96.     'max_access' => 'read-only',
  97.     'status' => 'current',
  98.     'description' => 'The User login ID or zero length string if unavailable',
  99.     'mib' => 'ciscoAAASessionMIB',
  100.     'included_by' => 'includes/discovery/os/ios.inc.php',
  101.   ),
  102.   'casnIpAddr' =>
  103.   array (
  104.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.3',
  105.     'object_type' => 'casnIpAddr',
  106.     'module' => 'CISCO-AAA-SESSION-MIB',
  107.     'syntax' => 'IpAddress',
  108.     'max_access' => 'read-only',
  109.     'status' => 'current',
  110.     'description' => 'The IP address of the session or 0.0.0.0 if not',
  111.     'mib' => 'ciscoAAASessionMIB',
  112.     'included_by' => 'includes/discovery/os/ios.inc.php',
  113.   ),
  114.   'casnIdleTime' =>
  115.   array (
  116.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.4',
  117.     'object_type' => 'casnIdleTime',
  118.     'module' => 'CISCO-AAA-SESSION-MIB',
  119.     'syntax' => 'Gauge32',
  120.     'max_access' => 'read-only',
  121.     'status' => 'current',
  122.     'description' => 'The elapsed time that this session has been idle',
  123.     'mib' => 'ciscoAAASessionMIB',
  124.     'included_by' => 'includes/discovery/os/ios.inc.php',
  125.   ),
  126.   'casnDisconnect' =>
  127.   array (
  128.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.5',
  129.     'object_type' => 'casnDisconnect',
  130.     'module' => 'CISCO-AAA-SESSION-MIB',
  131.     'syntax' => 'INTEGER',
  132.     'max_access' => 'read-write',
  133.     'status' => 'current',
  134.     'description' => 'This object is used to terminate this session',
  135.     'mib' => 'ciscoAAASessionMIB',
  136.     'included_by' => 'includes/discovery/os/ios.inc.php',
  137.   ),
  138.   'casnCallTrackerId' =>
  139.   array (
  140.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.6',
  141.     'object_type' => 'casnCallTrackerId',
  142.     'module' => 'CISCO-AAA-SESSION-MIB',
  143.     'syntax' => 'Unsigned32',
  144.     'max_access' => 'read-only',
  145.     'status' => 'current',
  146.     'description' => 'The value of this object is the entry index in the',
  147.     'mib' => 'ciscoAAASessionMIB',
  148.     'included_by' => 'includes/discovery/os/ios.inc.php',
  149.   ),
  150.   'casnNasPort' =>
  151.   array (
  152.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.7',
  153.     'object_type' => 'casnNasPort',
  154.     'module' => 'CISCO-AAA-SESSION-MIB',
  155.     'syntax' => 'OBJECT',
  156.     'max_access' => 'read-only',
  157.     'status' => 'current',
  158.     'description' => 'The value of this object identifies a particular',
  159.     'mib' => 'ciscoAAASessionMIB',
  160.     'included_by' => 'includes/discovery/os/ios.inc.php',
  161.   ),
  162.   'casnVaiIfIndex' =>
  163.   array (
  164.     'oid' => '.1.3.6.1.4.1.9.9.150.1.1.3.1.8',
  165.     'object_type' => 'casnVaiIfIndex',
  166.     'module' => 'CISCO-AAA-SESSION-MIB',
  167.     'syntax' => 'Integer32',
  168.     'max_access' => 'read-only',
  169.     'status' => 'current',
  170.     'description' => 'The ifIndex of the Virtual Access Interface (VAI)',
  171.     'mib' => 'ciscoAAASessionMIB',
  172.     'included_by' => 'includes/discovery/os/ios.inc.php',
  173.   ),
  174.   'casnTotalSessions' =>
  175.   array (
  176.     'oid' => '.1.3.6.1.4.1.9.9.150.1.2.1',
  177.     'object_type' => 'casnTotalSessions',
  178.     'module' => 'CISCO-AAA-SESSION-MIB',
  179.     'syntax' => 'Counter32',
  180.     'max_access' => 'read-only',
  181.     'status' => 'current',
  182.     'description' => 'Total number of sessions since last system',
  183.     'mib' => 'ciscoAAASessionMIB',
  184.     'included_by' => 'includes/discovery/os/ios.inc.php',
  185.   ),
  186.   'casnDisconnectedSessions' =>
  187.   array (
  188.     'oid' => '.1.3.6.1.4.1.9.9.150.1.2.2',
  189.     'object_type' => 'casnDisconnectedSessions',
  190.     'module' => 'CISCO-AAA-SESSION-MIB',
  191.     'syntax' => 'Counter32',
  192.     'max_access' => 'read-only',
  193.     'status' => 'current',
  194.     'description' => 'Total number of sessions which have been disconnected using',
  195.     'mib' => 'ciscoAAASessionMIB',
  196.     'included_by' => 'includes/discovery/os/ios.inc.php',
  197.   ),
  198. )
  199. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnActiveTableEntries",".1.3.6.1.4.1.9.9.150.1.1.1","Gauge32","Number of entries currently in casnActiveTable","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.1","Gauge32","Number of entries currently in casnActiveTable","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.94ms]
  200.  
  201. Result: 1
  202. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnActiveTableHighWaterMark",".1.3.6.1.4.1.9.9.150.1.1.2","Gauge32","Maximum number of entries present in casnActiveTable","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.2","Gauge32","Maximum number of entries present in casnActiveTable","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.87ms]
  203.  
  204. Result: 1
  205. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnSessionId",".1.3.6.1.4.1.9.9.150.1.1.3.1.1","Unsigned32","This is the session identification used by the","not-accessible","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.1","Unsigned32","This is the session identification used by the","not-accessible","current","includes\/discovery\/os\/ios.inc.php"] 2.21ms]
  206.  
  207. Result: 1
  208. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnUserId",".1.3.6.1.4.1.9.9.150.1.1.3.1.2","OCTET","The User login ID or zero length string if unavailable","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.2","OCTET","The User login ID or zero length string if unavailable","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.33ms]
  209.  
  210. Result: 1
  211. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnIpAddr",".1.3.6.1.4.1.9.9.150.1.1.3.1.3","IpAddress","The IP address of the session or 0.0.0.0 if not","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.3","IpAddress","The IP address of the session or 0.0.0.0 if not","read-only","current","includes\/discovery\/os\/ios.inc.php"] 3.14ms]
  212.  
  213. Result: 1
  214. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnIdleTime",".1.3.6.1.4.1.9.9.150.1.1.3.1.4","Gauge32","The elapsed time that this session has been idle","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.4","Gauge32","The elapsed time that this session has been idle","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.92ms]
  215.  
  216. Result: 1
  217. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnDisconnect",".1.3.6.1.4.1.9.9.150.1.1.3.1.5","INTEGER","This object is used to terminate this session","read-write","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.5","INTEGER","This object is used to terminate this session","read-write","current","includes\/discovery\/os\/ios.inc.php"] 2.58ms]
  218.  
  219. Result: 1
  220. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnCallTrackerId",".1.3.6.1.4.1.9.9.150.1.1.3.1.6","Unsigned32","The value of this object is the entry index in the","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.6","Unsigned32","The value of this object is the entry index in the","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.32ms]
  221.  
  222. Result: 1
  223. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnNasPort",".1.3.6.1.4.1.9.9.150.1.1.3.1.7","OBJECT","The value of this object identifies a particular","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.7","OBJECT","The value of this object identifies a particular","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.26ms]
  224.  
  225. Result: 1
  226. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnVaiIfIndex",".1.3.6.1.4.1.9.9.150.1.1.3.1.8","Integer32","The ifIndex of the Virtual Access Interface (VAI)","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.1.3.1.8","Integer32","The ifIndex of the Virtual Access Interface (VAI)","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.16ms]
  227.  
  228. Result: 1
  229. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnTotalSessions",".1.3.6.1.4.1.9.9.150.1.2.1","Counter32","Total number of sessions since last system","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.2.1","Counter32","Total number of sessions since last system","read-only","current","includes\/discovery\/os\/ios.inc.php"] 2.39ms]
  230.  
  231. Result: 1
  232. SQL[INSERT INTO `mibdefs` (`module`,`mib`,`object_type`,`oid`,`syntax`,`description`,`max_access`,`status`,`included_by`) VALUES (?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `oid`=?,`syntax`=?,`description`=?,`max_access`=?,`status`=?,`included_by`=? ["CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","casnDisconnectedSessions",".1.3.6.1.4.1.9.9.150.1.2.2","Counter32","Total number of sessions which have been disconnected using","read-only","current","includes\/discovery\/os\/ios.inc.php",".1.3.6.1.4.1.9.9.150.1.2.2","Counter32","Total number of sessions which have been disconnected using","read-only","current","includes\/discovery\/os\/ios.inc.php"] 3.73ms]
  233.  
  234. Result: 1
  235. SQL[INSERT INTO `device_mibs` (`device_id`,`module`,`mib`,`included_by`) VALUES (?,?,?,?) ON DUPLICATE KEY UPDATE `included_by`=? [185,"CISCO-AAA-SESSION-MIB","ciscoAAASessionMIB","includes\/discovery\/os\/ios.inc.php","includes\/discovery\/os\/ios.inc.php"] 1.99ms]
  236.  
  237. Result: 1
  238.  
  239. Attempting to initialize OS: ios
  240. OS initialized: LibreNMS\OS\Ios
  241.  
  242. Modules status: Global+
  243. OS
  244. Device
  245.  
  246. #### Load disco module core ####
  247. SNMP['/usr/bin/snmpget' '-v3' '-l' 'authNoPriv' '-n' "" '-a' 'SHA' '-A' 'PASSWORD' '-u' 'USER' '-OUQn' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'sysName.0' 'sysObjectID.0' 'sysDescr.0']
  248. .*.*.0 = DAWGNET-ITN-513-CORE.DAWGNet.net
  249. .*.*.0 = .*.*.282
  250. .*.*.0 = Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(33)SXI12, RELEASE SOFTWARE (fc2)
  251. Technical Support: http://www.cisco.com/techsupport
  252. Copyright (c) 1986-2013 by Cisco Systems, Inc.
  253. Compiled Fri 30-Aug-13 16:07 by p
  254.  
  255.  
  256. >> Runtime for discovery module 'core': 0.0570 seconds with 1072 bytes
  257. >> SNMP: [2/0.16s] MySQL: [3/0.03s] InfluxDB: [0/0.00s] RRD: [0/0.00s]
  258. #### Unload disco module core ####
  259.  
  260. Modules status: Global+
  261. OS+
  262. Device
  263.  
  264. #### Load disco module discovery-protocols ####
  265.  CISCO-CDP-MIB: communityStringIndexing
  266. SNMP['/usr/bin/snmpbulkwalk' '-v3' '-l' 'authNoPriv' '-n' "" '-a' 'SHA' '-A' 'PASSWORD' '-u' 'USER' '-OQUsetX' '-m' 'CISCO-CDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'cdpCache']
  267. cdpCacheAddressType[1][22] = 1
  268. cdpCacheAddressType[2][21] = 1
  269. cdpCacheAddressType[3][11] = 1
  270. cdpCacheAddressType[4][7] = 1
  271. cdpCacheAddressType[5][32] = 1
  272. cdpCacheAddressType[8][19] = 1
  273. cdpCacheAddressType[10][31] = 1
  274. cdpCacheAddressType[29][29] = 1
  275. cdpCacheAddressType[30][239] = 1
  276. cdpCacheAddressType[37][238] = 1
  277. cdpCacheAddressType[39][30] = 1
  278. cdpCacheAddress[1][22] = "AC 10 00 02 "
  279. cdpCacheAddress[2][21] = "AC 10 00 05 "
  280. cdpCacheAddress[3][11] = "AC 10 0B 03 "
  281. cdpCacheAddress[4][7] = "AC 10 00 08 "
  282. cdpCacheAddress[5][32] = "AC 10 0B 0A "
  283. cdpCacheAddress[8][19] = "AC 10 0B 34 "
  284. cdpCacheAddress[10][31] = "AC 10 0B 0D "
  285. cdpCacheAddress[29][29] = "AC 10 00 13 "
  286. cdpCacheAddress[30][239] = "AC 10 32 FA "
  287. cdpCacheAddress[37][238] = "AC 10 32 FA "
  288. cdpCacheAddress[39][30] = "AC 10 00 11 "
  289. cdpCacheVersion[1][22] = Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(3)S4, RELEASE SOFTWARE (fc1)
  290. Technical Support: http://www.cisco.com/techsupport
  291. Copyright (c) 1986-2014 by Cisco Systems, Inc.
  292. Compiled Fri 19-Sep-14 01:20 by mcpre
  293. cdpCacheVersion[2][21] = Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-VM), Version 12.2(33)SXI7, RELEASE SOFTWARE (fc1)
  294. Technical Support: http://www.cisco.com/techsupport
  295. Copyright (c) 1986-2011 by Cisco Systems, Inc.
  296. Compiled Mon 18-Jul-11 11:15 by prod
  297. cdpCacheVersion[3][11] = Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(55)SE4, RELEASE SOFTWARE (fc1)
  298. Technical Support: http://www.cisco.com/techsupport
  299. Copyright (c) 1986-2011 by Cisco Systems, Inc.
  300. Compiled Tue 06-Sep-11 02:09 by prod_rel_team
  301. cdpCacheVersion[4][7] = Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-VM), Version 12.2(33)SXI7, RELEASE SOFTWARE (fc1)
  302. Technical Support: http://www.cisco.com/techsupport
  303. Copyright (c) 1986-2011 by Cisco Systems, Inc.
  304. Compiled Mon 18-Jul-11 11:15 by prod
  305. Timeout: No Response from udp:172.16.11.1:161
  306. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,1] 3.43ms]
  307.  
  308. array (
  309.   'cdpCacheAddressType' => '1',
  310.   'cdpCacheAddress' => 'AC 10 00 02',
  311.   'cdpCacheVersion' => 'Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(3)S4, RELEASE SOFTWARE (fc1)Technical Support: http://www.cisco.com/techsupport
  312. Copyright (c) 1986-2014 by Cisco Systems, Inc.
  313. Compiled Fri 19-Sep-14 01:20 by mcpre',
  314. )
  315. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  2.87ms]
  316.  
  317. discovering
  318. Discovery failed: '' is not a valid ip or dns name
  319. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,2] 3.61ms]
  320.  
  321. array (
  322.   'cdpCacheAddressType' => '1',
  323.   'cdpCacheAddress' => 'AC 10 00 05',
  324.   'cdpCacheVersion' => 'Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-VM), Version 12.2(33)SXI7, RELEASE SOFTWARE (fc1)Technical Support: http://www.cisco.com/techsupport
  325. Copyright (c) 1986-2011 by Cisco Systems, Inc.
  326. Compiled Mon 18-Jul-11 11:15 by prod',
  327. )
  328. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  2.82ms]
  329.  
  330. discovering
  331. Discovery failed: '' is not a valid ip or dns name
  332. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,3] 3.21ms]
  333.  
  334. array (
  335.   'cdpCacheAddressType' => '1',
  336.   'cdpCacheAddress' => 'AC 10 0B 03',
  337.   'cdpCacheVersion' => 'Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(55)SE4, RELEASE SOFTWARE (fc1)Technical Support: http://www.cisco.com/techsupport
  338. Copyright (c) 1986-2011 by Cisco Systems, Inc.
  339. Compiled Tue 06-Sep-11 02:09 by prod_rel_team',
  340. )
  341. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  2.81ms]
  342.  
  343. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,4] 4.06ms]
  344.  
  345. array (
  346.   'cdpCacheAddressType' => '1',
  347.   'cdpCacheAddress' => 'AC 10 00 08',
  348.   'cdpCacheVersion' => 'Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-VM), Version 12.2(33)SXI7, RELEASE SOFTWARE (fc1)Technical Support: http://www.cisco.com/techsupport
  349. Copyright (c) 1986-2011 by Cisco Systems, Inc.
  350. Compiled Mon 18-Jul-11 11:15 by prod',
  351. )
  352. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  2.82ms]
  353.  
  354. discovering
  355. Discovery failed: '' is not a valid ip or dns name
  356. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,5] 3.27ms]
  357.  
  358. array (
  359.   'cdpCacheAddressType' => '1',
  360.   'cdpCacheAddress' => 'AC 10 0B 0A',
  361. )
  362. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  3.27ms]
  363.  
  364. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,8] 3.72ms]
  365.  
  366. array (
  367.   'cdpCacheAddressType' => '1',
  368.   'cdpCacheAddress' => 'AC 10 0B 34',
  369. )
  370. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  2.99ms]
  371.  
  372. discovering
  373. Discovery failed: '' is not a valid ip or dns name
  374. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,10] 4.92ms]
  375.  
  376. array (
  377.   'cdpCacheAddressType' => '1',
  378.   'cdpCacheAddress' => 'AC 10 0B 0D',
  379. )
  380. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  3.64ms]
  381.  
  382. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,29] 3.18ms]
  383.  
  384. array (
  385.   'cdpCacheAddressType' => '1',
  386.   'cdpCacheAddress' => 'AC 10 00 13',
  387. )
  388. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  3.2ms]
  389.  
  390. discovering
  391. Discovery failed: '' is not a valid ip or dns name
  392. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,30] 3.38ms]
  393.  
  394. array (
  395.   'cdpCacheAddressType' => '1',
  396.   'cdpCacheAddress' => 'AC 10 32 FA',
  397. )
  398. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  3.31ms]
  399.  
  400. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,37] 3.8ms]
  401.  
  402. array (
  403.   'cdpCacheAddressType' => '1',
  404.   'cdpCacheAddress' => 'AC 10 32 FA',
  405. )
  406. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  2.66ms]
  407.  
  408. SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [185,39] 3.64ms]
  409.  
  410. array (
  411.   'cdpCacheAddressType' => '1',
  412.   'cdpCacheAddress' => 'AC 10 00 11',
  413. )
  414. SQL[SELECT `device_id` FROM `devices` WHERE `hostname`=? OR `ip`=?  3.17ms]
  415.  
  416. discovering
  417. Discovery failed: '' is not a valid ip or dns name
  418.  
  419.  LLDP-MIB: communityStringIndexing
  420. SNMP['/usr/bin/snmpbulkwalk' '-v3' '-l' 'authNoPriv' '-n' "" '-a' 'SHA' '-A' 'PASSWORD' '-u' 'USER' '-OQUsetX' '-m' 'LLDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' 'udp:HOSTNAME:161' 'lldpRemTable']
  421. lldpRemTable = No Such Object available on this agent at this OID
  422.  
  423.  
  424.  OSPF Discovery: SQL[SELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`=? [185] 5.41ms]
  425.  
  426. iiiiiii
  427.  
  428. SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = ? [185] 7.12ms]
  429.  
  430. SQL[DELETE T FROM `links` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`local_device_id` WHERE `devices`.`device_id` IS NULL [] 6.96ms]
  431.  
  432.  0 orphaned links deleted
  433.  
  434. >> Runtime for discovery module 'discovery-protocols': 6.4090 seconds with 28800 bytes
  435. >> SNMP: [0/0.00s] MySQL: [14/0.07s] InfluxDB: [0/0.00s] RRD: [0/0.00s]
  436. #### Unload disco module discovery-protocols ####
  437.  
  438. MIB: registering
  439. SNMP['/usr/bin/snmptranslate' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/cisco' '-IR' '-m' 'all' '.1.3.6.1.4.1.9.1.282']
  440.  
  441. Unlinked OID in CISCO-DOCS-EXT-MIB: cisco ::= { enterprises 9 }
  442. Undefined identifier: enterprises near line 45 of /opt/librenms/mibs/cisco/CISCO-DOCS-EXT-MIB
  443. Unknown object identifier: .1.3.6.1.4.1.9.1.282
  444. This doesn't look like a MIB:
  445. MIB: Could not find all::.1.3.6.1.4.1.9.1.282
  446.  
  447. SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [10.439,185] 9.94ms]
  448.  
  449. Discovered in 10.439 seconds
  450.  
  451. SQL[INSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) {"type":"discover","doing":"185","start":1587412697.96524,"duration":"10.81","devices":1,"poller":"0e95fe0e3e30"} 5.5ms]
  452.  
  453. ./discovery.php 185 2020-04-20 22:58:28 - 1 devices discovered in 10.81 secs
  454. SNMP [2/0.16s]: Get[2/0.16s] Getnext[0/0.00s] Walk[0/0.00s]
  455. MySQL [19/0.12s]: Cell[12/0.04s] Row[-1/0.01s] Rows[3/0.02s] Column[0/0.00s] Update[2/0.02s] Insert[2/0.03s] Delete[1/0.01s]
  456. InfluxDB [0/0.00s]: