Nethserver 7.9 and nut snmp-ups

I am unable to configure the old server manager or Cockpit. The old server manager has changed there are not Mode and Master or Slave selection. There are only Local or Remote selection. If I set it according to your description it won’t work. The UPS status is not displayed and I get an error message.

Screenshot_20210202_125639

I tried to configure it manually as described by editing the config files and starting the nut-server and nut-monitor services manually. NUT configuration (understanding and replicating)

vi /etc/ups/nut.conf
MODE=netserver

vi /etc/ups/ups.conf
pollinterval = 10
[UPS]
driver = snmp-ups
port = 192.168.1.31

vi /etc/ups/upsd.conf
LISTEN 0.0.0.0

vi /etc/ups/upsd.users
[upsmon]
password = <password of “admin” user UPS>
upsmon master

vi/etc/ups/upsmon.conf
MONITOR UPS@192.168.1.31 1 upsmon admin master

This works and displays the status of the UPS.

My problem is that this is not a good solution because manual changes will be lost when these files are regenerated.

How can I resolve not to overwrite the manual setting?

Thanks