Nagios Multi website hosting

Discuss new project and feature ideas here.
See labs.nagios.com for new projects under development.

Nagios Multi website hosting

Postby Sabre » Wed Aug 02, 2017 10:35 am

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

Re: Nagios Multi website hosting

Postby dwhitfield » Wed Aug 02, 2017 2:36 pm

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.
dwhitfield
Former Nagios Staff
 
Posts: 4575
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN

Re: Nagios Multi website hosting

Postby Sabre » Thu Aug 03, 2017 3:26 am

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

Re: Nagios Multi website hosting

Postby tmcdonald » Thu Aug 03, 2017 9:05 am

"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
tmcdonald
 
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Multi website hosting

Postby Sabre » Thu Aug 03, 2017 9:47 am

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

Re: Nagios Multi website hosting

Postby tmcdonald » Fri Aug 04, 2017 12:29 pm

We will leave this open for community contribution.
Former Nagios employee
tmcdonald
 
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am


Return to Nagios Ideas

Who is online

Users browsing this forum: No registered users and 0 guests