Icinga Web is the new fontend to the Icinga the Nagios fork http://icinga.org Reproducible: Always
Created attachment 242497 [details] icinga-web-1.0.1.ebuild
Created attachment 242499 [details, diff] modules.xml.patch
Created attachment 242501 [details] mysql.sql
Attached you find the ebuild itself and the patch for the API and a dump for creating the tables in the icinga-web Database feel free to test
Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Thanks, On behalf of the Gentoo Sunrise Team, [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 250761 [details] icinga-web-1.2.0.ebuild icinga-web-1.2.0.ebuild
Created attachment 250763 [details, diff] icinga-enable-api.patch icinga-enable-api.patch
Created attachment 250765 [details, diff] icinga-cmd-file.patch icinga-cmd-file.patch
Created attachment 250767 [details] icinga-web-9999-r1.ebuild icinga-web-9999-r1.ebuild (icinga web from git with some changes which will added in the next 1.2.0
Created attachment 251939 [details] icinga-web-1.2.1.ebuild
version bump and added some fixes / features
php needs to have USE="pdo", at least to work with mysql. Now i'm stuck with a white page and an error 500: 2010-11-02 14:22:00: (mod_fastcgi.c.2711) FastCGI-stderr: PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
Created attachment 252903 [details] icinga-web-1.2.1-r1.ebuild
(In reply to comment #12) > php needs to have USE="pdo", at least to work with mysql. > > Now i'm stuck with a white page and an error 500: > 2010-11-02 14:22:00: (mod_fastcgi.c.2711) FastCGI-stderr: PHP Fatal error: > Exception thrown without a stack frame in Unknown on line 0 > The new PHP does (5.3)
i modified the depencies now to the requirements of icinga-web please test the new ebuild. also try to make a ebuild icinga-web-1.2.1-r1.ebuild install and go to the workdir and make testdeps and paste the output in here for the error 500 please take a look at the application log ( they're lying under /usr/share/icinga-web/app/data/log) and feel free to file a bug at dev.icinga.org or drop by at the icinga-users@list.sourceforge.net
(In reply to comment #15) > for the error 500 please take a look at the application log ( they're lying > under /usr/share/icinga-web/app/data/log) There shouldn't be logs placed there, something in /var/log fits much better!
-DEPEND="dev-lany/php[pdo,mysql,xml,session,tokenizer] +DEPEND="dev-lang/php[pdo,mysql,xml,session,tokenizer] - dev-php5/pear + dev-php/pear I needed to give write permissions on the log folder to get rid of the error 500. The site shows up now, but has a slight problem with css and stuff! I just added a new alias.url withing lighttpd_icinga.conf like: "/icinga-web" =>"/usr/share/icinga/icinga-web" So the URL is now http://servername/icinga-web/pub. Is this how it should be done? Because the source of the Page shows <style type="text/css"> @import url("/icinga-web/js/ext3/resources/css/ext-all-notheme.css"); @import url("/icinga-web/js/ext3/resources/css/xtheme-gray.css"); @import url("/icinga-web/js/ext3/examples/ux/css/ux-all.css"); @import url("/icinga-web/styles/icinga.css"); @import url("/icinga-web/styles/icinga-icons.css"); @import url("/icinga-web/styles/statusmap.css"); </style> And it should rather be /icinga-web/lib/ext3 and /icinga-web/pub/styles.
Today, I've tried to install the icinga-web application into my htdocs directory. Unfortunately, webapp-config was not installed on my system, so I think that you should add app-admin/webapp-config to the dependencies.
(In reply to comment #18) > Today, I've tried to install the icinga-web application into my htdocs > directory. Unfortunately, webapp-config was not installed on my system, so I > think that you should add app-admin/webapp-config to the dependencies. > Sorry about the last message, just saw that this isn't an ebuild with vhost-support. But it would be nice ;)
Should *any* webapp ebuild not be crafted to work with with webapp-config?
Created attachment 262761 [details] icinga-web-1.3.0.ebuild icinga-web-1.3.0.ebuild
version bump and fix for the cmd file
Created attachment 268605 [details] version bump to 1.3.1
So what is this ebuild depending on? I assume bug 271339. I have yet to receive an answer on what that bug is waiting on though :|
What's holding up your icinga ebuilds you mean? Small stuff, I suppose. This one however is just absolutely bare-bones. It needs a lot of digging around to get it to work.
Created attachment 272839 [details] icinga-web-1.4.0.ebuild Version Bump to 1.4.0
Created attachment 284483 [details] icinga-1.5.0.ebuild removed the logdir sed and added --with-log-dir=/var/log/icinga Tested amd64
(In reply to comment #27) > Created attachment 284483 [details] > icinga-1.5.0.ebuild > > removed the logdir sed and added --with-log-dir=/var/log/icinga > > Tested amd64 Added this to the wrong bug :|
Created attachment 285771 [details] icinga-web-1.5.1.ebuild Here is the ebuild for the version 1.5.1 of icinga-web. Unfortunately, there are some bugs in this version, but they are independent of the ebuild. Have fun!
Created attachment 285773 [details, diff] fix_destinations_in_makefiles-1.5.1.patch This patch corrects three bugs in the makefiles of icinga-web-1.5.1. The patch is mandatory to get the ebuild for 1.5.1 to work.
Created attachment 287007 [details] Version bump to version 1.5.2 The fix_destinations_in_makefiles patch was upplied by the icinga developers in upstream. This is the new ebuild for icinga-web-1.5.2
Created attachment 299239 [details] icinga-web-1.6.1.ebuild New ebuild for icinga-web-1.6.1 Have fun ;-)
(In reply to comment #32) > Created attachment 299239 [details] > icinga-web-1.6.1.ebuild > > New ebuild for icinga-web-1.6.1 > > Have fun ;-) -> grep -A2 "02 Dec 2011;" /usr/portage/net-analyzer/icinga/ChangeLog 02 Dec 2011; mthode <mthode@gentoo.org> +icinga-1.6.1.ebuild, files/icinga-init.d-2, files/icinga-apache.conf: moved /var/icinga to /var/lib/icinga; init updated to remove redundant config maybe a little changes needed here? -> grep "localstat" icinga-web-1.6.1.ebuild --localstatedir=/var/lib/icinga \
Created attachment 303069 [details] icinga-web-1.6.1-r1.ebuild Changed the localstatdir in the ebuild. There is a new useflag called "pnp". If you activate it, the cronk extensions for the PNP integration will be installed. All the logfiles are now written to /var/log/icinga-web/ Enjoy ;-)
Created attachment 304631 [details] icinga-web-1.6.2.ebuild Ebuild for icinga-web-1.6.2
Created attachment 316951 [details] icinga-web-1.7.1.ebuild New ebuild for icinga-web-1.7.1 Works flawlessly in my environment, please test it.
Created attachment 316953 [details, diff] icinga-web-1.7.1-disable-compression.patch This patch disables the compression of java script files per default. (According to https://dev.icinga.org/issues/2660)
don't think icinga is required to be installed on the same host, also, forcing apache and mysql may not be best, working on a fix (simply removed the icinga dep though)
I've updated the ebuild and tested it, worksforme. Could you test from my overlay please before I add it to tree? layman -a prometheanfire http://git.overlays.gentoo.org/gitweb/?p=dev/prometheanfire.git;a=tree
(In reply to comment #39) > I've updated the ebuild and tested it, worksforme. Could you test from my > overlay please before I add it to tree? > > layman -a prometheanfire > > http://git.overlays.gentoo.org/gitweb/?p=dev/prometheanfire.git;a=tree worksforme too. ~amd64. One small comment, in the output at the end you don't put in any -p to mysql to ask for the password which probably isn't going to stump anyone for too long but is in the Icinga upstream docs (which are badly broken in other ways!) Nice work - thank you.
added 1.7.1 to tree :D