Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Changing Monit LIMITS
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing Monit LIMITS (Read 943 times)
Styx13
Newbie
Posts: 39
Karma: 6
Changing Monit LIMITS
«
on:
May 05, 2022, 05:53:22 pm »
Hello,
I am using Monit to check on various things, including the VPN connections to my system.
The script I use to check the VPN connection outputs the list of connections and all that get sent to me via email when changes occurs (so I know if something unexpected happens on the VPN side).
However, I noticed that the output I receive in the email is truncated.
Also, checking the monit status (both in the web interface of OPNsense and command line) , the output is trunctated as well.
I found out the reason: monit has a default limit of 512b for program outputs.
This limit can be changed (
https://mmonit.com/monit/documentation/monit.html#LIMITS
). However if I go and change it in the monitrc config file, it will get overwritten by OPNsense next time.
What is the proper way to set those monit LIMITS with OPNsense ? Is there a way to add a custom monit config file that can get appended or prepended to the generated monitrc ?
Thank you
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Changing Monit LIMITS