Page 1 of 1
Disk Usage on Home screen
Posted: Wed Nov 13, 2019 9:35 am
by cduffy
The disk usage graph on the home screen never changes. It always shows the same usage which is incorrect.
Re: Disk Usage on Home screen
Posted: Wed Nov 13, 2019 3:58 pm
by mbellerue
What version of Log Server do you have installed? Also can you show me the used space on the server with a df -h?
Re: Disk Usage on Home screen
Posted: Thu Nov 14, 2019 11:09 am
by cduffy
2.1.1
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 401M 3.5G 11% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda3 1.9G 76M 1.8G 4% /
/dev/sda2 5.8G 1.7G 4.2G 29% /usr
/dev/sdb1 5.6G 33M 5.6G 1% /tmp
/dev/sda5 1.9G 767M 1.2G 41% /var
/dev/sdd1 50G 16G 35G 32% /usr/local
/dev/sdc1 10G 35M 10G 1% /local
/dev/sda1 473M 150M 323M 32% /boot
tmpfs 783M 0 783M 0% /run/user/1000
tmpfs 783M 0 783M 0% /run/user/0
Re: Disk Usage on Home screen
Posted: Thu Nov 14, 2019 11:37 am
by cduffy
It appears as though it is looking at the disk usage of / but is there a way to change it so that it is looking at /usr/local where nagios installed?
Re: Disk Usage on Home screen
Posted: Thu Nov 14, 2019 11:58 am
by swolf
Hi
@cduffy,
For the moment, the API endpoint used for that graph is using a hardcoded path. We're looking into making this configurable for the next feature release.