Symptoms

The Health Monitor displays a value of zero for CPU, memory, etc.

Cause

  1. Corrupted old Health Monitor statistics.

  2. Unfinished installation and initial configuration of Health Monitor.

Resolution

The first possible solution is to clean up the old Health Monitor statistics:

  1. Stop the sw-collectd service:

    ~# /etc/init.d/sw-collectd stop
    
  2. 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
    
  3. Delete the existing statistics. The Health Monitor statistics storage location is assembled from "BaseDir" + "Hostname":

    ~# rm -rf /usr/local/psa/var/health/data/localhost/*
    
  4. Start the sw-collectd service:

    ~# /etc/init.d/sw-collectd start
    
  5. 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:

  1. Stop the sw-collectd service:

    ~# /etc/init.d/sw-collectd stop
    
  2. Execute the configuring script:

    ~# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
    Operation completed successfully
    
  3. Start the sw-collectd service:

    ~# /etc/init.d/sw-collectd start
    

Internal content

Link on internal Article