Advertisement
Guest User

Untitled

a guest
Feb 5th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. ./discovery.php -d -m ports -h 192.168.5.251
  2. LibreNMS Discovery
  3. ===================================
  4. Version info:
  5. Commit SHA: d9e366398ebd0ccf68fab3a3ecc1d06d4b2b7316
  6. Commit Date: 1517819196
  7. DB Schema: 234
  8. PHP: 7.0.22-0ubuntu0.16.04.1
  9. MySQL: 10.0.33-MariaDB-0ubuntu0.16.04.1
  10. RRDTool: 1.5.5
  11. SNMP: NET-SNMP 5.7.3
  12. ==================================DEBUG!
  13. Updating os_def.cache... Done
  14. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE '192.168.5.251' ORDER BY device_id DESC]
  15. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '24']
  16. 192.168.5.251 24 linux SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','0.33','313','104','24',NOW())]
  17. SNMP Check response code: 0
  18. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '24' AND `attrib_type` = 'poll_mib' ]
  19.  
  20. Modules status: Global+ OS Device
  21. #### Load disco module core ####
  22. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQn -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 sysName.0 sysObjectID.0 sysDescr.0]
  23. .*.*.0 = ubuntu-download
  24. .*.*.0 = .*.4.1.8*
  25. .*.*.0 = Linux ubuntu-download 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64
  26.  
  27.  
  28. >> Runtime for discovery module 'core': 0.0040 seconds with 1120 bytes
  29. >> SNMP: [2/0.01s] MySQL: [8/0.97s] RRD: [0/0.00s]
  30. #### Unload disco module core ####
  31.  
  32. Modules status: Global+ OS+ Device
  33. #### Load disco module ports ####
  34. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ifDescr]
  35. ifDescr.1 = lo
  36. ifDescr.2 = VMware VMXNET3 Ethernet Controller
  37. ifDescr.30 = tun0
  38.  
  39. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ifName]
  40. ifName.1 = lo
  41. ifName.2 = ens160
  42. ifName.30 = tun0
  43.  
  44. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ifAlias]
  45. ifAlias.1 =
  46. ifAlias.2 =
  47. ifAlias.30 =
  48.  
  49. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ifType]
  50. ifType.1 = softwareLoopback
  51. ifType.2 = ethernetCsmacd
  52. ifType.30 = other
  53.  
  54. Array
  55. (
  56. [1] => Array
  57. (
  58. [ifDescr] => lo
  59. [ifName] => lo
  60. [ifAlias] =>
  61. [ifType] => softwareLoopback
  62. )
  63.  
  64. [2] => Array
  65. (
  66. [ifDescr] => VMware VMXNET3 Ethernet Controller
  67. [ifName] => ens160
  68. [ifAlias] =>
  69. [ifType] => ethernetCsmacd
  70. )
  71.  
  72. [30] => Array
  73. (
  74. [ifDescr] => tun0
  75. [ifName] => tun0
  76. [ifAlias] =>
  77. [ifType] => other
  78. )
  79.  
  80. )
  81. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  82. SQL[SELECT * FROM `ports` WHERE `device_id` = '24' ORDER BY port_id]
  83. ...
  84.  
  85. >> Runtime for discovery module 'ports': 0.0220 seconds with 4360 bytes
  86. >> SNMP: [4/0.02s] MySQL: [2/0.00s] RRD: [0/0.00s]
  87. #### Unload disco module ports ####
  88.  
  89. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '24' AND `attrib_type` = 'poll_mib' ]
  90. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='2.005' WHERE `device_id` = '24']
  91. Discovered in 2.005 seconds
  92.  
  93. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','192.168.5.251','1517857261.5148','2.193','1','ubuntu-monitor-254')]
  94. ./discovery.php 192.168.5.251 2018-02-05 09:01:03 - 1 devices discovered in 2.193 secs
  95. SNMP [6/0.03s]: Get[2/0.01s] Getnext[0/0.00s] Walk[4/0.02s]
  96. MySQL [13/0.98s]: Cell[3/0.00s] Row[2/0.00s] Rows[5/0.00s] Column[0/0.00s] Update[1/0.00s] Insert[2/0.97s] Delete[0/0.00s]
  97. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  98. root@ubuntu-monitor-254:/opt/librenms#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement