OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: bucker00 on July 01, 2026, 11:09:47 PM

Title: Monit - Service restarting options no longer valid in 26.1.11
Post by: bucker00 on July 01, 2026, 11:09:47 PM
I've had Monit set up to watch Unbound forever and restart it if something happens.
I'd also like to get this going for the new Cloudflared plugin (you guys rock btw).

The Start and Stop commands no longer accept spaces - it used to.
The command for Start stored is '/usr/local/sbin/pluginctl -s unbound start' but trying to save this now returns 'Text may not contain spaces or tabs.' and the options do not save.   

Edit: The Service Tests section also now disallows spaces where they were previously allowed - in both the Name and Condition fields.  This renders pretty much any condition invalid.

Title: Re: Monit - Service restarting options no longer valid in 26.1.11
Post by: franco on July 02, 2026, 07:33:37 AM
Hi,

I agree about what you said except for name, but maybe I'm missing something:

https://github.com/opnsense/core/blob/10a27499b31770521cfda524d1efecb2eb3fb3f1/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml#L185

# opnsense-patch https://github.com/opnsense/core/commit/b86fb9946

Unfortunately, the security design of monit is non-existent and in hindsight it should have never have been merged to core.


Cheers,
Franco