Last active
August 8, 2018 11:06
-
-
Save xotonic/4e51c18ad2f197c2797af329a6dbeee7 to your computer and use it in GitHub Desktop.
snmp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# discovery | |
snmpget -v2c -c public 172.17.0.2 1.3.6.1.2.1.1.5.0 1.3.6.1.2.1.1.2.0 | |
docker run -it -v /home/xotonic/docker-snmpd:/conf polinux/snmpd -V -Lo -c /conf/snmpd.conf | |
# snmpd.conf | |
exec 1.3.6.1.2.1.1.5.0 sysName /bin/echo "dockjer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment