Authentication problem
Sand Philipp
Philipp.Sand at sycor.de
Mon Jul 19 11:09:11 CEST 2004
In Nagios 2.0 by default you can only see Services/Hosts in which
you're defined as contact.
In cgi.cfg you can edit those lines:
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin
To have an "allmighty" user.
- Philipp
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> Of John Lange
> Sent: Saturday, July 17, 2004 9:22 PM
> To: nagious-users
> Subject: [Nagios-users] Authentication problem
>
> I'm trying out Nagios v2.0a1 and I am having a problem with
> authentication.
>
> I've setup Nagios based on a 1.2 version I had installed previously.
> Everything seems to be good with nagios itself, it is
> checking hosts and sending notifications etc.
>
> When I browse to nagios I get the login box and I
> authenticate normally.
> So far so good. Problem is nagios keeps telling me that I'm
> not authorized to see any information.
>
> The upper left corner says "Logged in as ?".
>
> I've gone up and down through the docs for authentication
> (which appear to be unchanged from 1.2) and I can't find
> anything wrong.
>
> In cgi.cfg I have:
>
> use_authentication=1
>
> and I have tried the various:
>
> authorized_for_xxxx settings as "*", specific username, and
> even commented out, all to no avail.
>
> I assume that nagios isn't picking up the fact that I've
> logged in for some reason and thats the root of the problem.
> Perhaps there is a new setting in 2.0 which I need to enable
> in order to have nagios realize I logged in?
>
> Thanks for any help.
>
> --
> John Lange
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> 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
>
************************************************
sycor plastics - die neue Branchenlösung für die Kunststoffindustrie
www.sycor-plastics.de
************************************************
Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.
This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
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