Single Nagios with two web interfaces

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eric_draven
Posts: 7
Joined: Wed May 29, 2013 8:26 am

Single Nagios with two web interfaces

Post by eric_draven »

Hi guys,
I already have an installation of Nagios Core, with some monitored hosts and services (I reach the UI to the http://localhost/nagios3).
Now I would like to add other hosts in a different view of the web interface (for example: http//localhost/nagios_mod) in which I can see only these new hosts (as it was a second installation of Nagios).

In summary, I would like to have a single installation of Nagios and have two web interfaces (with different hosts between the two views).
Is it possibile?

Thank you in advance!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Single Nagios with two web interfaces

Post by abrist »

Not easily, that is for sure. Two, fully separate, concurrent core installs is possible, but will be a pain in the rear to set up and maintain. What is the use case here? I would usually suggest making users with limited views based on what objects they are a contact of.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
eric_draven
Posts: 7
Joined: Wed May 29, 2013 8:26 am

Re: Single Nagios with two web interfaces

Post by eric_draven »

Yes, you are right.
Now I try to create a new user and obtain in this way two different views.

Could you please explain the whole procedure to create new user and give him the the permissions only for some hosts and services?
I have already searched for this kind of guide but I haven't understood so much.

Sorry for these answers but I am new to Nagios.

Thank you again
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Single Nagios with two web interfaces

Post by abrist »

I will start you out with the official documentation for core users/contacts and authentication. Read this link over and then lets dig into your questions.
http://nagios.sourceforge.net/docs/3_0/cgiauth.html
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
eric_draven
Posts: 7
Joined: Wed May 29, 2013 8:26 am

Re: Single Nagios with two web interfaces

Post by eric_draven »

That's ok, it works!
Thank you very much!!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Single Nagios with two web interfaces

Post by tmcdonald »

Glad to see things worked out for you, eric_draven. If you need anything else please feel free to open another thread. I will be closing this one now.
Former Nagios employee
Locked