You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have this again, too.
I run an interval of 60 seconds on some servers, and up to Debian jessie using the old /etc/default/atop was easy.
For now I just change /usr/share/atop/atop.daily, but this won't survive an update, so being able to set this in a config file (/etc/atop/atop-daily.conf or whatever name) would be nice.
This is me forwarding https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861874
The user suggests making the INTERVAL in atop.daily configurable from a defaults file.
The idiom should be something along:
`
#!/bin/bash
CURDAY=
date +%Y%m%d
LOGPATH=/var/log/atop
BINPATH=/usr/bin
PIDFILE=/run/atop.pid
INTERVAL=600 # interval 10 minutes
if [ -e "/etc/atop/defaults" ] ; then
. /etc/atop/defaults
fi
`
So that the local user can create a defaults file and have the settings made there honored without the need to modify the script itself.
Greetings
Marc
The text was updated successfully, but these errors were encountered: