From Torrid Coyote, 5 Years ago, written in Plain Text.
This paste is a reply to Untitled from root - go back
Embed
Viewing differences between Untitled and discovery
LibreNMS Discovery
===================================
Version info:
Commit SHA: a7ef43359fb93bc190edb4482d930b6f460c399b
Commit Date: 1556440056
DB Schema: 2019_02_10_220000_add_dates_to_fdb (132)
PHP: 7.2.16
MySQL: 5.5.60-MariaDB
RRDTool: 
SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 1.4.8
SNMP: NET-SNMP 5.7.2
==================================DEBUG!
172.
34ms]

SQL[select count(*) as aggregate from `migrations` limit 1 [] 0.51ms]

SQL[SELECT version() [] 0.25ms]

Updating os_def.cache...
Done
Override discovery modules: vrf
SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE '172.
29.173.169' ORDER BY device_id DESC [] 1.39ms]

SQL[SELECT * FROM devices_attribs WHERE `device_id` = ? [41] 0.43ms]

[FPING] /usr/sbin/fping -e -q -c 3 -p 500 -t 500 172.29.173.169
array (
  'xmt' => '3',
  'rcv' => '3',
  'loss' => '0',
  'min' => '0.38',
  'max' => '2.44',
  'avg' => '1.09',
  'exitcode' => 0,
)
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":"0.38","max":"2.44","avg":"1.09","device_id":41,"debug":"[]"} 3.67ms]

SNMP Check response code: 0
SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [41,"poll_mib"] 0.54ms]

Attempting to initialize OS: arista_eos
Attempting to initialize OS: arista
OS initialized as Generic
Modules status: Global+
OS
Device
.*.*.0 = ***-***-***
.*.*.0 = .*.4.1.30065.1.3011.7050.3741.64
.*.*.0 = Arista Networks EOS version *M-INT running on an Arista Networks DCS-7050SX-64

Modules status: Global+
OS+
Device+
SQL[SELECT * FROM ports WHERE device_id = '41' [] 2.24ms]

SQL[SELECT * FROM vrfs WHERE device_id = '41' [] 0.35ms]

SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [41,"poll_mib"] 0.37ms]

SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [1.0589999999999999,41] 1.12ms]

SQL[INSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) {"type":"discover","doing":"172.29.173.169","start":1556524043.75102,"duration":"1.423","devices":1,"poller":"librenms.***"} 1.12ms]

discovery.php 172.29.173.
169 41 arista_eos 

#### Load disco module core ####
SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQn' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/arista' 'udp:HOSTNAME:161' 'sysName.0' 'sysObjectID.0' 'sysDescr.0'[0m]

>> Runtime for discovery module 'core': 0.0120 seconds with 1040 bytes
>> SNMP: [2/0.04s] MySQL: [4/0.01s] RRD: [0/0.00s]
#### Unload disco module core ####


#### Load disco module vrf ####



>> Runtime for discovery module 'vrf': 0.0030 seconds with 5640 bytes
>> SNMP: [0/0.00s] MySQL: [2/0.00s] RRD: [0/0.00s]
#### Unload disco module vrf ####

Discovered 
2019-04-29 09:47:25 - 1 devices discovered in 1.059 seconds

SNMP [2/0.04s]: Get[2/0.04s] Getnext[0/0.00s] Walk[0/0.00s]
MySQL [9/0.01s]: Cell[1/0.00s] Row[1/0.00s] Rows[4/0.01s] Column[0/0.00s] Update[1/0.00s] Insert[2/0.01s] Delete[0/0.00s]
RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
423 secs
title:
name: root
private: 1
expire: 0
https://p.libren.ms/view/f45a97e3