Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./discovery.php -d -m ports -h 192.168.5.251
- LibreNMS Discovery
- ===================================
- Version info:
- Commit SHA: d9e366398ebd0ccf68fab3a3ecc1d06d4b2b7316
- Commit Date: 1517819196
- DB Schema: 234
- PHP: 7.0.22-0ubuntu0.16.04.1
- MySQL: 10.0.33-MariaDB-0ubuntu0.16.04.1
- RRDTool: 1.5.5
- SNMP: NET-SNMP 5.7.3
- ==================================DEBUG!
- Updating os_def.cache... Done
- SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE '192.168.5.251' ORDER BY device_id DESC]
- SQL[SELECT * FROM devices_attribs WHERE `device_id` = '24']
- 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())]
- SNMP Check response code: 0
- SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '24' AND `attrib_type` = 'poll_mib' ]
- Modules status: Global+ OS Device
- #### Load disco module core ####
- 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]
- .*.*.0 = ubuntu-download
- .*.*.0 = .*.4.1.8*
- .*.*.0 = Linux ubuntu-download 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64
- >> Runtime for discovery module 'core': 0.0040 seconds with 1120 bytes
- >> SNMP: [2/0.01s] MySQL: [8/0.97s] RRD: [0/0.00s]
- #### Unload disco module core ####
- Modules status: Global+ OS+ Device
- #### Load disco module ports ####
- 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]
- ifDescr.1 = lo
- ifDescr.2 = VMware VMXNET3 Ethernet Controller
- ifDescr.30 = tun0
- 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]
- ifName.1 = lo
- ifName.2 = ens160
- ifName.30 = tun0
- 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]
- ifAlias.1 =
- ifAlias.2 =
- ifAlias.30 =
- 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]
- ifType.1 = softwareLoopback
- ifType.2 = ethernetCsmacd
- ifType.30 = other
- Array
- (
- [1] => Array
- (
- [ifDescr] => lo
- [ifName] => lo
- [ifAlias] =>
- [ifType] => softwareLoopback
- )
- [2] => Array
- (
- [ifDescr] => VMware VMXNET3 Ethernet Controller
- [ifName] => ens160
- [ifAlias] =>
- [ifType] => ethernetCsmacd
- )
- [30] => Array
- (
- [ifDescr] => tun0
- [ifName] => tun0
- [ifAlias] =>
- [ifType] => other
- )
- )
- SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
- SQL[SELECT * FROM `ports` WHERE `device_id` = '24' ORDER BY port_id]
- ...
- >> Runtime for discovery module 'ports': 0.0220 seconds with 4360 bytes
- >> SNMP: [4/0.02s] MySQL: [2/0.00s] RRD: [0/0.00s]
- #### Unload disco module ports ####
- SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '24' AND `attrib_type` = 'poll_mib' ]
- SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='2.005' WHERE `device_id` = '24']
- Discovered in 2.005 seconds
- 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')]
- ./discovery.php 192.168.5.251 2018-02-05 09:01:03 - 1 devices discovered in 2.193 secs
- SNMP [6/0.03s]: Get[2/0.01s] Getnext[0/0.00s] Walk[4/0.02s]
- 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]
- RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
- root@ubuntu-monitor-254:/opt/librenms#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement