Hi,

[email protected] wrote:
> This one works. I can use the classic CGI interface in my broswer. The state 
> information is written into the icinga database actually.
>    
That's fine.

Sorry for the inconvenience - the current git master of the docs is not 
yet uptodate regarding the given information on the icinga projects. 
I'll explain below.

> I also included the Icinga-API: 
> http://docs.icinga.org/latest/de/icinga-api.html
>    

this information is deprecated and will be replaced in 1.0.2 - the 
automated docs generation is currently on hold in order to prepare the 
latest docs for the relase.
please consider this issue for further information on the api docs: 
https://dev.icinga.org/issues/368

> Next thing to try is to get the new Icinga Web (directly from GIT, 
> 2010-06-23) working according to this link:
> http://docs.icinga.org/latest/de/icinga-web-scratch.html
>    
This is also not uptodate, tomorrow it will be. please refer to 
https://dev.icinga.org/issues/513

> When I come to section 5 it tells me to edit settings in 
> /usr/local/icinga-web/app/config/icinga.xml section appkit.factories to edit 
> some database relevant settings. But in my installation icinga.xml contains 
> no appkit.factories and no database parameters at all.
>    

There was a major core write on Icinga Web regarding the integration of 
modules. The web is handled now as a module too which causes the config 
locations to be changed. This will be described and updated in the 
upcoming docs too.

> The other steps described seem to be successfully finished. I have a 
> icinga_web database with some content and an icinga_web database user. I can 
> call the web frontend at http://localhost/icinga-web and get the login 
> screen. But when trying to login as root, it only tells me "Login failed". 
> The message in Apache's error log at this time is:
>
> [Mon Jun 28 15:03:17 2010] [error] [client 10.6.xx.xx] PHP Warning:  
> preg_match() [<a href='function.preg-match'>function.preg-match</a>]: 
> Compilation failed: unrecognized character after (? at offset 2 in 
> /usr/local/icinga-web/lib/agavi/src/util/AgaviDecimalFormatter.class.php on 
> line 715, referer: http://dunno4/icinga-web/
>    

This is a known issue on RHEL based distributions. RHEL ships with PCRE 
6.6 which is normally compiled into PHP 5.1.6 - Icinga Web requires at 
least PHP 5.2.3 and updated PCRE version >= 7.6. The reason for that can 
be found in the agavi framework using extensive regular expressions for 
checking user input.
There are bug reports and RHEL/CentOS tracker on updating PCRE (current 
version is 8.0.2, Debian uses 7.6) but since this is a major systems 
library, they insist on not changing that in the 5.x release.
You might consider get precompiled package of PHP and PCRE from

http://www.jasonlitka.com/category/yum-repo-news/

(use at your own risk). Over here, we compile and build PHP and PCRE ourselves 
on RHEL 5.5 since we require newer versions ourselves.

The upcoming docs will mention that too. Tomorrow at 12:00 GMT+1 Icinga 1.0.2 / 
Icinga Web 1.0.1 will be released.

Kind regards,
Michael

-- 
DI (FH) Michael Friedrich
[email protected]
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to