R: Nagios Logout?
Jon Adcock
AdcockJ at leoncountyfl.gov
Fri Oct 21 15:25:31 CEST 2011
Marco,
I tried this and it does work for me (Firefox 7.0.1 & IE 9).
I also tried a suggestion that I found online where you create a new directory <nagios path>/share/logout, copy the .htaccess file to that directory, add a blank htpassword.users file, a dummy index.html file, and I modified the nagios.conf file (Apache2 config) to look at these files. Both worked for me.
Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL 32301
Office: (850) 606-5518
adcockj at leoncountyfl.gov
>>> On 10/21/2011 at 5:03 AM, "Marco Borsani" <m.borsani at it.net> wrote:
I tried this, but does not go in the right way
-----Messaggio originale-----
Da: frank [mailto:ratty at they.org]
Inviato: venerdì 21 ottobre 2011 05:06
A: Nagios Users List
Oggetto: Re: [Nagios-users] Nagios Logout?
You could also try changing your URL manually to:
http://newusername@hostname/nagios/
A new http-auth prompt should pop up.
-f
On Fri, 21 Oct 2011, Anthony Hogan wrote:
> Date: Fri, 21 Oct 2011 11:04:14 +1100
> From: Anthony Hogan <anthony-nagios at hogan.id.au>
> Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
> To: Nagios Users List <nagios-users at lists.sourceforge.net>
> Subject: Re: [Nagios-users] Nagios Logout?
>
> Clearing your browser's login sessions (I believe some browsers allow
this).
>
> Alternatively, have a script within the nagios tree send an HTTP 401
> code with the same auth message/description, even though you're
> sending the correct password. You'll get prompted for a password again..
just click cancel.. then I think browser should have forgotten.
>
> When using HTTP basic authentication, you're not actually "logging in"
> as such, your browser is just automatically sending the username and
> password to the 401 prompts within the folder/tree you've authenticated
on.
>
> HTTP is a stateless protocol (which is why cookies etc. were bolted onto
the top of it).
>
> On Fri, Oct 21, 2011 at 10:23, Jon Adcock <AdcockJ at leoncountyfl.gov>
wrote:
> Once I am logged into a particular Nagios account (Apache2
account) and viewing
> the Nagios webpage, is there anyway to logout/log back into a
different account,
> short of closing the browser and re-opening it?
>
>
>
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning at Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111021/c4e20220/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpg
Size: 2261 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111021/c4e20220/attachment.jpg>
-------------- next part --------------
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning at Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
-------------- 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