Skip to content

vkushnir/docker_base_pysnmp-py2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySNMP docker base

Base docker image for PySNMP projects

Based on alpine linux

Variables

  • SNMP_VERSION=2c — snmp version 1,2c,3

SNMP Version 1 or 2c specific

  • SNMP_COMMUNITY="public" — default community string

SNMP Version 3 specific

  • SNMP_APROTOCOL="MD5" — default authentication protocol (MD5|SHA)
  • SNMP_APASSPHRASE="pass" — default authentication protocol pass phrase
  • SNMP_SENGINE-ID="00000000" — default security engine ID (e.g. 800000020109840301)
  • SNMP_CENGINE-ID="00000000" — default context engine ID (e.g. 800000020109840301)
  • SNMP_LEVEL="noAuthNoPriv" — default security level (noAuthNoPriv|authNoPriv|authPriv)
  • SNMP_CONTEXT="backup" — default context name (e.g. bridge1)
  • SNMP_USER-NAME="backup" — default security name (e.g. bert)
  • SNMP_PPROTOCOL="DES" — default privacy protocol (DES|AES)
  • SNMP_PPASSPHRASE="pass" — default privacy protocol pass phrase
  • SNMP_BOOTS="" — default destination engine boots/time

path variables

  • MIBS_PATH — path to additional Asn1 mib modules
  • PySNMP_MIBS_PATH — path to additional PySNMP compiled mib modules
  • PYTHONPATH — path to user python modules

Volumes

  • /usr/local/bin — folder for python executables
  • /usr/local/lib/python — folder for python modules
  • /usr/local/share/snmp/mibs — folder for Asn1 mib modules
  • /usr/local/share/snmp/pysnmp_mibs — folder for PySNMP compiled mib modules

BUILD

docker build source/ --tag vkushnir/pysnmp-py2:<pysnmp version>

Releases

No releases published

Packages

No packages published