Hello,
did you reload monit after the configuration was changed?:
monit reload
If not, monit daemon is still using original credentials, whereas the CLI
tries to login with new credentials.
Best regards,
Martin
> On 1 Feb 2017, at 14:06, Mohamed Sadok Ben Jazia
> <[email protected]> wrote:
>
> Hello list,
> I used monit to monitor processes on debian.
> I use this configuration that works
>
> set httpd port 2812 and
> use address 0.0.0.0
> allow 0.0.0.0/0.0.0.0 <http://0.0.0.0/0.0.0.0>
> allow monit:monit
>
> Then i needed to change the basic authentification password, i can use the
> new password in the admin web panel, but when i try monit tasks, "monit
> unmonitor all" for example, i get the following error:
> You are <b>not</b> authorized to access <i>monit</i>. Either you supplied the
> wrong credentials (e.g. bad password), or your browser doesn't understand how
> to supply the credentials required
>
> Any idea how to deal with this.
> Thank you
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general