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
{{ message }}
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.
install_cht_perfmon.sh hangs forever in an unbounded while loop.
The failure is at line of 240 of install_cht_perfmon.sh:
if [ $counter -gt $user_defined_frequency ]; then
$user_defined_frequency is null here. Since this occurs in an unbounded while loop, the script never completes.
$user_defined_frequency is defined with the line:
user_defined_frequency=$(grep -A 1 "LoadPlugin cpu" /etc/chtcollectd/collectd.conf | grep Int | awk '{print $2}')
Which does not return anything. This is due to the fact that collectd uses the default interval instead of defining it explicitly.
collectd is installed in this script with a custom RPM that does not respect the preexistence of the configuration file.
/etc/chtcollectd/collectd.conf:
<LoadPlugin cpu>
Interval
What this means is that I can't even put the file in place with an interval defined before running the script. The installer is unusable in its current form due to collectd.conf not defining an interval for the cpu plugin.
The text was updated successfully, but these errors were encountered:
install_cht_perfmon.sh hangs forever in an unbounded while loop.
The failure is at line of 240 of install_cht_perfmon.sh:
$user_defined_frequency is null here. Since this occurs in an unbounded while loop, the script never completes.
$user_defined_frequency is defined with the line:
Which does not return anything. This is due to the fact that collectd uses the default interval instead of defining it explicitly.
collectd is installed in this script with a custom RPM that does not respect the preexistence of the configuration file.
/etc/chtcollectd/collectd.conf:
What this means is that I can't even put the file in place with an interval defined before running the script. The installer is unusable in its current form due to collectd.conf not defining an interval for the cpu plugin.
The text was updated successfully, but these errors were encountered: