Sunday, May 19th 2013, 7:14pm UTC+2

You are not logged in.

  • Login
  • Register

nillzle

Beginner

Posts: 5

Number of monitoring servers: 2

Nagios Version: Icinga 1.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 220

Number of services: 1000

OS: Ubuntu

Plugin Version: 1.4.15

NDO Version: 2

1

Wednesday, July 27th 2011, 5:00pm

Change Default URL Path for Icinga

Sorry ahead of time, I'm pretty familiar with Icinga but not Apache. I'm looking to set the default URL for Icinga from http://IP-ADDRESS/icinga/index.html to http://IP-ADDRESS/. If you currently browse to http://IP-ADDRESS/ you get "It Works" and would be nice if it was the homepage for Icinga. Just hard to remember the full index.html path.

Thanks for the help!

dnsmichi

Super Moderator

Posts: 5,976

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

2

Wednesday, July 27th 2011, 8:11pm

edit the apache config and the cgi.cfg and reload your webserver
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

nillzle

Beginner

Posts: 5

Number of monitoring servers: 2

Nagios Version: Icinga 1.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 220

Number of services: 1000

OS: Ubuntu

Plugin Version: 1.4.15

NDO Version: 2

3

Wednesday, July 27th 2011, 8:43pm

I kind of got that far...I see the "url_html_path" is set to /icinga and I'd assume taking that out and leaving it blank would facilitate the removal of /icinga/ in the URL but the apache2.conf file doesn't really explain what I would need to edit to achieve the URL redirect.

Could I get a bit more explanation on what you mean perchance?

dnsmichi

Super Moderator

Posts: 5,976

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

4

Wednesday, July 27th 2011, 10:51pm

the 2 alias directives. that's plain apache config syntax as you might figure with various howtos.

and besides - if you mean a redirect instead of the / itsself all over, implemented a redirectmatch (see apache config docs).
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Similar threads