Code Monkey home page Code Monkey logo

dckr-snmpd's Introduction

Build Status Docker Stars Docker Stars Docker Pulls Code Quality
Become a sponsor Donate Paypal

โš ๏ธ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

About

๐Ÿณ SNMP daemon (snmpd) Docker image based on Alpine Linux.
If you are interested, check out my other ๐Ÿณ Docker images!

๐Ÿ’ก Want to be notified of new releases? Check out ๐Ÿ”” Diun (Docker Image Update Notifier) project!

Features

  • SNMP daemon patched to be able to monitor on CoreOS (use /rootfs/{dev|etc|proc|sys})
  • Fix CVE-2015-5621
  • IPv6 disabled

Ports

  • 161/udp : snmpd UDP listen port

Usage

โš ๏ธ snmpd has been patched to use /rootfs/{dev|etc|proc|sys}.

Docker Compose

Docker compose is the recommended way to run this image. Edit the compose file with your preferences in examples/compose and run the following command :

$ docker-compose up -d
$ docker-compose logs -f

Command line

You can also use the following minimal command :

$ docker run -d --name snmpd \
  --privileged \
  -p 161:161/udp \
  -v /:/rootfs:ro \
  -v /etc/localtime:/etc/localtime:ro \
  crazymax/snmpd:latest

You can also mount your own snmpd.conf :

$ docker run -d --name snmpd \
  --privileged \
  -p 161:161/udp \
  -v /:/rootfs:ro \
  -v /etc/localtime:/etc/localtime:ro \
  -v $(pwd)/snmpd.conf:/etc/snmpd.conf \
  crazymax/snmpd:latest

Notes

If you've got the following error :

Cannot statfs /rootfs/proc/sys/fs/binfmt_misc: Symbolic link loop

Restart this service :

systemctl restart proc-sys-fs-binfmt_misc.mount

Upgrade

To upgrade, pull the newer image and launch the container :

docker-compose pull
docker-compose up -d

How can I help ?

All kinds of contributions are welcome ๐Ÿ™Œ! The most basic way to show your support is to star ๐ŸŒŸ the project, or to raise issues ๐Ÿ’ฌ You can also support this project by becoming a sponsor on GitHub ๐Ÿ‘ or by making a Paypal donation to ensure this journey continues indefinitely! ๐Ÿš€

Thanks again for your support, it is much appreciated! ๐Ÿ™

License

MIT. See LICENSE for more details.

dckr-snmpd's People

Contributors

crazy-max avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.