Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENABLE SNMP Support #4

Open
wijethunge opened this issue Jan 5, 2016 · 3 comments
Open

ENABLE SNMP Support #4

wijethunge opened this issue Jan 5, 2016 · 3 comments
Labels

Comments

@wijethunge
Copy link

How can I enable snmp support along with bgpd ?

@wijethunge
Copy link
Author

I'm getting below
./configure --enable-rpki --enable-vtysh --enable-snmp --localstatedir=/usr/local/etc

configure: error: --enable-snmp given but unable to find net-snmp-config

@wijethunge
Copy link
Author

above Issue fixed I have recompiled package with --enable-snmp=smux support

and configured as below

SNMP Configuration

Add this line for BGP SMUX

smuxpeer .1.3.6.1.2.1.15.3.1 bgp

BGP

Configuration
#Add this line to the BGP configuration
smux peer 1.3.6.1.2.1.15.3.1 bgp
Unfortunately when I'm queering I'm getting below error
root@rpki-VirtualBox:/usr/local/sbin# snmpwalk -v2c -c public -m ALL localhost 1.3.6.1.2.1.15.3.1
Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
BGP4-MIB::bgpPeerEntry = No Such Object available on this agent at this OID
could you please be able to help me? If you know some fix for this

@smlng
Copy link
Member

smlng commented Feb 4, 2019

is this solved for you? Otherwise, try to install the devel version of the libsnmp package using your distros package manager.

@smlng smlng added the question label Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants