Page 1 of 1

purgewhenfull not working with DiskPercent

Posted: Tue Jun 28, 2022 4:14 pm
by davic
HI,
with the debug of PurgeWhenFull I obtain :
"SQL SELECT E.*,M.Name AS MonitorName,M.DefaultScale
FROM Monitors AS M INNER JOIN Events AS E ON (M.Id = E.MonitorId)
WHERE TRUE /*DiskPercent*/ and E.Archived = '0' and E.StorageId = '1' ORDER BY StartDateTime ASC LIMIT 10"

In the diskpercent miss the parameter ">90%". Tried many conditions but noghing.
thanks

Re: purgewhenfull not working with DiskPercent

Posted: Tue Jun 28, 2022 7:11 pm
by Andyrh
Can you post a picture of the PurgeWhenFull filter?

Re: purgewhenfull not working with DiskPercent

Posted: Wed Jun 29, 2022 7:06 am
by davic
HI, in the debug image you can see there's not the parameter "90%"

Re: purgewhenfull not working with DiskPercent

Posted: Wed Jun 29, 2022 1:38 pm
by Magic919
It clearly shows DiskPercent.

Re: purgewhenfull not working with DiskPercent

Posted: Wed Jun 29, 2022 1:50 pm
by davic
Yes, in the SQL shows "DiskPercent" but not "90" and that's why it doesn't work.
Still writing "90%" not works.

Re: purgewhenfull not working with DiskPercent

Posted: Wed Jun 29, 2022 2:18 pm
by Magic919
I don't think so.

Re: purgewhenfull not working with DiskPercent

Posted: Wed Jun 29, 2022 5:33 pm
by dougmccrary
I’m not sure trying to update diskspace in the purge is a good idea. It’s a separate filter.