Giter VIP home page Giter VIP logo

Comments (7)

maksimatveev avatar maksimatveev commented on July 17, 2024

@piellick and if the change in the script mysql-devel on mariadb-devel?

from centreon-discovery.

piellick avatar piellick commented on July 17, 2024

hello, can you tell me where i need to change it ?

I try this :

binaries/packages in function distrib

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

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

  • base: fr2.rpmfind.net
  • extras: mirror.in2p3.fr
  • updates: fr2.rpmfind.net
    Le paquet MariaDB-devel-10.1.13-1.el7.centos.x86_64 est déjà installé dans sa dernière version
    Rien à faire
    [root@centreon centreon-discovery-Centreon-Discovery-2.1]#

from centreon-discovery.

ur13000 avatar ur13000 commented on July 17, 2024

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

from centreon-discovery.

piellick avatar piellick commented on July 17, 2024

god ...you right ! Thanks. Install script need to be updated.

from centreon-discovery.

piellick avatar piellick commented on July 17, 2024

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

from centreon-discovery.

ur13000 avatar ur13000 commented on July 17, 2024

Not anything else, I just had a few missing rpm files.

Load Centreon parameters

Please specify the directory with contain "instCentWeb.conf" [/etc/centreon]

/etc/centreon

Parameters were loaded with success OK

from centreon-discovery.

maksimatveev avatar maksimatveev commented on July 17, 2024

@piellick it works with centreon 2.7.x? addition in UI to configure anything needed?

from centreon-discovery.

Related Issues (7)

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.