Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - power13

#1
I could confirm this in a freshyl installed OPNsense 26.1.4-amd64.

LoadAvg15 was not present in /usr/local/etc/monitrc already, looks broken after installation.

When deleting and re-adding LoadAvg5, LoadAvg5 is not configured anymore in /usr/local/etc/monitrc.
After restoring configuration, LoadAvg5 is present again in /usr/local/etc/monitrc.

However, without restoring configuration, LoadAvg5 is not written anymore into /usr/local/etc/monitrc.

May anybody test this with another OPNsense version?
#2
26.1 Series / Monit does not update its config file
March 15, 2026, 12:42:42 PM
Hi guys

When I delete LoadAvg15 in Services --> Monit --> Settings --> Service Tests Settings and add it again with the same definition in the Web UI, its not in /usr/local/etc/monitrc anymore.

If I modify LoadAvg1 or LoadAvg5 in the Web UI, changes are written in /usr/local/etc/monitrc as expected.

But whatever I do, I cannot add LoadAvg15 in Web UI, so it would be written in /usr/local/etc/monitrc again.

As I deleted LoadAvg5, I had the same problem. After restoring opnsense configuration, LoadAvg5 was present again and was updated in /usr/local/etc/monitrc.

However, I cannot see any differences between LoadAvg1, LoadAvg5 and LoadAvg15 in the config export:

<test uuid="750c6df9-08d8-4311-b23d-61e1e57ac21c">
        <name>LoadAvg1</name>
        <type>SystemResource</type>
        <condition>loadavg (1min) is greater than 16</condition>
        <action>alert</action>
        <path/>
      </test>
      <test uuid="75e3ff07-7f52-49a1-8acd-a12a666efbbb">
        <name>LoadAvg5</name>
        <type>SystemResource</type>
        <condition>loadavg (5min) is greater than 12</condition>
        <action>alert</action>
        <path/>
      </test>
      <test uuid="08b75292-7e78-4284-b708-a0ee7d217977">
        <name>LoadAvg15</name>
        <type>SystemResource</type>
        <condition>loadavg (15min) is greater than 8</condition>
        <action>alert</action>
        <path/>
      </test>

How can I add LoadAvg15 in Web UI again, so its written to /usr/local/etc/monitrc? Unfortunately I do not have the backup anymore where LoadAvg15 worked ...

I tried to uninstall and install monit again on CLI, but this did not help.

Can anybody confirm the behaviour with monit?

Best regards
power13