I have taken many hours to complete a working install of Centreon 2.1.3 Attached are the ebuild and supporting files based on the current repository. NOTE: Version 1 cannot be upgraded to Version 2. Reproducible: Always
Created attachment 212035 [details] Base ebuild
Created attachment 212036 [details] Cron file for centreon v2
Created attachment 212037 [details] Install Config file for the web interface
Created attachment 212039 [details] Daemon script
Created attachment 212048 [details] Daemon script Updated init script. Looks at PIDs to start and stop correctly.
there are no patches needed for this version? i remember that it took me several days to patch some FHS sanity into centreon. if it is indeed simpler to handle now, i would even update the ebuilds although i do not use centreon anymore.
(In reply to comment #6) > there are no patches needed for this version? i remember that it took me > several days to patch some FHS sanity into centreon. if it is indeed simpler to > handle now, i would even update the ebuilds although i do not use centreon > anymore. > The ebuild was based on the current revision in portage. Lots of sed magic is used as it was in the previous version. Only the pre-packaged Smarty had to be truly removed and FHS'd from 3 php files. Everything else uses the @VAR@ with no root on it so sed works wonders. The package "installer" does the same thing. The attached initial-installconf.php is the only other thing the "installer" creates. The only thing I was not sure of was the multiple scripts (from the bin dir of the archive) for the daemons. They currently go into /usr/sbin. Feel free to tweak as needed, but most of the work should be done.
works fine with 2.1.9, and 2.2.2 as well! Thanks a lot :)
I have found an error in /usr/share/centreon/cron/centreonPurge.sh It tries to start/stop centstorage, which does not exist anymore (it's integrated into the centreon init script). I changed it to centreon on my system, seems to work fine :)
The package is not any more in the main tree, moving to maintainer-wanted.
Anyone still reading this? Just wanted to say Centreon is horribly broken with PHP 5.4 - so if you have annoying problems, you have to downgrade to PHP 5.3 http://forge.centreon.com/issues/3239