2007-01-16 00:26:37 +01:00
|
|
|
/var/log/net-snmpd.log {
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+1024k
|
|
|
|
notifempty
|
|
|
|
missingok
|
|
|
|
create 600 root root
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/etc/init.d/snmpd try-restart ||:
|
2008-09-24 17:15:08 +02:00
|
|
|
if [ -x /etc/init.d/snmptrapd ] ; then \
|
|
|
|
/etc/init.d/snmptrapd try-restart ; \
|
|
|
|
fi
|
2007-01-16 00:26:37 +01:00
|
|
|
endscript
|
|
|
|
|
|
|
|
}
|