Monday, November 24th 2014, 5:44am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

rsync

Beginner

Posts: 5

Number of monitoring servers: 1

Nagios Version: 3.2

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 150

Number of services: 1000

OS: SuSe

Plugin Version: 2

NDO Version: 1

1

Thursday, May 26th 2011, 2:51am

Nagvis Login using Windows AD/LDAP Authentication

Hi everyone,

I am currently using the default login page of Nagvis (customized the logo to make it more 'ours'), and the authentication set to the default SQLite. My plan is to change the authentication mode to use Windows AD/LDAP instead of the default, and in the near future, use single-sign on authentication. I understand that this can be done using the Apache authentication but the users would like to see the login page instead of a gray box so now I am stuck to changing the authentication WHILE retaining the pretty login page. However, I am now at a dead-end. The Nagvis documentation says that the authentication and authorisation modules, and quote:

"It is possible to add own authentication modules for supporting other authentication mechanism. For details have a look at the authentication module documentation."

Following the link to where the answer lies, the page was empty. Searched through the docs in the installer still leads to nowhere. So here are my questions:

1) Has anyone tried using AD or LDAP authentication in Nagvis and succeeded in doing so?
2) What is the difference between Authentication and Authorisation? (The documentation that I read did not differentiate the two).
3) Why is the doc page blank?
Finally, 4) Where can I get more information on how to change the authentication mode of Nagvis?

Thanks to all in advance! :)

LaMi

Geek

Posts: 3,888

Birthday: Sep 22nd

Gender: male

Location: München

Occupation: Berater / Entwickler

Number of monitoring servers: x

Nagios Version: 3.2.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: x

Number of services: x

OS: SLES,CentOS,Debian

Plugin Version: x

NagVis Version: Git

NDO Version: -

IDO-Version: -

Perfparse Version: -

Other Addons: PNP, Check_MK, Livestatus, Multisite

2

Thursday, May 26th 2011, 10:32pm

Quoted

1) Has anyone tried using AD or LDAP authentication in Nagvis and succeeded in doing so?


Yes, using the apache module mod_auth_ldap.

Quoted

2) What is the difference between Authentication and Authorisation? (The documentation that I read did not differentiate the two).


Nothing NagVis special here. Consider asking google.

Quoted

3) Why is the doc page blank?


Screenshot please?

Quoted

4) Where can I get more information on how to change the authentication mode of Nagvis?


The official docs or the code are best sources for these information.

Regards,
Lars

rsync

Beginner

Posts: 5

Number of monitoring servers: 1

Nagios Version: 3.2

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 150

Number of services: 1000

OS: SuSe

Plugin Version: 2

NDO Version: 1

3

Friday, May 27th 2011, 10:15am

Hi Lars,
Yes, using the apache module mod_auth_ldap.
If I use the Apache module, will I still be able to get the login page (and not the gray box that pops-out)? As I understand the config file, the pretty login page gets disabled once I use the Apache module instead of the default SQLite module. I have attached a screenie of the pretty login page I am talking about.

Screenshot please?
Hmm.. Screenshot is unnecessary, I think. Just follow this link and let me know if you also get a blank page.


The official docs or the code are best sources for these information.
But the docs are empty (unless I am seeing differently. If that is the case, I am blaming my browser).
rsync has attached the following image:
  • screenshot.2431.jpg

LaMi

Geek

Posts: 3,888

Birthday: Sep 22nd

Gender: male

Location: München

Occupation: Berater / Entwickler

Number of monitoring servers: x

Nagios Version: 3.2.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: x

Number of services: x

OS: SLES,CentOS,Debian

Plugin Version: x

NagVis Version: Git

NDO Version: -

IDO-Version: -

Perfparse Version: -

Other Addons: PNP, Check_MK, Livestatus, Multisite

4

Monday, May 30th 2011, 8:53pm

Quoted

If I use the Apache module, will I still be able to get the login page (and not the gray box that pops-out)? As I understand the config file, the pretty login page gets disabled once I use the Apache module instead of the default SQLite module. I have attached a screenie of the pretty login page I am talking about.


When using auth modules in apache the modules will ask for the credentials using browser native user/password dialogs. Once authed the REMOTE_USER env var is filled.
If using LogonMixed (default) NagVis uses the username from the env var REMOTE_USER once set. If none is set it displays the logon dialog defined in LogonDialog.


Quoted

Hmm.. Screenshot is unnecessary, I think. Just follow this link and let me know if you also get a blank page.


Ok. Got it. Check out the 1.6 docs for more details: http://docs.nagvis.org/1.6/en_US/index.html

Similar threads