Nagios Multi website hosting

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
Sabre
Posts: 3
Joined: Wed Aug 02, 2017 10:29 am

Nagios Multi website hosting

Post by Sabre »

We have an AWS instance, where we have installed Nagios Core and we want to host multiple monitoring for different set of hosts and services. For example, when we type: https://nagiosdev1.com/nagios_test1/ it should direct to one set of host groups, and https://nagiosdev1.com/nagios_test2/ it should direct to another set of host groups.
Test2 is cloned from Test1, and both web-pages are working,but they do not show their independent host groups. We modified all host groups in Test2 and they are different from Test1. At server level, we have specifically mentioned what host groups both should contain, but the GUI part for Test2 are showing the hosts of Test1. If we make any changes on Test1, it is getting replicated on Test2. But any changes on Test2 doesn't show up.

Test1
Image
Test2
Image

Code: Select all

[aghosh@nagiosdev apt]$ cd /usr/local/nagios
test1/      test2/
[aghosh@nagiosdev apt]$ pwd
/usr/local/test2/etc/apt
[aghosh@nagiosdev apt]$ ls | wc -l 1
[aghosh@nagiosdev apt]$ pwd
/usr/local/test1/etc/apt
[aghosh@nagiosdev apt]$ ls | wc -l 25
As you can see, Test2 has only 1 host group, while Test1 has 25.

The whole point being, one site will be holding production host groups and other site will be hosting non-prod host groups.

Anyone got ideas?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios Multi website hosting

Post by dwhitfield »

Why not just set up the hostgroups and then use direct links to the host groups? It would look like http://nagiosdev1.com/nagios/cgi-bin/st ... yle=detail

Alternatively, why not just set up two nagios core servers and have them completely separate?

You could probably get things going the way you want, and there may be some community members that want to help out, but our support team isn't really equipped to do custom mods for people.
Sabre
Posts: 3
Joined: Wed Aug 02, 2017 10:29 am

Re: Nagios Multi website hosting

Post by Sabre »

I understand your point of view, However, where do I contact the 'community' since the 'support folks' are not equipped with custom mods assistance? Will it be the same sub-forum or something else?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Multi website hosting

Post by tmcdonald »

"The community" largely refers to this forum, however our support staff regularly patrol it as well to answer questions. To clarify, it's not so much that we are "not equipped" as it is that custom mods would fall under paid custom development, and is not something we generally do for free.
Former Nagios employee
Sabre
Posts: 3
Joined: Wed Aug 02, 2017 10:29 am

Re: Nagios Multi website hosting

Post by Sabre »

tmcdonald wrote:"The community" largely refers to this forum, however our support staff regularly patrol it as well to answer questions. To clarify, it's not so much that we are "not equipped" as it is that custom mods would fall under paid custom development, and is not something we generally do for free.
Ahh ok, now I get the point. Though it will be great if any of the community members can give some insight.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Multi website hosting

Post by tmcdonald »

We will leave this open for community contribution.
Former Nagios employee
Locked