Re: [Nagios-users] guest access

2007-07-30 Thread Sébastien Barbereau
Can't you just do this by playing with the apache and nagios configs?
I've done this in the past and it was not really a catch the only thing is
that you need
2 nagios configurations files: one serving the unauthenticated content with
no exec permissions,
one with the authenticated content with the exec permissions (this also
means that you need two set
of cgi scripts reading different nagios config files).

Other options is to not use apache native authentication but to create your
own apache auth module. This can be done
in perl using mod-perl or mod-python. In this case you setup a proper
authentication mechanism under apache with a default
guest user account to fallback if no proper auth is provided. This is
probably nicer and provides more flexibility but is probably more
complicated.
Some examples
of apache authentication modules:
perl: apache::authcookie (
http://search.cpan.org/~mschout/Apache-AuthCookie-3.10/lib/Apache2/AuthCookie.pm
)
python:
http://www.modpython.org/live/current/doc-html/tut-more-complicated.html
I've done some code on this here:
http://www.barbich.net/websvn/wsvn/nagios/nagios/doc/mod_apache_authentication/?rev=0sc=0


On 7/29/07, Paul Dugas [EMAIL PROTECTED] wrote:

 Been fiddling with this for a while now and am stumped.  I figure I'm
 not the first to want this so before I get a brain cramp I'll ask.

 I run a couple Nagios server on internal networks and I want internal
 users to get read access without having to log in.  I want a select
 number of users to be able to login and get higher level access.  I've
 been trying to get the HTTP interface default to the guest account and
 the HTTPS interface to require a login.  My admins and I would use the
 HTTPS interface while our customers would use the standard HTTP
 interface.

 Anybody got something like this going?  Perhaps something else that
 would accomplish the same?  Any info would be appreciated.

 pd
 --
 Paul Dugas, Computer EngineerDugas Enterprises, LLC
 [EMAIL PROTECTED]phone: 404-932-1355 522 Black Canyon Park
 http://dugas.ccfax: 866-751-6494 Canton, GA 30114 USA
 --
 This e-mail and any attachments are confidential.  If you receive
 this message in error or are not the intended recipient, you should
 not retain, distribute, disclose or use any of this information and
 you should destroy the e-mail and any attachments or copies.

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 Nagios-users mailing list
 Nagios-users@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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] guest access

2007-07-29 Thread Paul Dugas
Been fiddling with this for a while now and am stumped.  I figure I'm
not the first to want this so before I get a brain cramp I'll ask.  

I run a couple Nagios server on internal networks and I want internal
users to get read access without having to log in.  I want a select
number of users to be able to login and get higher level access.  I've
been trying to get the HTTP interface default to the guest account and
the HTTPS interface to require a login.  My admins and I would use the
HTTPS interface while our customers would use the standard HTTP
interface.  

Anybody got something like this going?  Perhaps something else that
would accomplish the same?  Any info would be appreciated.

pd
-- 
Paul Dugas, Computer EngineerDugas Enterprises, LLC
[EMAIL PROTECTED]phone: 404-932-1355 522 Black Canyon Park
http://dugas.ccfax: 866-751-6494 Canton, GA 30114 USA
--
This e-mail and any attachments are confidential.  If you receive
this message in error or are not the intended recipient, you should
not retain, distribute, disclose or use any of this information and
you should destroy the e-mail and any attachments or copies.


signature.asc
Description: This is a digitally signed message part
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] guest access

2007-07-29 Thread Andy Shellam (Mailing Lists)
Hi Paul,

Are you looking for your read-only users simply to see your host/service 
statuses without being able to do anything else?
If so, this is what Nagios Looking Glass was designed for, and as Nagios 
moves into v3.0, there are plans to possibly extend this functionality 
to do other stuff as well, like reporting, and a full management suite.

See www.nagioslookingglass.co.uk for more details and to get it.
Version 2 of Nagios Looking Glass (due for previews at the end of the 
year/early next year) will have a complete security model and management 
dashboard.

Regards

Andy

Paul Dugas wrote:
 Been fiddling with this for a while now and am stumped.  I figure I'm
 not the first to want this so before I get a brain cramp I'll ask.  

 I run a couple Nagios server on internal networks and I want internal
 users to get read access without having to log in.  I want a select
 number of users to be able to login and get higher level access.  I've
 been trying to get the HTTP interface default to the guest account and
 the HTTPS interface to require a login.  My admins and I would use the
 HTTPS interface while our customers would use the standard HTTP
 interface.  

 Anybody got something like this going?  Perhaps something else that
 would accomplish the same?  Any info would be appreciated.

 pd
   
 

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/

 !DSPAM:37,46acd2fb267728080321068!
   
 

 ___
 Nagios-users mailing list
 Nagios-users@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

 !DSPAM:37,46acd2fb267728080321068!
   


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@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