dvl@
Developer
I'm going to give
But it won't talk to me:
However, net-mgmt/net-snmp does answer.
By far, the biggest impediment to getting users to use your code, is in the inability to find a working simple example. Getting started is always the first step. I've been searching and failing to find a working example so far. :/
Could you share your working /etc/snmpd.config with me/us please?
bnsmpd
a go and see how it runs. I've got it running:
Code:
[16:49 empty dan ~] % ps auwwx | grep snmp
root 24732 0.0 0.0 16620 5956 - SsJ 16:49 0:00.00 /usr/sbin/bsnmpd -p /var/run/snmpd.pid
dan 24952 0.0 0.0 12812 2360 1 S+J 16:49 0:00.00 grep snmp
[16:44 empty dan ~] % sockstat -p 161 -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root bsnmpd 22635 6 udp4 10.55.0.21:161 *:*
But it won't talk to me:
Code:
[16:43 empty dan /etc] % bsnmpget -s 10.55.0.21 sysUpTime.0
bsnmpget: Snmp dialog: Operation timed out
However, net-mgmt/net-snmp does answer.
Code:
[16:45 empty dan ~] % sudo service bsnmpd stop
Stopping bsnmpd.
Waiting for PIDS: 22635.
[16:46 empty dan ~] % sudo service snmpd onestart
Starting snmpd.
[16:46 empty dan ~] % sockstat -p 161 -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root snmpd 23911 8 udp4 10.55.0.21:161 *:*
[16:46 empty dan ~] % bsnmpget -s 10.55.0.21 sysUpTime.0
sysUpTime.0 = 1015
By far, the biggest impediment to getting users to use your code, is in the inability to find a working simple example. Getting started is always the first step. I've been searching and failing to find a working example so far. :/
Could you share your working /etc/snmpd.config with me/us please?