We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintainer: @neheb @krant @ratkaj Environment: x86_64 23.05.5 / 24.10.0-rc2
Description:
Init file is broken. https://github.com/openwrt/packages/blob/master/utils/sysstat/files/sysstat.init
/var/log/sa
/var/log/sysstat
[ -d /var/log/sysstat ] || mkdir -p /var/log/sysstat
$sa_dir
procd_set_param command $PROG -S DISK -F -L -
# /usr/lib/sysstat/sadc -S DISK -F -L - Cannot open /var/log/sa/sa15: No such file or directory
It has to include $sa_dir variable and do not include -, like this may be:
-
/usr/lib/sysstat/sadc -S DISK -F -L 1 $sa_dir
Also it has to include an interval variable, from config file possibly.
{ echo "HISTORY=$log_history" echo "COMPRESSAFTER=$compressafter" echo "SADC_OPTIONS=\"$sadc_options\"" echo "ZIP=\"$zip\"" echo "ENABLED=\"$enabled\"" } > $SYSSTAT_CFG
The config file is getting overwritten every time and thus truncated to a limited number of parameters, why?
Currently service starts but does not work:
# /etc/init.d/sysstat status running # service |grep sysstat /etc/init.d/sysstat enabled stopped
Cannot figure out how to fix it by myself properly for now.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Maintainer: @neheb @krant @ratkaj
Environment: x86_64 23.05.5 / 24.10.0-rc2
Description:
Init file is broken. https://github.com/openwrt/packages/blob/master/utils/sysstat/files/sysstat.init
/var/log/sa
instead of/var/log/sysstat
for compatibility with sar hardcoded value/var/log/sa
.[ -d /var/log/sysstat ] || mkdir -p /var/log/sysstat
must use a non hardcoded variable$sa_dir
.procd_set_param command $PROG -S DISK -F -L -
does not run:It has to include $sa_dir variable and do not include
-
, like this may be:Also it has to include an interval variable, from config file possibly.
The config file is getting overwritten every time and thus truncated to a limited number of parameters, why?
Currently service starts but does not work:
Cannot figure out how to fix it by myself properly for now.
The text was updated successfully, but these errors were encountered: