net-snmp debian stretch

Questions related to other modules
Post Reply
mlemaitre
Posts: 27
Joined: 04 Dec 2014, 15:09

net-snmp debian stretch

Post by mlemaitre » 19 Jul 2017, 09:09

Hi,

I tried to use the net-snmp feature with the latest code from the master branch with debian strech, but I does not seem to work. I can't find anything in the logs, how can I debug this ?
debian switched from "snmp" user to "Debian-snmp" user, could this be an issue ? I tried with "agentXperms 0777 0777 Debian-snmp Debian-snmp" in the snmpd config, but it did not solve the problem.

Worse, when net-snmp is activated, sessions are not closed properly after a restart, accounting stop packets are not sent to the radius, and ip-down script is not launch. Any idea ?

Thanks,

Mat

mlemaitre
Posts: 27
Joined: 04 Dec 2014, 15:09

Re: net-snmp debian stretch

Post by mlemaitre » 07 Dec 2017, 15:24

net-snmp seems to be working now, but the snmp oids seem a little strange, for example:

Code: Select all

iso.3.6.1.4.1.8072.100.2.1.1.2.16.98.50.100.97.50.52.55.54.55.50.56.99.100.100.102.55 = STRING: "ppp0"
iso.3.6.1.4.1.8072.100.2.1.1.2.16.98.50.100.97.50.52.55.54.55.50.56.99.100.100.102.56 = STRING: "ppp1"
but on another server the oids are

Code: Select all

iso.3.6.1.4.1.8072.100.2.1.1.2.16.102.101.98.101.57.102.98.56.99.48.98.100.51.52.99.54 = STRING: "ppp0"
iso.3.6.1.4.1.8072.100.2.1.1.2.16.102.101.98.101.57.102.98.56.99.48.98.100.51.52.99.55 = STRING: "ppp1"
iso.3.6.1.4.1.8072.100.2.1.1.2.16.102.101.98.101.57.102.98.56.99.48.98.100.51.52.99.56 = STRING: "ppp2"
wouldn't it be easier to have 1.3.6.1.4.1.8072.100.2.1.1.2.x , so that a simple

Code: Select all

snmpwalk 1.3.6.1.4.1.8072.100.2.1.1.2
returns all the interfaces ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest