Sign inSign up

rickronen/snmptools

By rickronen

•Updated over 1 year ago

SNMPWalk and SSH

Image
Networking
0

904

rickronen/snmptools repository overview

⁠SNMP Tools & SSH Container - Built on Ubuntu 24.04.2 LTS

⁠Overview

This Docker image provides a fully equipped SNMP and SSH environment, ideal for network monitoring, SNMP troubleshooting, and secure remote access.

Built on Ubuntu 24.04.2 LTS, the image includes essential networking and system administration tools:
✅ SNMP Utilities – snmpwalk, snmpget, snmptranslate, and SNMP trap reception
✅ SSH Server (OpenSSH) – Secure remote access
✅ tcpdump – Network packet analysis
✅ OpenSSL – Secure encryption and communication
✅ Midnight Commander (mc) – File manager
✅ Nano – Lightweight text editor
✅ net-tools – Networking utilities (ifconfig, netstat, etc.)
✅ iputils-ping – Network connectivity testing


⁠Pull the Image

Download the latest version of the image:

docker pull rickronen/snmptools:1.0

⁠Run the Container

To start the container with SNMP and SSH capabilities, run:

docker run -d --name snmp-tools --hostname docker-snmp -p 22:22 -p 161:161/udp -p 162:162/udp rickronen/snmptools:1.0
  • Port 22 → SSH Access
  • Port 161 → SNMP Queries (UDP)
  • Port 162 → SNMP Trap Receiver (UDP)

⁠SSH Access to the Container

To connect via SSH (using PuTTY or terminal), run:

ssh root@localhost

🔑 Default Credentials:

  • Username: root
  • Password: rad123

⁠Using SNMP Tools

This container includes full SNMP support (snmpwalk, snmpget, snmptranslate, etc.).

⁠Check SNMP Functionality

Run a basic SNMP query inside the container:

snmpwalk -v2c -c public localhost
⁠Enable SNMP MIBs for Readable Output

By default, Ubuntu disables MIBs in SNMP tools. Enable them with:

echo "mibs +ALL" >> /etc/snmp/snmp.conf
⁠Receiving SNMP Traps

To listen for SNMP traps on port 162:

snmptrapd -f -Le

⁠Customizing the Container

You can modify ports, environment variables, and configurations based on your needs.

For example, changing the SSH port to 2222:

docker run -d --name snmp-tools --hostname docker-snmp -p 2222:22 -p 161:161/udp -p 162:162/udp rickronen/snmptools:1.0

⁠License & Disclaimer

This image is provided as-is for testing and development purposes. Use at your own risk.


⁠✅ Easily Run SNMP Queries, Capture Traps, and Access via SSH!

If you find this image useful, ⭐ star the repository and contribute! 🚀


⁠📩 Support & Contact

For issues, feature requests, or contributions, feel free to open an issue on Docker Hub or GitHub.

Tag summary

Content type

Image

Digest

sha256:1b60da083…

Size

175.1 MB

Last updated

over 1 year ago

docker pull rickronen/snmptools:1.0