add initial snmpd_conf role

This commit is contained in:
Chris Hammer
2022-04-04 16:51:30 -04:00
parent 4d14d4d49f
commit 8c9191b808
15 changed files with 231 additions and 0 deletions

View File

@ -0,0 +1,38 @@
###############################################
# {{ __template_header }}
###############################################
#
# Configuration : {{ __snmpd_conf_file }}
# Template Version : {{ __snmpd_conf_version}}-{{ __snmpd_conf_revision }}
#
# {{ __project_author }} ({{ __project_email }})
###############################################
com2sec readonly default public
group MyROSystem v1 paranoid
group MyROSystem v2c paranoid
group MyROSystem usm paranoid
group MyROGroup v1 readonly
group MyROGroup v2c readonly
group MyROGroup usm readonly
group MyRWGroup v1 readwrite
group MyRWGroup v2c readwrite
group MyRWGroup usm readwrite
view all included .1 80
view system included .iso.org.dod.internet.mgmt.mib-2.system
# context sec.model sec.level match read write notif
access MyROSystem "" any noauth exact system none none
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
###############################################################################
# System contact information
#
syslocation {{ __snmpd_location }}
syscontact {{ __snmpd_contact_name }} {{ __snmpd_contact_email }}
# -----------------------------------------------------------------------------