common: remove snmpd

This commit is contained in:
Markus 2019-09-17 10:15:26 +02:00
parent 939b9ccb4c
commit e0cbf2b760
4 changed files with 0 additions and 42 deletions

View File

@ -88,10 +88,6 @@ root_keys:
slapd_san: ldap.binary.kitchen
snmp_allowed:
- 172.23.2.5
- 172.23.2.6
zammad_domain: zammad.binary-kitchen.de
zammad_dbname: zammad
zammad_dbuser: zammad

View File

@ -1,3 +0,0 @@
[Service]
ExecStart=
ExecStart=/usr/sbin/snmpd -LSed -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f

View File

@ -1,10 +1,4 @@
---
- name: Reload systemd
command: systemctl daemon-reload
- name: Restart snmpd
service: name=snmpd state=restarted
- name: update-initramfs
command: update-initramfs -u -k all

View File

@ -1,29 +0,0 @@
###############################################################################
#
# AGENT BEHAVIOUR
#
# Listen for connections on all interfaces, IPv4 only
agentAddress udp:161
###############################################################################
#
# ACCESS CONTROL
#
rocommunity public 127.0.0.1
{% for srv in snmp_allowed %}
rocommunity public {{ srv }}
{% endfor %}
###############################################################################
#
# SYSTEM INFORMATION
#
sysLocation Binary Kitchen e.V., Regensburg, Germany
syscontact Markus Hauschild <moepman@binary-kitchen.de>