Authentication again. login via web all commands work, go direct to cmd.cgi and no access

Tory M Blue tmblue at gmail.com
Tue Aug 8 23:47:34 CEST 2006


Top posting.. Nevermind, can't believe I didn't catch it. The url does not
match a correct host, if I change the host=FQDN this command works fine, so
I must be doing something tweaking with aliases etc.

Thanks and by apology for reaching out, before seeing this

Tory

On 8/8/06, Tory M Blue <tmblue at gmail.com> wrote:
>
> I could of sworn I had this working but for some reason it's not working
> today.
>
> Scenario:
>
> login is qa, pass, web paints and I see only the qa systems (perfect), I
> can click on services, I can disable notifcations etc.etc.etc. So
> authentication and authorization appears to be working.
>
> Nothing special in my cgi.cfg file, qa is only setup in contacts and thus
> can see these hosts/services by default.
>
> Now, I have modified the outgoing alert to include a url to go to :
>
>
> http://host/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=qav01&service=Check_Disk
>
> This allows the groups to acknowledge their own alerts when they are
> messing around with their servers (QA/Dev etc)
>
> Now the above url comes up fine ( I login and authemticate as qa), but now
> I receive this error
>
> Sorry, but you are not authorized to commit the specified command.
> Read the section of the documentation that deals with authentication and
> authorization in the CGIs for more information.
>
> Ummm okay, when I login and do this command from the gui, no issues but
> when I issue the cmd.cgi command and authenticate directly i'm for some
> reason not authorized, doesn't seem right.
>
> Ideas?
> Thanks
> Tory
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060808/e82c3882/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list