Hi,
I have an SPI ATM module on my Cisco ASR1K router and my ATM interfaces (and subinterfaces) are not discovered.
Could you help me please ?
I use the last release of librenms.
Regards,
Thomas V.
Hi,
I have an SPI ATM module on my Cisco ASR1K router and my ATM interfaces (and subinterfaces) are not discovered.
Could you help me please ?
I use the last release of librenms.
Regards,
Thomas V.
We ignore certain atm interfaces:
$config['bad_if'][] = '-atm';
$config['bad_iftype'][] = 'voiceOverAtm';
bad_if will match on ifDescr and bad_iftype on ifType, do either of these match the interface in question? (Check Ports -> Deleted Ports in the webui).
Hi,
Thanks for your quick answer !
My module is "SPA-1XOC12-ATM-V2"
I don’t find where is Checks Ports in the webgui.
Thanks in advance.
Thomas V.
My interfaces and subinterfaces :
AT0/1/0
AT0/1/0.1
AT0/1/0.4
AT0/1/0.5
Hi,
I commented in /opt/librenms/includes/defaults.inc.php :
$config[‘bad_if’][] = ‘-atm’;
$config[‘bad_iftype’][] = ‘atmSubInterface’;
And restart server, and it 's works fine !
Thanks you for your help
Was it the right way to do ?
Best Regards,
Thomas V.
No no no
Don’t edit that file, it will stop updates.
Instead you need to add this to config.php:
unset($config['bad_if']); $config['bad_if'][] = 'voip-null'; $config['bad_if'][] = 'virtual-'; $config['bad_if'][] = 'unrouted'; $config['bad_if'][] = 'eobc'; $config['bad_if'][] = 'lp0'; $config['bad_if'][] = 'faith0'; $config['bad_if'][] = 'container'; $config['bad_if'][] = 'async'; $config['bad_if'][] = 'plip'; $config['bad_if'][] = '-physical'; $config['bad_if'][] = 'container'; $config['bad_if'][] = 'unrouted'; $config['bad_if'][] = 'bluetooth'; $config['bad_if'][] = 'isatap'; $config['bad_if'][] = 'ras'; $config['bad_if'][] = 'qos'; $config['bad_if'][] = 'span rp'; $config['bad_if'][] = 'span sp'; $config['bad_if'][] = 'sslvpn'; $config['bad_if'][] = 'pppoe-'; unset($config['bad_iftype']); $config['bad_iftype'][] = 'voiceEncap'; $config['bad_iftype'][] = 'voiceFXO'; $config['bad_iftype'][] = 'voiceFXS'; $config['bad_iftype'][] = 'voiceOverAtm'; $config['bad_iftype'][] = 'voiceOverFrameRelay'; $config['bad_iftype'][] = 'voiceOverIp'; $config['bad_iftype'][] = 'ds0'; $config['bad_iftype'][] = 'ds1'; $config['bad_iftype'][] = 'ds3'; // $config['bad_iftype'][] = "isdn"; #show signaling traffic // $config['bad_iftype'][] = "lapd"; #show signaling traffic $config['bad_iftype'][] = 'sonet'; $config['bad_iftype'][] = 'aal5'; $config['bad_iftype'][] = 'shdsl'; $config['bad_iftype'][] = 'mpls';
It’s a pain as if we add more then you will miss those but I can’t see any other way to do it.
Oups
I uncommented the lines and I add the your conf under /opt/librenms/config.php
The interfaces appear correctly but no data come in. In real time graph I have the message ‘‘Cannot get data about interface 469’’.
Have I wait ?
Regards,
Thomas V.
Hi,
Thank you for your help but my graph are still empty (Atm0/1/0.0-Atm subif for example).
Are you an idea ?
Thanks in advance.
regards;
Thomas V.
post the output of ./validate.php
Component | Version |
---|---|
LibreNMS | 2dd0ab870fb58201150cde1a41fd1dd790e82f99 |
DB Schema | 182 |
PHP | 7.0.15-0ubuntu0.16.04.4 |
MySQL | 10.0.29-MariaDB-0ubuntu0.16.04.1 |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
========================================================== |
[WARN] Your install is out of date, last update: Wed, 29 Mar 2017 13:35:44 +0000
[OK] Database connection successful
[FAIL] You have a different system timezone (CEST) specified to the php configured timezone (UTC), please correct this.
Component | Version |
---|---|
LibreNMS | acd11955d20737394c978aac3bf465d8e1d6a6b3 |
DB Schema | 183 |
PHP | 7.0.15-0ubuntu0.16.04.4 |
MySQL | 10.0.29-MariaDB-0ubuntu0.16.04.1 |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
==========================================================
[OK] Database connection successful
[FAIL] Discovery has not completed in the last 24 hours, check the cron job
Hi,
It’s me agin
To complete information, for example, the ifindex value (263) for an ATM subinterface (ATM0/1/0.189-atm subif), the message when I do an realtime is “Cannot get data about interface 263”.
root@librenms:/opt/librenms# tcpdump -n -i enp0s3 host 172.20.69.5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp0s3, link-type EN10MB (Ethernet), capture size 262144 bytes
10:46:37.007088 IP 10.0.2.15.37142 > 172.20.69.5.161: C=“public” GetRequest(32) .1.3.6.1.2.1.31.1.1.1.6.263
10:46:37.012878 IP 172.20.69.5.161 > 10.0.2.15.37142: C=“public” GetResponse(32) .1.3.6.1.2.1.31.1.1.1.6.263=[noSuchInstance]
Have you got an idea ?
Thanks in advance
I found why that did not work :
There are two types of Cisco ATM interfaces.
Example :
For the interface “AT0/1/0.1” there are “ATM0/1/0-atm” layer and “ATM0/1/0-aal5 layer”.
The datas (counters) are under ATM0/1/0-aal5.
So in my config.php I have :
//$config[‘bad_if’][] = ‘-aal5’;
$config[‘bad_if’][] = ‘-atm’;
//$config[‘bad_iftype’][] = ‘aal5’;
$config[‘bad_iftype’][] = ‘atm’;
That’s works fine now
Thank you very much for you help. You can close the issue.
Best regards,
Thomas V.
Glad you got it sorted and thanks for feeding back the answer.