Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295693 - net-analyzer/centreon new version 2.1.3
Summary: net-analyzer/centreon new version 2.1.3
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.centreon.com
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-12-04 19:01 UTC by Brian Evans (RETIRED)
Modified: 2015-11-24 21:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Base ebuild (centreon-2.1.3.ebuild,8.08 KB, text/plain)
2009-12-04 19:03 UTC, Brian Evans (RETIRED)
Details
Cron file for centreon v2 (centreon-2.cron,515 bytes, text/plain)
2009-12-04 19:04 UTC, Brian Evans (RETIRED)
Details
Install Config file for the web interface (initial-installconf.php,2.99 KB, text/plain)
2009-12-04 19:06 UTC, Brian Evans (RETIRED)
Details
Daemon script (centreon.initd,949 bytes, text/plain)
2009-12-04 19:06 UTC, Brian Evans (RETIRED)
Details
Daemon script (centreon.initd,1.04 KB, text/plain)
2009-12-04 19:41 UTC, Brian Evans (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Evans (RETIRED) gentoo-dev 2009-12-04 19:01:23 UTC
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
Comment 1 Brian Evans (RETIRED) gentoo-dev 2009-12-04 19:03:34 UTC
Created attachment 212035 [details]
Base ebuild
Comment 2 Brian Evans (RETIRED) gentoo-dev 2009-12-04 19:04:52 UTC
Created attachment 212036 [details]
Cron file for centreon v2
Comment 3 Brian Evans (RETIRED) gentoo-dev 2009-12-04 19:06:00 UTC
Created attachment 212037 [details]
Install Config file for the web interface
Comment 4 Brian Evans (RETIRED) gentoo-dev 2009-12-04 19:06:53 UTC
Created attachment 212039 [details]
Daemon script
Comment 5 Brian Evans (RETIRED) gentoo-dev 2009-12-04 19:41:35 UTC
Created attachment 212048 [details]
Daemon script

Updated init script.

Looks at PIDs to start and stop correctly.
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2009-12-15 08:25:13 UTC
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.
Comment 7 Brian Evans (RETIRED) gentoo-dev 2009-12-15 13:48:33 UTC
(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.
Comment 8 Richard H. 2011-08-04 02:53:09 UTC
works fine with 2.1.9, and 2.2.2 as well!

Thanks a lot :)
Comment 9 Richard H. 2011-08-17 10:45:02 UTC
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 :)
Comment 10 Agostino Sarubbo gentoo-dev 2011-10-11 14:16:52 UTC
The package is not any more in the main tree, moving to maintainer-wanted.
Comment 11 Richard H. 2013-08-07 18:52:01 UTC
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