setup/init-snmpd.sh aktualisiert

This commit is contained in:
ageissler
2024-10-29 10:17:38 +01:00
parent d42f238ba8
commit 7caac5b964

View File

@@ -1 +1,29 @@
#!/bin/bash
#!/bin/bash
###############################################################
###
### snmp konfig
###
###############################################################
apt -y install snmpd
echo "sysLocation VMWare, Frankfurt am Main, Hessen
sysContact help@conet.de
sysServices 72
master agentx
agentaddress udp::161
view systemonly included .1.3.6.1
rocommunity con default -V systemonly
rocommunity6 con default -V systemonly
rouser authPrivUser authpriv -V systemonly
includeDir /etc/snmp/snmpd.conf.d
" > /etc/snmp/snmpd.conf
systemctl restart snmpd