Hi Ali,

Hate to state the obvious here but the config you have posted is for the
web interface only as far as i know you still have to execute any shell
commands to monit with root access.

regards

Wayne

On 9 January 2012 15:30, Ali Jelveh <[email protected]> wrote:

> hey!
>
> we have just updated to 5.3.2 and turned on pam auth, now using the web
> interface everything works perfectly, on the shell however all commands
> fail:
>
> protonet@ubuntu:/tmp/foobar$ /usr/sbin/monit -c
> /home/protonet/dashboard/shared/config/monit_ptn_node -l
> /home/protonet/dashboard/shared/log/monit.log -p
> /home/protonet/dashboard/shared/pids/monit.pid status
> monit: cannot read status from the monit daemon
>
> and
>
> protonet@ubuntu:/tmp/foobar$ /usr/sbin/monit -c
> /home/protonet/dashboard/shared/config/monit_ptn_node -l
> /home/protonet/dashboard/shared/log/monit.log -p
> /home/protonet/dashboard/shared/pids/monit.pid start all
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
> monit: action failed -- 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 sup
>
> relvant config with some of my tries to make it work:
>
> set httpd port 2812
>    use address 127.0.0.1
>    allow @admin
>    allow @protonet
>    allow localhost
>    allow 127.0.0.1
>
> any ideas on how to make this work? the user calling the script belongs to
> the groups defined in the config.
>
> Thanks! Ali
>
>
> http://protonet.info
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to