-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
snmpd manually executed listens correctly while in this framework netstat does not report anything
# sed 's/^/ /' ./server
#!/bin/bash -xe
cat > ./config << EOF
rocommunity public
EOF
ip a
/usr/sbin/snmpd -f -c ./config udp6:[::]:161 udp:0.0.0.0:161 tcp:0.0.0.0:161 tcp6:[::]:161 &
ps aux | grep snmp || :
sleep 2
ps uax | grep snmp || :
netstat -putna
wait $!
# sed 's/^/ /' ./client
#!/bin/bash -e
exec /usr/bin/snmpgetnext -v 2c -c public $DESTINATION .
# sed 's/^/ /' ./deps
net-snmp
net-snmp-utils