forked from infra/ansible
common: remove snmpd
This commit is contained in:
parent
939b9ccb4c
commit
e0cbf2b760
@ -88,10 +88,6 @@ root_keys:
|
|||||||
|
|
||||||
slapd_san: ldap.binary.kitchen
|
slapd_san: ldap.binary.kitchen
|
||||||
|
|
||||||
snmp_allowed:
|
|
||||||
- 172.23.2.5
|
|
||||||
- 172.23.2.6
|
|
||||||
|
|
||||||
zammad_domain: zammad.binary-kitchen.de
|
zammad_domain: zammad.binary-kitchen.de
|
||||||
zammad_dbname: zammad
|
zammad_dbname: zammad
|
||||||
zammad_dbuser: zammad
|
zammad_dbuser: zammad
|
||||||
|
@ -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
|
|
@ -1,10 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Reload systemd
|
|
||||||
command: systemctl daemon-reload
|
|
||||||
|
|
||||||
- name: Restart snmpd
|
|
||||||
service: name=snmpd state=restarted
|
|
||||||
|
|
||||||
- name: update-initramfs
|
- name: update-initramfs
|
||||||
command: update-initramfs -u -k all
|
command: update-initramfs -u -k all
|
||||||
|
@ -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>
|
|
Loading…
Reference in New Issue
Block a user