|
@@ -16,22 +16,8 @@ rm /etc/snmp/snmpd.conf
|
|
|
|
|
|
|
|
###########################################################################
|
|
###########################################################################
|
|
|
echo "Configuration Services..."
|
|
echo "Configuration Services..."
|
|
|
-cat <<EOF > /etc/chrony/chrony.conf
|
|
|
|
|
-# NTP-Server
|
|
|
|
|
-server ntp-nhi-strat1.klenzel.net
|
|
|
|
|
-server ntp-hkl-strat1.klenzel.net
|
|
|
|
|
-
|
|
|
|
|
-###################################################
|
|
|
|
|
-# Sonstige Konfiguration
|
|
|
|
|
-driftfile /var/lib/chrony/drift
|
|
|
|
|
-makestep 1.0 3
|
|
|
|
|
-allow 127.0.0.1
|
|
|
|
|
-keyfile /etc/chrony.keys
|
|
|
|
|
-leapsectz right/UTC
|
|
|
|
|
-logdir /var/log/chrony
|
|
|
|
|
-EOF
|
|
|
|
|
-
|
|
|
|
|
-###########################################################################
|
|
|
|
|
|
|
+wget http://git.klenzel.net/daniel/chrony.conf/raw/master/chrony.conf
|
|
|
|
|
+mv chrony.conf /etc/chrony/chrony.conf
|
|
|
|
|
|
|
|
cat <<EOF > /etc/snmp/snmpd.conf
|
|
cat <<EOF > /etc/snmp/snmpd.conf
|
|
|
createUser KlenzelSNMP SHA "klen-ke93jg-zel" DES
|
|
createUser KlenzelSNMP SHA "klen-ke93jg-zel" DES
|