2024-05-03 16:57:43 +02:00
|
|
|
/var/log/net-snmpd.log {
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+1024k
|
|
|
|
notifempty
|
|
|
|
missingok
|
|
|
|
create 600 root root
|
|
|
|
su root root
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2024-11-25 20:47:17 +01:00
|
|
|
/usr/bin/systemctl try-reload-or-restart snmpd.service >/dev/null
|
|
|
|
/usr/bin/systemctl try-reload-or-restart snmptrapd.service >/dev/null
|
2024-05-03 16:57:43 +02:00
|
|
|
endscript
|
|
|
|
|
|
|
|
}
|