@@ -0,0 +1,18 @@
+--- config.php.orig 2011-08-01 09:34:03.116367070 +0200
++++ config.php 2011-08-01 09:34:46.306633377 +0200
+@@ -92,12 +92,12 @@
+ //$SUDO_PARAM = "";
+ $CMD_FILE = "/usr/local/nagios/var/rw/nagios.cmd";
+ //$CMD_FILE = "/var/lib/icinga/rw/icinga.cmd";
+-$LINK = "http://".$BACKEND."/cgi-bin/extinfo.cgi";
+-$LOG = "http://".$BACKEND."/cgi-bin/showlog.cgi";
++$LINK = "http://" . $_SERVER['HTTP_HOST']. "/" .$BACKEND."/cgi-bin/extinfo.cgi";
++$LOG = "http://" . $_SERVER['HTTP_HOST']. "/" .$BACKEND."/cgi-bin/showlog.cgi";
+
+ /* SHOW GRPAH FROM EXTERNAL SOURCE ON STATUS */
+ $GRAPH_STATUS = array(
+- 'target' => 'http://'.$BACKEND.'/cgi-bin/trends.cgi?createimage&backtrack=4&zoom=4',
++ 'target' => 'http://' . $_SERVER['HTTP_HOST']. '/' .$BACKEND.'/cgi-bin/trends.cgi?createimage&backtrack=4&zoom=4',
+ 'p_host' => 'host',
+ 'p_svc' => 'service',
+ 'host_is_ping' => false
|