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
net-snmp debian stretch
Re: net-snmp debian stretch
net-snmp seems to be working now, but the snmp oids seem a little strange, for example:
but on another server the oids are
wouldn't it be easier to have 1.3.6.1.4.1.8072.100.2.1.1.2.x , so that a simple
returns all the interfaces ?
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"
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"
Code: Select all
snmpwalk 1.3.6.1.4.1.8072.100.2.1.1.2