health monitor: storage disk usage incorrect

Issue #472 closed
digidax created an issue

health monitor: storage disk usage shows: / 3.0G / 956.6G (1%)

configured: --localstatedir=/srv/gluster/piler

# df -h
Filesystem                  Size    Used    Avail   Use%    Mounted on
/dev/md2                    913G    2,9G    864G    1%      /
tmpfs                       3,8G    0       3,8G    0%      /dev/shm
/dev/md0                    477M    62M     390M    14%     /boot
192.168.110.221:volume1     55,5T   1,3T    54,2T   2%      /srv/gluster/piler

=> The health monitor is ignoring the "--localstatedir=/srv/gluster/piler" as storage path. I would like to see for my example: /srv/gluster/piler 1,3T / 55.5T (2%)

Comments (3)

  1. Janos SUTO repo owner

    Edit config-site.php, and fix these two variables (the defaults are shown below):

    $partitions_to_monitor = array('/', '/home', '/var', '/var/piler', '/tmp');
    $config['DATA_PARTITION'] = '/var';
    
  2. Log in to comment