Symptoms
The Health Monitor displays a value of zero for CPU, memory, etc.
Cause
Corrupted old Health Monitor statistics.
- Unfinished installation and initial configuration of Health Monitor.
Resolution
The first possible solution is to clean up the old Health Monitor statistics:
Stop the sw-collectd service:
~# /etc/init.d/sw-collectd stop
Retrieve the values for the "BaseDir" and "Hostname" parameters from the Health Monitor configuration file:
~# egrep "BaseDir|Hostname" /etc/sw-collectd/collectd.conf BaseDir "/usr/local/psa/var/health/data" Hostname localhost
Delete the existing statistics. The Health Monitor statistics storage location is assembled from "BaseDir" + "Hostname":
~# rm -rf /usr/local/psa/var/health/data/localhost/*
Start the sw-collectd service:
~# /etc/init.d/sw-collectd start
- Check the Health Monitor statistics in the Server Administration Panel.
If the previous steps did not resolve the issue, please try next solution.
The second solution is to finish the initial installation of Health Monitor:
Stop the sw-collectd service:
~# /etc/init.d/sw-collectd stop
Execute the configuring script:
~# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php Operation completed successfully
Start the sw-collectd service:
~# /etc/init.d/sw-collectd start