first commit
This commit is contained in:
11
serv-01-baselinux/templates/etc/ntp.conf.j2
Normal file
11
serv-01-baselinux/templates/etc/ntp.conf.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
driftfile /var/lib/ntp/ntp.drift
|
||||
statistics loopstats peerstats clockstats
|
||||
filegen loopstats file loopstats type day enable
|
||||
filegen peerstats file peerstats type day enable
|
||||
filegen clockstats file clockstats type day enable
|
||||
server {{ ntpserver }} iburst
|
||||
restrict -4 default kod notrap nomodify nopeer noquery limited
|
||||
restrict -6 default kod notrap nomodify nopeer noquery limited
|
||||
restrict 127.0.0.1
|
||||
restrict ::1
|
||||
restrict source notrap nomodify noquery
|
||||
@@ -0,0 +1,2 @@
|
||||
*.* @{{rsyslogserver}}:514
|
||||
|
||||
19
serv-01-baselinux/templates/etc/snmp/snmpd.conf.j2
Normal file
19
serv-01-baselinux/templates/etc/snmp/snmpd.conf.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
com2sec readonly default community_string
|
||||
|
||||
group MyROGroup v1 readonly
|
||||
group MyROGroup v2c readonly
|
||||
group MyROGroup usm readonly
|
||||
view all included .1 80
|
||||
access MyROGroup "" any noauth exact all none none
|
||||
syslocation homesite, Vilnius, LT
|
||||
syscontact Contact Person <user@domain.com>
|
||||
|
||||
# This line allows Observium to detect the host OS if the distro script is installed
|
||||
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
|
||||
|
||||
# This line allows Observium to collect an accurate uptime
|
||||
extend uptime /bin/cat /proc/uptime
|
||||
|
||||
# This line enables Observium's ifAlias description injection
|
||||
pass_persist .1.3.6.1.2.1.31.1.1.1.18 /usr/bin/ifAlias_persist
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
net.ipv6.conf.all.disable_ipv6 = 1
|
||||
net.ipv6.conf.default.disable_ipv6 = 1
|
||||
net.ipv6.conf.lo.disable_ipv6 = 1
|
||||
Reference in New Issue
Block a user