setup/init-snmpd.sh aktualisiert
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user