How to change the default warning value for auto discovery

Default value cannot be changed as far as I know.

But this issue was fixed a long time ago. Now the alert values are kept if manually changed. You just need to upgrade your LibreNMS instance.