OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Mks on August 29, 2020, 03:20:19 PM

Title: Monit General settings: Username (numbers only) not accepted
Post by: Mks on August 29, 2020, 03:20:19 PM
Hi,

I discovered a possible bug in Monit.
The username within settings must consist of at least some characters, a username consisting only of numbers is not accepted (Syntax error within log).

br

Title: Re: Monit General settings: Username (numbers only) not accepted
Post by: Fright on August 29, 2020, 04:30:14 PM
confirm. reproduced
https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/Monit/monitrc
password placed in quotes
username - without quotes
probably this is the reason
Title: Re: Monit General settings: Username (numbers only) not accepted
Post by: Mks on September 12, 2020, 11:37:02 AM
Hi,

thanks, got it. Just put the Username in quotes and it works.

br