From oxidized, 5 Years ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. SQL[[0;33mSELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1[0m]
  3. SQL[[0;33mSELECT version()[0m]
  4. ===================================
  5. Version info:
  6. Commit SHA: cde15ce753bfe770589cb5a15fd268473430df33
  7. Commit Date: 1532901173
  8. DB Schema: 256
  9. PHP: 7.2.6
  10. MySQL: 5.5.56-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[[0;33mSELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE 'sbc-ripon.twg.pvt' ORDER BY device_id DESC[0m]
  18. SQL[[0;33mSELECT * FROM devices_attribs WHERE `device_id` = '2'[0m]
  19. sbc-ripon.twg.pvt 2 generic SQL[[0;33mINSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','37.1','40.8','38.9','2',NOW())[0m]
  20. SNMP Check response code: 0
  21. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0[0m]
  22. Sonus SBC Portfolio
  23.  
  24. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0[0m]
  25. .*.*.1.1.2
  26.  
  27. | Sonus SBC Portfolio | .1.3.6.1.4.1.177.15.1.1.2 |
  28. SNMP[[0;36m/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[0m]
  29. No Such Object available on this agent at this OID
  30.  
  31. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '2' AND `attrib_type` = 'poll_mib' [0m]
  32. Attempting to initialize OS: generic
  33. OS initialized: LibreNMS\OS\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 = SBC-Ripon.TWG.PVT
  39. .*.*.0 = .*.*.1.1.2
  40. .*.*.0 = Sonus SBC Portfolio
  41.  
  42.  
  43. >> Runtime for discovery module 'core': 0.0720 seconds with 1040 bytes
  44. >> SNMP: [5/0.46s] MySQL: [8/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. Sonus SBC Portfolio
  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. .*.*.1.1.2
  54.  
  55. | Sonus SBC Portfolio | .1.3.6.1.4.1.177.15.1.1.2 |
  56. SNMP[[0;36m/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[0m]
  57. No Such Object available on this agent at this OID
  58.  
  59. OS: Generic Device (generic)
  60.  
  61. >> Runtime for discovery module 'os': 0.3020 seconds with 1320 bytes
  62. >> SNMP: [3/0.30s] MySQL: [0/0.00s] RRD: [0/0.00s]
  63. #### Unload disco module os ####
  64.  
  65. Modules status: Global+ OS+ Device  
  66. #### Load disco module ports ####
  67. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr[0m]
  68. ifDescr.11 =
  69. ifDescr.12 =
  70. ifDescr.13 =
  71. ifDescr.15 =
  72. ifDescr.1078199296 =
  73. ifDescr.1078200320 =
  74. ifDescr.1078201344 =
  75. ifDescr.1078202368 =
  76. ifDescr.1078461440 =
  77. ifDescr.1078462464 =
  78. ifDescr.1078463488 =
  79. ifDescr.1078464512 =
  80. ifDescr.1078723584 =
  81. ifDescr.1078724608 =
  82. ifDescr.1078725632 =
  83. ifDescr.1078726656 =
  84. ifDescr.1079772160 = Ripon PRI: T1 Port
  85. ifDescr.1079773184 =
  86.  
  87. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName[0m]
  88. ifName.11 = Ethernet 1
  89. ifName.12 = Ethernet 2
  90. ifName.13 = ASM
  91. ifName.15 = Ethernet 3
  92. ifName.1078199296 = FXS-1:1
  93. ifName.1078200320 = FXS-1:2
  94. ifName.1078201344 = FXS-1:3
  95. ifName.1078202368 = FXS-1:4
  96. ifName.1078461440 = FXO-2:1
  97. ifName.1078462464 = FXO-2:2
  98. ifName.1078463488 = FXO-2:3
  99. ifName.1078464512 = FXO-2:4
  100. ifName.1078723584 = FXS-3:1
  101. ifName.1078724608 = FXS-3:2
  102. ifName.1078725632 = FXS-3:3
  103. ifName.1078726656 = FXS-3:4
  104. ifName.1079772160 = DS1-7:1
  105. ifName.1079773184 = DS1-7:2
  106.  
  107. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias[0m]
  108. ifAlias.11 =
  109. ifAlias.12 =
  110. ifAlias.13 =
  111. ifAlias.15 =
  112. ifAlias.1078199296 =
  113. ifAlias.1078200320 =
  114. ifAlias.1078201344 =
  115. ifAlias.1078202368 =
  116. ifAlias.1078461440 =
  117. ifAlias.1078462464 =
  118. ifAlias.1078463488 =
  119. ifAlias.1078464512 =
  120. ifAlias.1078723584 =
  121. ifAlias.1078724608 =
  122. ifAlias.1078725632 =
  123. ifAlias.1078726656 =
  124. ifAlias.1079772160 =
  125. ifAlias.1079773184 =
  126.  
  127. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType[0m]
  128. ifType.11 = ethernetCsmacd
  129. ifType.12 = ethernetCsmacd
  130. ifType.13 = ethernetCsmacd
  131. ifType.15 = ethernetCsmacd
  132. ifType.1078199296 = voiceFXS
  133. ifType.1078200320 = voiceFXS
  134. ifType.1078201344 = voiceFXS
  135. ifType.1078202368 = voiceFXS
  136. ifType.1078461440 = voiceFXO
  137. ifType.1078462464 = voiceFXO
  138. ifType.1078463488 = voiceFXO
  139. ifType.1078464512 = voiceFXO
  140. ifType.1078723584 = voiceFXS
  141. ifType.1078724608 = voiceFXS
  142. ifType.1078725632 = voiceFXS
  143. ifType.1078726656 = voiceFXS
  144. ifType.1079772160 = ds1
  145. ifType.1079773184 = ds1
  146.  
  147. Array
  148. (
  149.     [11] => Array
  150.         (
  151.             [ifDescr] =>
  152.             [ifName] => Ethernet 1
  153.             [ifAlias] =>
  154.             [ifType] => ethernetCsmacd
  155.         )
  156.  
  157.     [12] => Array
  158.         (
  159.             [ifDescr] =>
  160.             [ifName] => Ethernet 2
  161.             [ifAlias] =>
  162.             [ifType] => ethernetCsmacd
  163.         )
  164.  
  165.     [13] => Array
  166.         (
  167.             [ifDescr] =>
  168.             [ifName] => ASM
  169.             [ifAlias] =>
  170.             [ifType] => ethernetCsmacd
  171.         )
  172.  
  173.     [15] => Array
  174.         (
  175.             [ifDescr] =>
  176.             [ifName] => Ethernet 3
  177.             [ifAlias] =>
  178.             [ifType] => ethernetCsmacd
  179.         )
  180.  
  181.     [1078199296] => Array
  182.         (
  183.             [ifDescr] =>
  184.             [ifName] => FXS-1:1
  185.             [ifAlias] =>
  186.             [ifType] => voiceFXS
  187.         )
  188.  
  189.     [1078200320] => Array
  190.         (
  191.             [ifDescr] =>
  192.             [ifName] => FXS-1:2
  193.             [ifAlias] =>
  194.             [ifType] => voiceFXS
  195.         )
  196.  
  197.     [1078201344] => Array
  198.         (
  199.             [ifDescr] =>
  200.             [ifName] => FXS-1:3
  201.             [ifAlias] =>
  202.             [ifType] => voiceFXS
  203.         )
  204.  
  205.     [1078202368] => Array
  206.         (
  207.             [ifDescr] =>
  208.             [ifName] => FXS-1:4
  209.             [ifAlias] =>
  210.             [ifType] => voiceFXS
  211.         )
  212.  
  213.     [1078461440] => Array
  214.         (
  215.             [ifDescr] =>
  216.             [ifName] => FXO-2:1
  217.             [ifAlias] =>
  218.             [ifType] => voiceFXO
  219.         )
  220.  
  221.     [1078462464] => Array
  222.         (
  223.             [ifDescr] =>
  224.             [ifName] => FXO-2:2
  225.             [ifAlias] =>
  226.             [ifType] => voiceFXO
  227.         )
  228.  
  229.     [1078463488] => Array
  230.         (
  231.             [ifDescr] =>
  232.             [ifName] => FXO-2:3
  233.             [ifAlias] =>
  234.             [ifType] => voiceFXO
  235.         )
  236.  
  237.     [1078464512] => Array
  238.         (
  239.             [ifDescr] =>
  240.             [ifName] => FXO-2:4
  241.             [ifAlias] =>
  242.             [ifType] => voiceFXO
  243.         )
  244.  
  245.     [1078723584] => Array
  246.         (
  247.             [ifDescr] =>
  248.             [ifName] => FXS-3:1
  249.             [ifAlias] =>
  250.             [ifType] => voiceFXS
  251.         )
  252.  
  253.     [1078724608] => Array
  254.         (
  255.             [ifDescr] =>
  256.             [ifName] => FXS-3:2
  257.             [ifAlias] =>
  258.             [ifType] => voiceFXS
  259.         )
  260.  
  261.     [1078725632] => Array
  262.         (
  263.             [ifDescr] =>
  264.             [ifName] => FXS-3:3
  265.             [ifAlias] =>
  266.             [ifType] => voiceFXS
  267.         )
  268.  
  269.     [1078726656] => Array
  270.         (
  271.             [ifDescr] =>
  272.             [ifName] => FXS-3:4
  273.             [ifAlias] =>
  274.             [ifType] => voiceFXS
  275.         )
  276.  
  277.     [1079772160] => Array
  278.         (
  279.             [ifDescr] => Ripon PRI: T1 Port
  280.             [ifName] => DS1-7:1
  281.             [ifAlias] =>
  282.             [ifType] => ds1
  283.         )
  284.  
  285.     [1079773184] => Array
  286.         (
  287.             [ifDescr] =>
  288.             [ifName] => DS1-7:2
  289.             [ifAlias] =>
  290.             [ifType] => ds1
  291.         )
  292.  
  293. )
  294. SQL[[0;33mSELECT `name` FROM `port_association_mode` WHERE pom_id = '2'[0m]
  295. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '2' ORDER BY port_id[0m]
  296. XXXXXXXXXXXXXXXXignored by ifType: ds1 (matched: ds1 )
  297. XX
  298.  
  299. >> Runtime for discovery module 'ports': 1.8950 seconds with 4112 bytes
  300. >> SNMP: [4/1.89s] MySQL: [2/0.00s] RRD: [0/0.00s]
  301. #### Unload disco module ports ####
  302.  
  303. Modules status: Global+ OS+ Device  
  304. #### Load disco module ports-stack ####
  305. SQL[[0;33mSELECT * FROM `ports_stack` WHERE `device_id` = '2'[0m]
  306. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus[0m]
  307. ifStackStatus.0.11 = active
  308. ifStackStatus.0.12 = active
  309. ifStackStatus.0.13 = active
  310. ifStackStatus.0.15 = active
  311. ifStackStatus.0.1078199296 = active
  312. ifStackStatus.0.1078200320 = active
  313. ifStackStatus.0.1078201344 = active
  314. ifStackStatus.0.1078202368 = active
  315. ifStackStatus.0.1078461440 = active
  316. ifStackStatus.0.1078462464 = active
  317. ifStackStatus.0.1078463488 = active
  318. ifStackStatus.0.1078464512 = active
  319. ifStackStatus.0.1078723584 = active
  320. ifStackStatus.0.1078724608 = active
  321. ifStackStatus.0.1078725632 = active
  322. ifStackStatus.0.1078726656 = active
  323. ifStackStatus.0.1079772160 = active
  324. ifStackStatus.0.1079773184 = active
  325. ifStackStatus.11.0 = active
  326. ifStackStatus.12.0 = active
  327. ifStackStatus.13.0 = active
  328. ifStackStatus.15.0 = active
  329. ifStackStatus.1078199296.0 = active
  330. ifStackStatus.1078200320.0 = active
  331. ifStackStatus.1078201344.0 = active
  332. ifStackStatus.1078202368.0 = active
  333. ifStackStatus.1078461440.0 = active
  334. ifStackStatus.1078462464.0 = active
  335. ifStackStatus.1078463488.0 = active
  336. ifStackStatus.1078464512.0 = active
  337. ifStackStatus.1078723584.0 = active
  338. ifStackStatus.1078724608.0 = active
  339. ifStackStatus.1078725632.0 = active
  340. ifStackStatus.1078726656.0 = active
  341. ifStackStatus.1079772160.0 = active
  342. ifStackStatus.1079773184.0 = active
  343.  
  344. ....................................
  345.  
  346. >> Runtime for discovery module 'ports-stack': 0.3250 seconds with 1800 bytes
  347. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  348. #### Unload disco module ports-stack ####
  349.  
  350. Modules status: Global+ OS+ Device  
  351. #### Load disco module entity-physical ####
  352.  
  353. 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]
  354. entPhysicalEntry = No Such Object available on this agent at this OID
  355.  
  356.  
  357. SQL[[0;33mSELECT * FROM `entPhysical` WHERE `device_id` = '2'[0m]
  358.  
  359. >> Runtime for discovery module 'entity-physical': 0.1410 seconds with 16448 bytes
  360. >> SNMP: [1/0.14s] MySQL: [1/0.00s] RRD: [0/0.00s]
  361. #### Unload disco module entity-physical ####
  362.  
  363. Modules status: Global- OS- Device+
  364. #### Load disco module entity-state ####
  365. SQL[[0;33mSELECT entPhysical_id, entPhysicalIndex FROM entPhysical WHERE device_id='2'[0m]
  366.  
  367.  
  368. >> Runtime for discovery module 'entity-state': 0.0000 seconds with 2088 bytes
  369. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  370. #### Unload disco module entity-state ####
  371.  
  372. Modules status: Global+ OS+ Device  
  373. #### Load disco module processors ####
  374. No YAML Discovery data.
  375. 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]
  376. hrProcessorLoad.196608 = 5
  377.  
  378. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrDeviceDescr[0m]
  379. hrDeviceDescr.196608 =
  380. hrDeviceDescr.786432 = Guessing that there's a floating point co-processor
  381.  
  382. Discovered LibreNMS\Device\Processor Array
  383. (
  384.     [processor_id] =>
  385.     [entPhysicalIndex] => 0
  386.     [hrDeviceIndex] => 196608
  387.     [device_id] => 2
  388.     [processor_oid] => .1.3.6.1.2.1.25.3.3.1.2.196608
  389.     [processor_index] => 196608
  390.     [processor_type] => hr
  391.     [processor_usage] => 5
  392.     [processor_descr] => Processor
  393.     [processor_precision] => 1
  394.     [processor_perc_warn] => 75
  395. )
  396. SQL[[0;33mSELECT * FROM `processors` WHERE  device_id='2' AND processor_index='196608' AND processor_type='hr'[0m]
  397. .SQL[[0;33mSELECT * FROM `processors` WHERE `device_id`='2' AND `processor_id` NOT IN ('2')[0m]
  398. SQL[[0;33mDELETE T FROM `processors` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `devices`.`device_id` IS NULL[0m]
  399.  
  400.  
  401. >> Runtime for discovery module 'processors': 0.1640 seconds with 59528 bytes
  402. >> SNMP: [2/0.16s] MySQL: [3/0.00s] RRD: [0/0.00s]
  403. #### Unload disco module processors ####
  404.  
  405. Modules status: Global+ OS+ Device  
  406. #### Load disco module mempools ####
  407. SQL[[0;33mSELECT COUNT(*) FROM `mempools` WHERE `device_id` = '2' AND `mempool_type` = 'cemp'[0m]
  408. 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]
  409. hpLocalMem = No Such Object available on this agent at this OID
  410.  
  411. 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]
  412. hpGlobalMem = No Such Object available on this agent at this OID
  413.  
  414. 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]
  415. hrStorageIndex.1 = 1
  416. hrStorageIndex.3 = 3
  417. hrStorageIndex.6 = 6
  418. hrStorageIndex.7 = 7
  419. hrStorageIndex.8 = 8
  420. hrStorageIndex.10 = 10
  421. hrStorageIndex.34 = 34
  422. hrStorageIndex.36 = 36
  423. hrStorageIndex.38 = 38
  424. hrStorageIndex.39 = 39
  425. hrStorageIndex.41 = 41
  426. hrStorageIndex.42 = 42
  427. hrStorageType.1 = hrStorageRam
  428. hrStorageType.3 = hrStorageVirtualMemory
  429. hrStorageType.6 = hrStorageOther
  430. hrStorageType.7 = hrStorageOther
  431. hrStorageType.8 = hrStorageOther
  432. hrStorageType.10 = hrStorageVirtualMemory
  433. hrStorageType.34 = hrStorageFixedDisk
  434. hrStorageType.36 = hrStorageFixedDisk
  435. hrStorageType.38 = hrStorageFixedDisk
  436. hrStorageType.39 = hrStorageFixedDisk
  437. hrStorageType.41 = hrStorageNetworkDisk
  438. hrStorageType.42 = hrStorageNetworkDisk
  439. hrStorageDescr.1 = Physical memory
  440. hrStorageDescr.3 = Virtual memory
  441. hrStorageDescr.6 = Memory buffers
  442. hrStorageDescr.7 = Cached memory
  443. hrStorageDescr.8 = Shared memory
  444. hrStorageDescr.10 = Swap space
  445. hrStorageDescr.34 = /dev
  446. hrStorageDescr.36 = /tmp
  447. hrStorageDescr.38 = /etc/symphony/sw_update
  448. hrStorageDescr.39 = /log
  449. hrStorageDescr.41 = /mnt/ux_public
  450. hrStorageDescr.42 = /mnt/core/asm
  451. hrStorageAllocationUnits.1 = 1024
  452. hrStorageAllocationUnits.3 = 1024
  453. hrStorageAllocationUnits.6 = 1024
  454. hrStorageAllocationUnits.7 = 1024
  455. hrStorageAllocationUnits.8 = 1024
  456. hrStorageAllocationUnits.10 = 1024
  457. hrStorageAllocationUnits.34 = 4096
  458. hrStorageAllocationUnits.36 = 4096
  459. hrStorageAllocationUnits.38 = 4096
  460. hrStorageAllocationUnits.39 = 4096
  461. hrStorageAllocationUnits.41 = 4096
  462. hrStorageAllocationUnits.42 = 4096
  463. hrStorageSize.1 = 246632
  464. hrStorageSize.3 = 246632
  465. hrStorageSize.6 = 246632
  466. hrStorageSize.7 = 59812
  467. hrStorageSize.8 = 17496
  468. hrStorageSize.10 = 0
  469. hrStorageSize.34 = 128
  470. hrStorageSize.36 = 3072
  471. hrStorageSize.38 = 8192
  472. hrStorageSize.39 = 256
  473. hrStorageSize.41 = 28159999
  474. hrStorageSize.42 = 28159999
  475. hrStorageUsed.1 = 196268
  476. hrStorageUsed.3 = 196268
  477. hrStorageUsed.6 = 0
  478. hrStorageUsed.7 = 59812
  479. hrStorageUsed.8 = 17496
  480. hrStorageUsed.10 = 0
  481. hrStorageUsed.34 = 1
  482. hrStorageUsed.36 = 76
  483. hrStorageUsed.38 = 0
  484. hrStorageUsed.39 = 14
  485. hrStorageUsed.41 = 8088828
  486. hrStorageUsed.42 = 8088828
  487.  
  488. hrStorage : Discover Mempool: 1, hrstorage, Physical memory, 1024, ,
  489. SQL[[0;33mSELECT COUNT(mempool_id) FROM `mempools` WHERE `mempool_index` = '1' AND `device_id` = '2' AND `mempool_type` = 'hrstorage'[0m]
  490. .SQL[[0;33mUPDATE `mempools` set `mempool_descr` ='Physical memory' WHERE device_id='2' AND mempool_index='1' AND mempool_type='hrstorage'[0m]
  491. Discover Mempool: 3, hrstorage, Virtual memory, 1024, ,
  492. SQL[[0;33mSELECT COUNT(mempool_id) FROM `mempools` WHERE `mempool_index` = '3' AND `device_id` = '2' AND `mempool_type` = 'hrstorage'[0m]
  493. .SQL[[0;33mUPDATE `mempools` set `mempool_descr` ='Virtual memory' WHERE device_id='2' AND mempool_index='3' AND mempool_type='hrstorage'[0m]
  494. Discover Mempool: 10, hrstorage, Swap space, 1024, ,
  495. SQL[[0;33mSELECT COUNT(mempool_id) FROM `mempools` WHERE `mempool_index` = '10' AND `device_id` = '2' AND `mempool_type` = 'hrstorage'[0m]
  496. .SQL[[0;33mUPDATE `mempools` set `mempool_descr` ='Swap space' WHERE device_id='2' AND mempool_index='10' AND mempool_type='hrstorage'[0m]
  497. Array
  498. (
  499.     [hrstorage] => Array
  500.         (
  501.             [1] => 1
  502.             [3] => 1
  503.             [10] => 1
  504.         )
  505.  
  506. )
  507. SQL[[0;33mSELECT * FROM `mempools` WHERE `device_id`  = '2'[0m]
  508. 1 -> hrstorage
  509. 3 -> hrstorage
  510. 10 -> hrstorage
  511.  
  512.  
  513. >> Runtime for discovery module 'mempools': 0.8990 seconds with 37520 bytes
  514. >> SNMP: [3/0.89s] MySQL: [8/0.00s] RRD: [0/0.00s]
  515. #### Unload disco module mempools ####
  516.  
  517. Modules status: Global+ OS+ Device  
  518. #### Load disco module cisco-vrf-lite ####
  519. SQL[[0;33mSELECT * FROM vrf_lite_cisco WHERE device_id = '2' [0m]
  520.  
  521. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 2640 bytes
  522. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  523. #### Unload disco module cisco-vrf-lite ####
  524.  
  525. Modules status: Global- OS- Device  Module [ cisco-mac-accounting ] disabled on os.
  526.  
  527. Modules status: Global- OS- Device  Module [ cisco-pw ] disabled on os.
  528.  
  529. Modules status: Global- OS- Device  Module [ vrf ] disabled on os.
  530.  
  531. Modules status: Global- OS- Device  Module [ cisco-cef ] disabled on os.
  532.  
  533. Modules status: Global- OS- Device  Module [ cisco-sla ] disabled on os.
  534.  
  535. Modules status: Global- OS- Device  Module [ cisco-cbqos ] disabled on os.
  536.  
  537. Modules status: Global- OS- Device  Module [ cisco-otv ] disabled on os.
  538.  
  539. Modules status: Global+ OS+ Device  
  540. #### Load disco module ipv4-addresses ####
  541. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex[0m]
  542. ipAdEntIfIndex.* 29
  543. ipAdEntIfIndex.* 1
  544. ipAdEntIfIndex.* 37
  545. ipAdEntIfIndex.* 21
  546. ipAdEntIfIndex.* 30
  547.  
  548. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.10.2.30.10[0m]
  549. *
  550.  
  551. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '2' AND `ifIndex` = '29'[0m]
  552. !SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.127.0.0.1[0m]
  553. *
  554.  
  555. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '2' AND `ifIndex` = '1'[0m]
  556. !SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.169.254.10.1[0m]
  557. *
  558.  
  559. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '2' AND `ifIndex` = '37'[0m]
  560. !SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.169.254.100.100[0m]
  561. *
  562.  
  563. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '2' AND `ifIndex` = '21'[0m]
  564. !SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.192.168.129.2[0m]
  565. *
  566.  
  567. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '2' AND `ifIndex` = '30'[0m]
  568. !SQL[[0;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 = '2' OR `ports`.`device_id` IS NULL[0m]
  569.  
  570.  
  571. >> Runtime for discovery module 'ipv4-addresses': 0.4790 seconds with 33880 bytes
  572. >> SNMP: [6/0.47s] MySQL: [6/0.00s] RRD: [0/0.00s]
  573. #### Unload disco module ipv4-addresses ####
  574.  
  575. Modules status: Global+ OS+ Device- Module [ ipv6-addresses ] disabled on host.
  576.  
  577. Modules status: Global- OS- Device  Module [ route ] disabled on os.
  578.  
  579. Modules status: Global+ OS+ Device  
  580. #### Load disco module sensors ####
  581.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalDescr[0m]
  582. entPhysicalDescr = No Such Object available on this agent at this OID
  583.  
  584.  
  585. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '2' AND `attrib_type` = 'ipmi_hostname' [0m]
  586. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'ipmi'[0m]
  587. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'ipmi'[0m]
  588. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'ipmi'[0m]
  589. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'ipmi'[0m]
  590. Airflow: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='airflow' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  591.  
  592. Current: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='current' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  593.  
  594. Charge: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='charge' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  595.  
  596. Dbm: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='dbm' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  597.  
  598. Fanspeed: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  599.  
  600. Frequency: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='frequency' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  601.  
  602. Humidity: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='humidity' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  603.  
  604. Load: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='load' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  605.  
  606. Power: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  607.  
  608. Runtime: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='runtime' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  609.  
  610. Signal: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='signal' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  611.  
  612. State: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='state' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  613.  
  614. Temperature: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  615.  
  616. Voltage: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  617.  
  618. Snr: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='snr' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  619.  
  620. Pressure: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='pressure' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  621.  
  622. Cooling: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='cooling' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  623.  
  624. Delay: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='delay' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  625.  
  626. Quality_factor: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='quality_factor' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  627.  
  628. Chromatic_dispersion: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='chromatic_dispersion' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  629.  
  630. Ber: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='ber' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  631.  
  632. Eer: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='eer' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  633.  
  634. Waterflow: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='waterflow' AND S.device_id = D.device_id AND D.device_id = '2' AND S.poller_type = 'snmp'[0m]
  635.  
  636.  
  637. >> Runtime for discovery module 'sensors': 0.1400 seconds with 44952 bytes
  638. >> SNMP: [1/0.12s] MySQL: [28/0.01s] RRD: [0/0.00s]
  639. #### Unload disco module sensors ####
  640.  
  641. Modules status: Global+ OS+ Device  
  642. #### Load disco module storage ####
  643. 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]
  644. hrStorageIndex.1 = 1
  645. hrStorageIndex.3 = 3
  646. hrStorageIndex.6 = 6
  647. hrStorageIndex.7 = 7
  648. hrStorageIndex.8 = 8
  649. hrStorageIndex.10 = 10
  650. hrStorageIndex.34 = 34
  651. hrStorageIndex.36 = 36
  652. hrStorageIndex.38 = 38
  653. hrStorageIndex.39 = 39
  654. hrStorageIndex.41 = 41
  655. hrStorageIndex.42 = 42
  656. hrStorageType.1 = hrStorageRam
  657. hrStorageType.3 = hrStorageVirtualMemory
  658. hrStorageType.6 = hrStorageOther
  659. hrStorageType.7 = hrStorageOther
  660. hrStorageType.8 = hrStorageOther
  661. hrStorageType.10 = hrStorageVirtualMemory
  662. hrStorageType.34 = hrStorageFixedDisk
  663. hrStorageType.36 = hrStorageFixedDisk
  664. hrStorageType.38 = hrStorageFixedDisk
  665. hrStorageType.39 = hrStorageFixedDisk
  666. hrStorageType.41 = hrStorageNetworkDisk
  667. hrStorageType.42 = hrStorageNetworkDisk
  668. hrStorageDescr.1 = Physical memory
  669. hrStorageDescr.3 = Virtual memory
  670. hrStorageDescr.6 = Memory buffers
  671. hrStorageDescr.7 = Cached memory
  672. hrStorageDescr.8 = Shared memory
  673. hrStorageDescr.10 = Swap space
  674. hrStorageDescr.34 = /dev
  675. hrStorageDescr.36 = /tmp
  676. hrStorageDescr.38 = /etc/symphony/sw_update
  677. hrStorageDescr.39 = /log
  678. hrStorageDescr.41 = /mnt/ux_public
  679. hrStorageDescr.42 = /mnt/core/asm
  680. hrStorageAllocationUnits.1 = 1024
  681. hrStorageAllocationUnits.3 = 1024
  682. hrStorageAllocationUnits.6 = 1024
  683. hrStorageAllocationUnits.7 = 1024
  684. hrStorageAllocationUnits.8 = 1024
  685. hrStorageAllocationUnits.10 = 1024
  686. hrStorageAllocationUnits.34 = 4096
  687. hrStorageAllocationUnits.36 = 4096
  688. hrStorageAllocationUnits.38 = 4096
  689. hrStorageAllocationUnits.39 = 4096
  690. hrStorageAllocationUnits.41 = 4096
  691. hrStorageAllocationUnits.42 = 4096
  692. hrStorageSize.1 = 246632
  693. hrStorageSize.3 = 246632
  694. hrStorageSize.6 = 246632
  695. hrStorageSize.7 = 59812
  696. hrStorageSize.8 = 17496
  697. hrStorageSize.10 = 0
  698. hrStorageSize.34 = 128
  699. hrStorageSize.36 = 3072
  700. hrStorageSize.38 = 8192
  701. hrStorageSize.39 = 256
  702. hrStorageSize.41 = 28159999
  703. hrStorageSize.42 = 28159999
  704. hrStorageUsed.1 = 196268
  705. hrStorageUsed.3 = 196268
  706. hrStorageUsed.6 = 0
  707. hrStorageUsed.7 = 59812
  708. hrStorageUsed.8 = 17496
  709. hrStorageUsed.10 = 0
  710. hrStorageUsed.34 = 1
  711. hrStorageUsed.36 = 76
  712. hrStorageUsed.38 = 0
  713. hrStorageUsed.39 = 14
  714. hrStorageUsed.41 = 8088828
  715. hrStorageUsed.42 = 8088828
  716.  
  717. hrStorage : ignored /dev (matched: /dev)
  718. Discover Storage: 36, hrStorageFixedDisk, hrstorage, /tmp, 12582912, 4096, 311296
  719. SQL[[0;33mSELECT * FROM `storage` WHERE `storage_index` = '36' AND `device_id` = '2' AND `storage_mib` = 'hrstorage'[0m]
  720. SQL[[0;33mUPDATE `storage` set `storage_descr` ='/tmp',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='12582912' WHERE `device_id` = '2' AND `storage_index` = '36' AND `storage_mib` = 'hrstorage'[0m]
  721. .Discover Storage: 38, hrStorageFixedDisk, hrstorage, /etc/symphony/sw_update, 33554432, 4096, 0
  722. SQL[[0;33mSELECT * FROM `storage` WHERE `storage_index` = '38' AND `device_id` = '2' AND `storage_mib` = 'hrstorage'[0m]
  723. SQL[[0;33mUPDATE `storage` set `storage_descr` ='/etc/symphony/sw_update',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='33554432' WHERE `device_id` = '2' AND `storage_index` = '38' AND `storage_mib` = 'hrstorage'[0m]
  724. .Discover Storage: 39, hrStorageFixedDisk, hrstorage, /log, 1048576, 4096, 57344
  725. SQL[[0;33mSELECT * FROM `storage` WHERE `storage_index` = '39' AND `device_id` = '2' AND `storage_mib` = 'hrstorage'[0m]
  726. SQL[[0;33mUPDATE `storage` set `storage_descr` ='/log',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='1048576' WHERE `device_id` = '2' AND `storage_index` = '39' AND `storage_mib` = 'hrstorage'[0m]
  727. .skip(network)
  728. skip(network)
  729. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable[0m]
  730. dskTable = No Such Object available on this agent at this OID
  731.  
  732. SQL[[0;33mSELECT `storage_descr` FROM `storage` WHERE `device_id`  = '2' AND `storage_type` != 'dsk'[0m]
  733. Array
  734. (
  735.     [hrstorage] => Array
  736.         (
  737.             [36] => 1
  738.             [38] => 1
  739.             [39] => 1
  740.         )
  741.  
  742. )
  743. SQL[[0;33mSELECT * FROM `storage` WHERE `device_id`  = '2'[0m]
  744. 36 -> hrstorage
  745. 38 -> hrstorage
  746. 39 -> hrstorage
  747.  
  748.  
  749. >> Runtime for discovery module 'storage': 0.5520 seconds with 11864 bytes
  750. >> SNMP: [2/0.55s] MySQL: [8/0.00s] RRD: [0/0.00s]
  751. #### Unload disco module storage ####
  752.  
  753. Modules status: Global+ OS+ Device  
  754. #### Load disco module hr-device ####
  755. 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]
  756. hrDeviceIndex.196608 = 196608
  757. hrDeviceIndex.786432 = 786432
  758. hrDeviceType.196608 = hrDeviceProcessor
  759. hrDeviceType.786432 = hrDeviceCoprocessor
  760. hrDeviceDescr.196608 =
  761. hrDeviceDescr.786432 = Guessing that there's a floating point co-processor
  762. hrDeviceID.196608 = zeroDotZero
  763. hrDeviceID.786432 = zeroDotZero
  764.  
  765. 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]
  766. hrProcessorFrwID.196608 = zeroDotZero
  767. hrProcessorLoad.196608 = 6
  768.  
  769. Array
  770. (
  771.     [196608] => Array
  772.         (
  773.             [hrDeviceIndex] => 196608
  774.             [hrDeviceType] => hrDeviceProcessor
  775.             [hrDeviceDescr] =>
  776.             [hrDeviceID] => zeroDotZero
  777.             [hrProcessorFrwID] => zeroDotZero
  778.             [hrProcessorLoad] => 6
  779.         )
  780.  
  781.     [786432] => Array
  782.         (
  783.             [hrDeviceIndex] => 786432
  784.             [hrDeviceType] => hrDeviceCoprocessor
  785.             [hrDeviceDescr] => Guessing that there's a floating point co-processor
  786.             [hrDeviceID] => zeroDotZero
  787.         )
  788.  
  789. )
  790. SQL[[0;33mSELECT COUNT(*) FROM `hrDevice` WHERE device_id = '2' AND hrDeviceIndex = '196608'[0m]
  791. SQL[[0;33mUPDATE `hrDevice` set `hrDeviceType` ='hrDeviceProcessor',`hrDeviceDescr` ='',`hrDeviceStatus` ='',`hrDeviceErrors` ='',`hrProcessorLoad` ='6' WHERE device_id='2' AND hrDeviceIndex='196608'[0m]
  792. .SQL[[0;33mSELECT COUNT(*) FROM `hrDevice` WHERE device_id = '2' AND hrDeviceIndex = '786432'[0m]
  793. SQL[[0;33mUPDATE `hrDevice` set `hrDeviceType` ='hrDeviceCoprocessor',`hrDeviceDescr` ='Guessing that there\\\'s a floating point co-processor',`hrDeviceStatus` ='',`hrDeviceErrors` ='' WHERE device_id='2' AND hrDeviceIndex='786432'[0m]
  794. .SQL[[0;33mSELECT * FROM `hrDevice` WHERE `device_id`  = '2'[0m]
  795.  
  796.  
  797. >> Runtime for discovery module 'hr-device': 0.1690 seconds with 7000 bytes
  798. >> SNMP: [2/0.17s] MySQL: [5/0.00s] RRD: [0/0.00s]
  799. #### Unload disco module hr-device ####
  800.  
  801. Modules status: Global+ OS+ Device  
  802. #### Load disco module discovery-protocols ####
  803.  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]
  804. cdpCache = No Such Object available on this agent at this OID
  805.  
  806.  
  807.  LLDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemTable[0m]
  808. lldpRemTable = No Such Object available on this agent at this OID
  809.  
  810.  
  811.  OSPF Discovery: SQL[[0;33mSELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`='2'[0m]
  812.  
  813. SQL[[0;33mSELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '2'[0m]
  814. SQL[[0;33mDELETE T FROM `links` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`local_device_id` WHERE `devices`.`device_id` IS NULL[0m]
  815.  0 orphaned links deleted
  816.  
  817. >> Runtime for discovery module 'discovery-protocols': 1.2740 seconds with 4848 bytes
  818. >> SNMP: [0/0.00s] MySQL: [3/0.00s] RRD: [0/0.00s]
  819. #### Unload disco module discovery-protocols ####
  820.  
  821. Modules status: Global+ OS+ Device  
  822. #### Load disco module arp-table ####
  823. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress[0m]
  824. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:31
  825. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:32
  826. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:33
  827. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:34
  828. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:35
  829. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:36
  830. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:91
  831. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:92
  832. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:93
  833. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:94
  834. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:95
  835. ipNetToPhysicalPhysAddress[21][ipv4]["*"] = 0:11:22:33:44:96
  836. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:01"] = 0:11:22:33:44:31
  837. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:02"] = 0:11:22:33:44:32
  838. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:03"] = 0:11:22:33:44:33
  839. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:04"] = 0:11:22:33:44:34
  840. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:05"] = 0:11:22:33:44:35
  841. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:06"] = 0:11:22:33:44:36
  842. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:07"] = 0:11:22:33:44:91
  843. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:08"] = 0:11:22:33:44:92
  844. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:09"] = 0:11:22:33:44:93
  845. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:0a"] = 0:11:22:33:44:94
  846. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:0b"] = 0:11:22:33:44:95
  847. ipNetToPhysicalPhysAddress[21][ipv6]["fd:00:00:00:08:5b:00:00:00:00:00:00:00:00:00:0c"] = 0:11:22:33:44:96
  848. ipNetToPhysicalPhysAddress[29][ipv4]["*"] = 9c:57:ad:55:f7:65
  849. ipNetToPhysicalPhysAddress[29][ipv4]["*"] = 0:90:fb:5c:32:6a
  850.  
  851. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress[0m]
  852. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:31
  853. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:32
  854. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:33
  855. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:34
  856. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:35
  857. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:36
  858. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:91
  859. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:92
  860. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:93
  861. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:94
  862. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:95
  863. ipNetToMediaPhysAddress[21][*] = 0:11:22:33:44:96
  864. ipNetToMediaPhysAddress[29][*] = 9c:57:ad:55:f7:65
  865. ipNetToMediaPhysAddress[29][*] = 0:90:fb:5c:32:6a
  866.  
  867. SQL[[0;33mSELECT * from `ipv4_mac` WHERE `device_id`='2' AND `context_name`=''[0m]
  868. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '2' AND `ifIndex` = '21'[0m]
  869. :
  870.  
  871. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '2' AND `ifIndex` = '29'[0m]
  872. :
  873.  
  874. SQL[[0;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[0m]
  875.  
  876.  
  877. >> Runtime for discovery module 'arp-table': 0.2780 seconds with 4432 bytes
  878. >> SNMP: [0/0.00s] MySQL: [4/0.00s] RRD: [0/0.00s]
  879. #### Unload disco module arp-table ####
  880.  
  881. Modules status: Global- OS- Device+
  882. #### Load disco module discovery-arp ####
  883. SQL[[0;33m    SELECT *    FROM ipv4_mac as m, ports as i    WHERE m.port_id = i.port_id    AND i.device_id = '2'    AND i.deleted = 0    AND NOT EXISTS (        SELECT * FROM ipv4_addresses a        WHERE a.ipv4_address = m.ipv4_address    )    GROUP BY ipv4_address    ORDER BY ipv4_address    [0m]
  884.  
  885.  
  886. >> Runtime for discovery module 'discovery-arp': 0.0020 seconds with 1808 bytes
  887. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  888. #### Unload disco module discovery-arp ####
  889.  
  890. Modules status: Global- OS- Device  Module [ junose-atm-vp ] disabled on os.
  891.  
  892. Modules status: Global+ OS+ Device- Module [ bgp-peers ] disabled on host.
  893.  
  894. Modules status: Global+ OS+ Device  
  895. #### Load disco module vlans ####
  896. SQL[[0;33mSELECT * FROM `vlans` WHERE `device_id` = '2'[0m]
  897. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  898. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  899.  
  900. 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]
  901. No Such Object available on this agent at this OID
  902.  
  903.  
  904.  
  905. >> Runtime for discovery module 'vlans': 0.2340 seconds with 9128 bytes
  906. >> SNMP: [2/0.23s] MySQL: [1/0.00s] RRD: [0/0.00s]
  907. #### Unload disco module vlans ####
  908.  
  909. Modules status: Global- OS- Device  Module [ vmware-vminfo ] disabled on os.
  910.  
  911. Modules status: Global- OS- Device  Module [ libvirt-vminfo ] disabled on os.
  912.  
  913. Modules status: Global- OS- Device  Module [ toner ] disabled on os.
  914.  
  915. Modules status: Global+ OS+ Device  
  916. #### Load disco module ucd-diskio ####
  917. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry[0m]
  918. diskIOEntry = No Such Object available on this agent at this OID
  919.  
  920. Array
  921. (
  922. )
  923. SQL[[0;33mSELECT * FROM `ucd_diskio` where `device_id`  = '2'[0m]
  924.  
  925.  
  926. >> Runtime for discovery module 'ucd-diskio': 0.1240 seconds with 3080 bytes
  927. >> SNMP: [1/0.12s] MySQL: [1/0.00s] RRD: [0/0.00s]
  928. #### Unload disco module ucd-diskio ####
  929.  
  930. Modules status: Global- OS- Device+
  931. #### Load disco module applications ####
  932.  
  933. Applications: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NET-SNMP-EXTEND-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 nsExtendStatus[0m]
  934. nsExtendStatus = No Such Instance currently exists at this OID
  935.  
  936.  
  937. Available:
  938. Checking for:
  939. SQL[[0;33mSELECT `app_type`,`discovered` FROM `applications` WHERE `device_id`='2' ORDER BY `app_type`[0m]
  940. SQL[[0;33mDELETE T FROM `application_metrics` T LEFT JOIN `applications` ON `applications`.`app_id` = T.`app_id` WHERE `applications`.`app_id` IS NULL[0m]
  941.  
  942.  
  943. >> Runtime for discovery module 'applications': 0.1480 seconds with 4752 bytes
  944. >> SNMP: [1/0.15s] MySQL: [2/0.00s] RRD: [0/0.00s]
  945. #### Unload disco module applications ####
  946.  
  947. Modules status: Global+ OS+ Device  
  948. #### Load disco module services ####
  949.  
  950. >> Runtime for discovery module 'services': 0.0000 seconds with 296 bytes
  951. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  952. #### Unload disco module services ####
  953.  
  954. Modules status: Global+ OS+ Device  
  955. #### Load disco module stp ####
  956. SQL[[0;33mSELECT * FROM `stp` WHERE `device_id` = '2'[0m]
  957. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0[0m]
  958. No Such Object available on this agent at this OID
  959.  
  960.  
  961.  
  962. >> Runtime for discovery module 'stp': 0.0750 seconds with 5712 bytes
  963. >> SNMP: [1/0.07s] MySQL: [1/0.00s] RRD: [0/0.00s]
  964. #### Unload disco module stp ####
  965.  
  966. Modules status: Global+ OS+ Device  
  967. #### Load disco module ntp ####
  968.  
  969. >> Runtime for discovery module 'ntp': 0.0000 seconds with 232 bytes
  970. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  971. #### Unload disco module ntp ####
  972.  
  973. Modules status: Global- OS- Device  Module [ loadbalancers ] disabled on os.
  974.  
  975. Modules status: Global- OS- Device  Module [ mef ] disabled on os.
  976.  
  977. Modules status: Global+ OS+ Device  
  978. #### Load disco module wireless ####
  979. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='ap-count'[0m]
  980. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='clients'[0m]
  981. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='quality'[0m]
  982. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='capacity'[0m]
  983. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='utilization'[0m]
  984. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='rate'[0m]
  985. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='ccq'[0m]
  986. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='snr'[0m]
  987. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='ssr'[0m]
  988. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='mse'[0m]
  989. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='rssi'[0m]
  990. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='power'[0m]
  991. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='noise-floor'[0m]
  992. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='errors'[0m]
  993. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='error-ratio'[0m]
  994. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='error-rate'[0m]
  995. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='frequency'[0m]
  996. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='2' AND `sensor_class`='distance'[0m]
  997.  
  998. >> Runtime for discovery module 'wireless': 0.0100 seconds with 418040 bytes
  999. >> SNMP: [0/0.00s] MySQL: [18/0.01s] RRD: [0/0.00s]
  1000. #### Unload disco module wireless ####
  1001.  
  1002. Modules status: Global+ OS+ Device  
  1003. #### Load disco module fdb-table ####
  1004. SQL[[0;33mSELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = '2'[0m]
  1005. SQL[[0;33mSELECT * FROM `ports_fdb` WHERE `device_id` = '2'[0m]
  1006. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qTpFdbPort[0m]
  1007. dot1qTpFdbPort = No Such Object available on this agent at this OID
  1008.  
  1009. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dTpFdbPort[0m]
  1010. dot1dTpFdbPort = No Such Object available on this agent at this OID
  1011.  
  1012.  
  1013.  
  1014. >> Runtime for discovery module 'fdb-table': 0.2800 seconds with 2216 bytes
  1015. >> SNMP: [0/0.00s] MySQL: [2/0.00s] RRD: [0/0.00s]
  1016. #### Unload disco module fdb-table ####
  1017.  
  1018. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '2' AND `attrib_type` = 'poll_mib' [0m]
  1019. SQL[[0;33mUPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='9.028' WHERE `device_id` = '2'[0m]
  1020. Discovered in 9.028 seconds
  1021.  
  1022. SQL[[0;33mINSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','sbc-ripon.twg.pvt','1532984496.577','9.349','1','librenms')[0m]
  1023. ./discovery.php sbc-ripon.twg.pvt 2018-07-30 14:01:45 - 1 devices discovered in 9.349 secs
  1024. SNMP [34/5.73s]: Get[15/1.33s] Getnext[0/0.00s] Walk[19/4.41s]
  1025. MySQL [108/0.05s]: Cell[14/0.01s] Row[10/0.01s] Rows[68/0.03s] Column[1/0.00s] Update[9/0.00s] Insert[2/0.00s] Delete[4/0.00s]
  1026. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  1027.  
  1028. Warning: fopen(/opt/librenms/logs/librenms.log): failed to open stream: Permission denied in /opt/librenms/includes/functions.php on line 214
  1029.  
  1030. Warning: fputs() expects parameter 1 to be resource, boolean given in /opt/librenms/includes/functions.php on line 215
  1031.  
  1032. Warning: fclose() expects parameter 1 to be resource, boolean given in /opt/librenms/includes/functions.php on line 216
  1033.