[icinga-devel] icinga-web:

Tobias von der Krone linux at vdkrone.de
Fri Nov 6 09:29:08 CET 2009


Hi,

I installed icinga RC1 and tested the new web interface (both, from the 
icinga RC1 and from git). When the "Log" iframe is reloading following 
is in the httpd log error log:

[Fri Nov 06 09:06:23 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  appkit.cache.default in 
/var/www/icinga-web-git/lib/appkit/cache/AppKitCache.class.php on line 
63, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:23 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  appkit.cache.default in 
/var/www/icinga-web-git/lib/appkit/cache/AppKitCache.class.php on line 
67, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:23 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  persistent in 
/var/www/icinga-web-git/lib/icinga-api/objects/connection/IcingaApiConnectionDatabase.php 
on line 143, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:23 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  appkit.cache.autoloader in 
/var/www/icinga-web-git/lib/appkit/cache/AppKitCache.class.php on line 
63, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:23 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  appkit.cache.autoloader in 
/var/www/icinga-web-git/lib/appkit/cache/AppKitCache.class.php on line 
67, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:23 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  parameter in 
/var/www/icinga-web-git/lib/appkit/event/AppKitEventDispatcher.class.php 
on line 17, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 350, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined variable: fieldDefaultMatches in 
/var/www/icinga-web-git/lib/icinga-api/objects/search/IcingaApiSearchIdo.php 
on line 444, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined variable: fieldDefaultMatches in 
/var/www/icinga-web-git/lib/icinga-api/objects/search/IcingaApiSearchIdo.php 
on line 444, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined index:  additional_fields in 
/var/www/icinga-web-git/app/modules/Web/lib/icinga/template/IcingaTemplateWorker.class.php 
on line 169, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined variable: fieldDefaultMatches in 
/var/www/icinga-web-git/lib/icinga-api/objects/search/IcingaApiSearchIdo.php 
on line 444, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/
[Fri Nov 06 09:06:24 2009] [error] [client 9.152.254.177] PHP Notice:  
Undefined variable: fieldDefaultMatches in 
/var/www/icinga-web-git/lib/icinga-api/objects/search/IcingaApiSearchIdo.php 
on line 444, referer: https://bbclmon01.boeblingen.de.ibm.com/icinga-web/



I configured apache not the same way it is in the installation doc. My 
configurations looks:

Alias /icinga-web "/var/www/icinga-web-git/pub"

        <Directory /var/www/icinga-web-git/pub>
                Options -MultiViews -Indexes +FollowSymLinks
                AllowOverride none
                Order allow,deny
                Allow from all
                AuthName 'Enter your IBM Intrant ID for Icinga Access:'
                AuthType Basic
                AuthzLDAPAuthoritative Off
                AuthGroupFile "/usr/share/icinga/.htpasswd-group"
                AuthBasicProvider ldap
                require group IcingaUsers
                AuthLDAPUrl 
ldaps://bluepages.ibm.com/ou=bluepages,o=ibm.com?mail

                <IfModule mod_rewrite.c>
                        RewriteEngine On
                        #RewriteBase /
       
                        # If the requested URL does not exist (it's 
likely an agavi route),
                        # pass it as path info to index.php, the Agavi 
dispatch script.
                        RewriteRule ^$ 
https://bbclmon01.boeblingen.de.ibm.com/icinga-web/index.php?/ [QSA,L]
                        #RewriteRule ^$ index.php?/ [QSA,L]
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteCond %{REQUEST_FILENAME} !-d
                        #RewriteRule (.*) index.php?/$1 [QSA,L]
                        RewriteRule (.*) 
https://bbclmon01.boeblingen.de.ibm.com/icinga-web/index.php?/$1 [QSA,L]
                        RewriteRule /icinga-web/(.*)    
https://bbclmon01.boeblingen.de.ibm.com/icinga-web/index.php?/$1 [QSA,L]
                </IfModule>

        </Directory>

    # deny something!
        <Location />
                Options -MultiViews -Indexes +FollowSymLinks
                Order allow,deny
                Allow from all
        </Location>

        # JS frameworks
        Alias /js/yui               /var/www/icinga-web-git/lib/yui
        Alias /js/swfobject         /var/www/icinga-web-git/lib/swfobject
        Alias /js/mootools          /var/www/icinga-web-git/lib/mootools
        Alias /js/jquery            /var/www/icinga-web-git/lib/jquery
        Alias /js/appkit            /var/www/icinga-web-git/lib/appkit/js
        Alias /js/gc-prettify       /var/www/icinga-web-git/lib/gc-prettify
        Alias /js/firebug           /var/www/icinga-web-git/lib/firebug
        Alias /js/ext3              /var/www/icinga-web-git/lib/ext3

    # Flash frameworks
        Alias /flash/flexchart      /var/www/icinga-web-git/lib/flexchart

        <IfDefine APACHE2>
                AcceptPathInfo On
        </IfDefine>



Icinga is running on a RHEL5.4 with php from centos testing:

# rpm -qa|grep php
php-gd-5.2.9-2.el5.centos
php-pear-1.5.1-2.el5s2
php-5.2.9-2.el5.centos
php-devel-5.2.9-2.el5.centos
php-xmlrpc-5.2.9-2.el5.centos
php-cli-5.2.9-2.el5.centos
php-ldap-5.2.9-2.el5.centos
php-soap-5.2.9-2.el5.centos
php-common-5.2.9-2.el5.centos
php-xml-5.2.9-2.el5.centos
php-pdo-5.2.9-2.el5.centos
php-mysql-5.2.9-2.el5.centos


Maybe someone can give me a hint, if it is a configuration error.

Bye Tobias




More information about the icinga-devel mailing list