disk usage display in wui

Previous development branch now released as 1.36
Locked
fiberman
Posts: 16
Joined: Wed Aug 05, 2020 2:33 pm

disk usage display in wui

Post by fiberman »

Hello,

the used hard disk space is displayed for each monitor in the Zoneminder web interface.
However, the values don't seem correct to me. In my opinion, there is too little displayed.
WebUI.png
WebUI.png (80.45 KiB) Viewed 2701 times
If I verify this directly in the filsystem, my suspicions are confirmed.
du-sh.png
du-sh.png (1.92 KiB) Viewed 2701 times
Why are the values in the web interface incorrect?

I use zoneminder 1.35.9~20201007.66-buster amd64.

regards
Daniel
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: disk usage display in wui

Post by iconnor »

What is probably happening is that the Update Disk Space filter is matching events that are in progress, so it stores an early value and then the record never gets updated.

In 1.34 and before we automatically added an EndTime IS NOT NULL clause to filters. This prevented them from matching in progress events, but sometimes we WANT to match in progress events.

So now you have to explicitly say in the filter whether you want to match in progress events.

So check your filter and see if it has an EndTime IS NOT NULL clause.
fiberman
Posts: 16
Joined: Wed Aug 05, 2020 2:33 pm

Re: disk usage display in wui

Post by fiberman »

Hello, I have adjusted the filter.

zm-filter_fixed.png
zm-filter_fixed.png (63.85 KiB) Viewed 2647 times

The console now shows correct values for the hard disk space consumption.

Many Thanks! :)
Locked