I think I have solved this now and the answer was in my original question:

“We have tried deleting conf files from /omd/sites/[SITE]/etc/apache/conf.d/ 
e.g. icinga.conf but we could still see some of the Icinga site after we’d done 
this – apache must have still been serving some static content from somewhere.”

This approach does work but either I didn’t restart my site after making the 
change or my browser was doing some weird caching of frames/framesets I think. 
I now understand that there is one main apache process that acts as a proxy for 
all the other sites. Restarting that (service httpd restart) has no effect on 
the sites so I could not see my changes. The sites need their own apache 
instances restarted using the omd command – seems obvious now.

In summary if you just want the check_mk interface and pnp4nagios for graphing 
then delete or rename the following:

/omd/sites/[SITE]/etc/apache/conf.d/dokuwiki.conf
/omd/sites/[SITE]/etc/apache/conf.d/icinga.conf
/omd/sites/[SITE]/etc/apache/conf.d/nagios.conf
/omd/sites/[SITE]/etc/apache/conf.d/nagvis.conf
/omd/sites/[SITE]/etc/apache/conf.d/site.conf
/omd/sites/[SITE]/etc/apache/conf.d/thruk.conf
/omd/sites/[SITE]/etc/apache/conf.d/var_www.conf

You need to leave omd.conf as it is so that you can use omd config to redirect 
people automatically to the check_mk URL when they arrive at 
http://[server]/[site]/<http://[server]/%5bsite%5d/>. To do this and apply the 
changes above stop your site:

omd stop

Configure the site; select Web GUI->Default GUI->check_MK:

omd configure

Start it back up:

omd start

This will reload the site and now the extraneous UIs will be unreachable.


From: May,Allen [mailto:[email protected]]
Sent: 27 August 2014 17:41
To: Jason Humes; Ian Cross; [email protected]
Subject: RE: Disable all web GUIs except Check_MK

Here’s a good starting point if you installed via OMD.

/omd/sites/<sitename>/share/omd/htdocs/index.py

omd config can also change the default start page if you want to just force 
them into one.



From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Jason Humes
Sent: Wednesday, August 27, 2014 9:47 AM
To: Ian Cross; 
[email protected]<mailto:[email protected]>
Subject: Re: [omd-users] Disable all web GUIs except Check_MK

Hi
Was there ever an answer for this?  We too only use multisite GUI and would 
love to disable any extra overhead of these other systems.

Thanks


Jason

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Ian Cross
Sent: Thursday, August 21, 2014 6:20 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [omd-users] Disable all web GUIs except Check_MK

Hi,

We’d like to disable the other web GUIs in OMD as we don’t wish to 
maintain/configure them or field queries from users about them. Is there a way 
to do this? We have already selected the default GUI on “omd config” but want 
to be sure the other sites are completely unreachable.

We have tried deleting conf files from /omd/sites/[SITE]/etc/apache/conf.d/ 
e.g. icinga.conf but we could still see some of the Icinga site after we’d done 
this – apache must have still been serving some static content from somewhere.

Thanks,

Ian
________________________________
---------------------------------------------------------------------------
The information transmitted in this e-mail and in any replies and forwards are 
for the sole use of the above individual(s) or entities and may contain 
proprietary, privileged and/or highly confidential information. Any 
unauthorized dissemination, review, distribution or copying of these 
communications is strictly prohibited. If this e-mail has been transmitted to 
you in error, please notify and return the original message to the sender 
immediately at the above listed address. Thank you for your cooperation.
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to