#edit nabox_alert_rules.yml

1 messages · Page 1 of 1 (latest)

dusky trellis
#

hello,

how can i edit the capacity low threshold from 15 to 5%?

thank you

jolly ravine
#

hi @dusky trellis have you tried editing the file at /usr/share/nabox/vmalert/nabox_alert_rules.ymland the doing adc restart`

dusky trellis
#

the file is on a read-only filesystem. you can not edit this file. can you check please?
nabox4 /usr/share/nabox/vmalert # df -h .
Filesystem Size Used Avail Use% Mounted on
sysext 7.8G 8.0K 7.8G 1% /usr

jolly ravine
#

ah, yes @queen bloom how do you edit files on the read-only filesystem?

queen bloom
#

You don’t 😦

#

Only way is to have a compose override file and point the mount to a different writable directory with the original content

dusky trellis
#

if i have a /data disk with a X-TB size the 15% threshold is a little bit to early 😉

queen bloom
#

How do you mean ? You’re getting capacity alerts for > 15% used ?

dusky trellis
#

no, for 15% free on /data

queen bloom
#

Ah ok, fair enough. Yes, alerts customization is on the roadmap

#

And it’s probably fair to move that over to etc as well