Hey everyone,
New to LibreNMS. I did a search for Cisco IP Phones on the forum, but couldn’t find any other threads about this. The documentation indicates that by default discovery is disabled for Cisco IP Phones via XDP. However, when running discovery.php -d, I’m seeing attempts to poll these devices as they’re discovered. Here’s a sample from one of the discovery attempts.
Any feedback or guidance will be greatly appreciated!
Thanks!
-Blake
.SQL[SELECT * FROM
ports
WHEREdevice_id
= ? ANDifIndex
= ? [18,10137] 1.49ms]array (
‘cdpCacheAddressType’ => ‘1’,
‘cdpCacheAddress’ => ‘0A 1E 14 3A’,
‘cdpCacheVersion’ => ‘SCCP42.9-3-1SR2-1S’,
‘cdpCacheDeviceId’ => ‘SEP1CAA071049B8’,
‘cdpCacheDevicePort’ => ‘Port 1’,
‘cdpCachePlatform’ => ‘Cisco IP Phone 7962’,
‘cdpCacheCapabilities’ => ‘00 00 04 90’,
‘cdpCacheNativeVLAN’ => ‘0’,
‘cdpCacheDuplex’ => ‘3’,
‘cdpCacheLastChange’ => ‘3434833279’,
)
SQL[SELECTdevice_id
FROMdevices
WHEREsysName
=? ORhostname
=? ORhostname
=? ORip
=? [“SEP1CAA071049B8”,“SEP1CAA071049B8”,{“ip”:“10.30.20.58”,“cidr”:32,“host_bits”:32},"\n\u001discovering SEP1CAA071049B8
name lookup of SEP1CAA071049B8 failed
SQL[insert intoeventlog
(device_id
,reference
,type
,datetime
,severity
,message
,username
) values (?, ?, ?, ?, ?, ?, ?) [18,null,“discovery”,“2020-06-20 18:51:35”,5,"CDP ddiscovering 10.30.20.58
ip lookup result: 10.30.20.58
SQL[SELECT COUNT(*) FROMdevices
WHEREhostname
=? [“10.30.20.58”] 1.61ms]SQL[select * from
ipv4_addresses
whereipv4_address
= ? limit 1 [“10.30.20.58”] 2.01ms][FPING] ‘/usr/sbin/fping’ ‘-e’ ‘-q’ ‘-c’ ‘3’ ‘-p’ ‘500’ ‘-t’ ‘500’ ‘10.30.20.58’
response: {“xmt”:3,“rcv”:3,“loss”:0,“min”:2.01,“max”:2.1,“avg”:2.04,“dup”:0,“exitcode”:0}
SNMP Check response code: 1
SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘SNMPv2-MIB’ ‘-M’ ‘/opt/librenms/mibs’ ‘udp:HOSTNAME:161’ ‘sysObjectID.0’]Timeout: No Response from udp:10.30.20.58:161.
SNMP Check response code: 1
SNMP[‘/usr/bin/snmpget’ ‘-v3’ ‘-l’ ‘noAuthNoPriv’ ‘-n’ “” ‘-u’ ‘USER’ ‘-Oqv’ ‘-m’ ‘SNMPv2-MIB’ ‘-M’ ‘/opt/librenms/mibs’ ‘udp:HOSTNAME:161’ ‘sysObjectID.0’]snmpget: Timeout (Sub-id not found: (top) → sysObjectID)
SNMP Check response code: 1
SNMP[‘/usr/bin/snmpget’ ‘-v1’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘SNMPv2-MIB’ ‘-M’ ‘/opt/librenms/mibs’ ‘udp:HOSTNAME:161’ ‘sysObjectID.0’]Timeout: No Response from udp:10.30.20.58:161.
SQL[insert intoeventlog
(device_id
,reference
,type
,datetime
,severity
,message
,username
) values (?, ?, ?, ?, ?, ?, ?) [18,null,“discovery”,“2020-06-20 18:52:12”,5,"CDP dDiscover link: 1119, cdp, 0, SEP1CAA071049B8, Port 1, Cisco IP Phone 7962, SCCP42.9-3-1SR2-1S,
SQL[SELECT COUNT(*) FROMlinks
WHEREremote_hostname
= ? ANDlocal_port_id
= ? ANDprotocol
= ? ANDremote_port
= ? [“SEP1CAA071049B8”,1119,“cdp”,“Port 1”] 1.72ms]SQL[SELECT
id
,local_device_id
,remote_platform
,remote_version
,remote_device_id
,remote_port_id
FROMlinks
WHEREremote_hostname
= ? ANDlocal_port_id
= ? ANDprotocol
= ?