Open piellick opened 8 years ago
@piellick and if the change in the script mysql-devel on mariadb-devel?
hello, can you tell me where i need to change it ?
if [ "$distrib" == "DEBIAN" ] || [ "$distrib" == "UBUNTU" ] ; then BINARIES=$BINARIES" ${DPKG}" if [ "$typeInstall" == "poller" ] ; then PACKAGES="python-dev" else PACKAGES="python-dev libmysqlclient-dev" fi elif [ "$distrib" == "REDHAT" ] || [ "$distrib" == "CENTOS" ] ; then BINARIES=$BINARIES" ${YUM}" if [ "$typeInstall" == "poller" ] ; then PACKAGES="python-devel" else PACKAGES="python-devel mariadb-devel" fi
but the check don't work :
Checking all needed packages
python-devel OK mariadb-devel FAIL
Please check fail packages and retry [root@centreon centreon-discovery-Centreon-Discovery-2.1]# yum install mariadb-devel Modules complémentaires chargés : fastestmirror Configuration du processus d'installation Loading mirror speeds from cached hostfile
Hello ! I had the same problem try "locate mariadb" and "locate MariaDB", it's not the same you must write in the file install.sh:
PACKAGES="python-devel MariaDB-devel" and not PACKAGES="python-devel mariadb-devel" I hope this will help you, this solved my problem
god ...you right ! Thanks. Install script need to be updated.
ur13000 , Do you have to modify other things in the script?
Globally, this script already has been tested with CES 3.3 or am I the only one to want to install a discovery module ?
Load parameters
Please specify the directory with contain "instCentWeb.conf" [/etc/centreon]
/etc/centreon
Unable to load all parameters in "instCentWeb.conf" INSTALL ABORT
Not anything else, I just had a few missing rpm files.
Please specify the directory with contain "instCentWeb.conf" [/etc/centreon]
/etc/centreon
Parameters were loaded with success OK
@piellick it works with centreon 2.7.x? addition in UI to configure anything needed?
I'm trying to install centreon-discovery (2.1) module on fresh CES 3.3, MariaDB-devel already installed :
[root@centreon centreon-discovery-Centreon-Discovery-2.1]# yum install mysql-devel Modules complémentaires chargés : fastestmirror Configuration du processus d'installation Loading mirror speeds from cached hostfile
[root@centreon centreon-discovery-Centreon-Discovery-2.1]# ./install.sh -i -t central Waiting ...
http://community.centreon.com/projects/centreon-discovery
Thanks for using Centreon
v2.1
OS found: CENTOS OK
rm OK cp OK mv OK /bin/chmod OK /bin/chown OK echo OK more OK mkdir OK find OK /bin/grep OK /bin/cat OK /bin/sed OK /usr/bin/python OK /usr/bin/gcc OK /usr/bin/yum OK
python-devel OK mysql-devel FAIL
Please check fail packages and retry