Giter Club home page Giter Club logo

centreon-install's People

Contributors

dam09fr avatar zeysh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

centreon-install's Issues

CENTREON_VARLIB

CENTREON_VARLIB is set to /var/lib/centreon
but when doing snmp trap generation, this causes an error that it cannot find centcore.cmd file which points to "Error while writing into /var/lib/centreon/centcore.cmd"
But it appears this is in /var/lib/centreon-engine/rw/centcore.cmd

I don't believe I changed this at any time and submitting forced checks works fine so not sure how all the php scripts are pointing incorrectly to /var/lib/centreon/centcore.cmd

Operating Role

Don't know why I can't set issues against GreenCom-Networks so I'm going to log it here hoping it's picked up.

I think it would be good to have command line params which installs centreon in particular modes, central poller only, remote only poller, etc. May need to add extra params to indicate the central server settings so they can talk but I think it would be good.

e-mail notification problem

hello! First: your script is fantastic! thank you very much!
Second: I have a problem with notifications, /var/log/mail.log I do not see anything that tells me you are sending e-mails when a host or service goes down.

You got idea that can be?

From already thank you!

Proxy for PHP-PEAR

Hi,

It would be great if your script could ask me for a proxy for the PEAR upgrade command, or use the one from the enviroment, because it can't install Centreon and hangs until I do the command to set the proxy.

But I besides that I really love that skript and I hope you keep it updated, because I really hate the install procedure of Centreon.

Josef

installation mal placée de "lsb_release".

Ligne 675 environ
Déplacer la ligne "apt-get"
**** original
DISTRO=lsb_release -i -s | tr '[:upper:]' '[:lower:]'
RELEASE=lsb_release -c -s
apt-get install -y lsb-release python-software-properties


par:


apt-get install -y lsb-release python-software-properties
DISTRO=lsb_release -i -s | tr '[:upper:]' '[:lower:]'
RELEASE=lsb_release -c -s


Détecté sur un environnement minimaliste sous debian wheezy (openvz sous proxmox).
Les variables DISTRO et RELEASE ne sont pas initialisées proprement. => /etc/apt/sources.list incorrect. => "apt-get update" failed. => "mariadb" failed...

Cordialement

Debian Jessie script provided.

Awesome script, saved me hours and pain. I modified it to work with debian jessie and placed a copy on http://www.emperor-it.com/downloads/centreon-installer.sh as I didnt want to fork it. It still says Wheezy and theres commented out repo which with jessie is not required and cleaner install so up to you how you'd like to do it (another reason not to fork). Diff and take whatever changes (not much anyway).

The only thing it doesn't do is the apache config as centreon uses /etc/apache2/conf.d which doesn't exist.
So I just added manually:

cat > /etc/apache2/conf-available/centreon.conf << EOF

Alias /centreon /usr/local/centreon/www/
<Directory "/usr/local/centreon/www">
Options Indexes
AllowOverride AuthConfig Options
Order allow,deny
Allow from all
Require all granted

EOF

ln -s /etc/apache2/conf-available/conf-available/centreon.conf /etc/apache2/conf-enabled/centreon.conf

Versions used and confirmed to work as below.
root@qetesh:/home/eitadmin # ./centreon-installer.sh

=======================| Install details |============================

              MariaDB    : 10.0
              Clib       : 1.4.2
              Connector  : 1.1.1
              Engine     : 1.4.14
              Plugin     : 2.0.3
              Broker     : 2.8.2
              Centreon   : 2.6.1
              Install dir: /usr/local
              Source dir : /usr/local/src

Step1 => Install MariaDB [ OK ]
Step2 => Install PHP5.3 on Wheezy [ OK ]
Step3 => Clib install [ OK ]
Step4 => Centreon Perl and SSH connectors install [ OK ]
Step5 => Centreon Engine install [ OK ]
Step6 => Nagios plugins install [ OK ]
Step6 => Centreon plugins install [ OK ]
Step7 => Centreon Broker install [ OK ]
Step8 => Centreon template generation [ OK ]
Step9 => Centreon web interface install [ OK ]
Step10 => Post install [ OK ]
Step11 => CLAPI install [ OK ]
Step12 => Widgets install [ OK ]

Go to http://172.16.200.110/centreon to complete the setup

Version upgrade (not an issue)

Hello,

just to inform you that I have try your script and I have bumped the version to the latest release available :
CLIB_VER="1.4.2"
CONNECTOR_VER="1.1.1"
ENGINE_VER="1.4.11"
PLUGIN_VER="2.0.3"
BROKER_VER="2.8.1"
CENTREON_VER="2.5.4"
CLAPI_VER="1.7.1"

MariaDB Series

MARIADB_VER='5.5'

Sources widgets

WIDGET_HOST_VER="1.3.2"
WIDGET_HOSTGROUP_VER="1.1.1"
WIDGET_SERVICE_VER="1.3.2"
WIDGET_SERVICEGROUP_VER="1.1.0"

It has worked perfectly.
Another test I have done, is to use your script to update my current "old" version (the version I have installed before were those which were in your original script).
All has worked perfectly.

Thanks again for this great script !!!

Hardcoded Version

I just read over this little script and find it very useful.

One little thing felt into my eyes while reading it:

Line 269 of centreon.sh:
if [[ -e centreon-broker-2.5.0.tar.gz ]]

I guess, you forgot to replace "2.5.0" with "${BROKER_VER}".

Thanks for the script.
Regards Lico

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.