centreon-community / centreon-discovery Goto Github PK
View Code? Open in Web Editor NEWAn extension to discover resources to monitor with Centreon
License: GNU General Public License v2.0
An extension to discover resources to monitor with Centreon
License: GNU General Public License v2.0
wrong module, sorry.
Hi everyone,
I'm trying to install centreon-discovery on CES 3.3. Mariadb-devel is installed.
I followed this issue to resolve "MariaDB-devel FAIL"
--> https://github.com/Centreon-Community/centreon-discovery/issues/2
But now i got the following error :
`[root@vpc-gda-centreon centreon-discovery-master]# ./install.sh -i -t both
Waiting ...
OS found: CENTOS OK
Checking all needed binaries
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/nmap OK
/usr/bin/yum OK
Checking all needed packages
python-devel OK
MariaDB-devel OK
Accepting licence
You will now read Centreon Discovery module Licence.
Press enter to continue.
Do you accept GPL license ?
[y/n], default to [n]:
y
Checking version number
python 2.6 (min. 2.4) OK
nmap 5.51 (min. 5.0) OK
Install Python modules
Module PyCrypto ... OK
Module NMAP ... OK
Module SetupTools ... OK
Module MySQLdb ... FAIL
Modules Python weren't installed with success FAIL
INSTALL ABORT
`
I found with "echo" flags that the script is trying to "install modPython;" on line 321. That's why i have a FAIL.
Do you have some advices to help me ?
Thank you.
Frédéric LAINÉ
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 ...
Find distribution
OS found: CENTOS OK
Checking all needed binaries
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
Checking all needed packages
python-devel OK
mysql-devel FAIL
Please check fail packages and retry
When you launch a scan on an ip range, in the Central_DiscoveryAgent.log you get this line:
--- Call DiscoveryAgent_Central ---
Check the status of poller
Traceback (most recent call last):
File "/usr/share/centreon-discovery-agent/DiscoveryAgent_central.py", line 225, in
db=connectToDB()
File "/usr/share/centreon-discovery-agent/DiscoveryAgent_central.py", line 74, in connectToDB
db=MySQLdb.connect(host=conf_host,user=conf_user,passwd=conf_password,db=conf_db)
File "build/bdist.linux-x86_64/egg/MySQLdb/init.py", line 81, in Connect
File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 187, in init
_mysql_exceptions.OperationalError: (1045, "Access denied for user '*****'@'localhost' (using password: YES)")
The problem is in the file /etc/centreon/centreon.conf.php, the password is in '' instead of "".
Hi
dont'have all menu for discovery
for ex: configuration services rules is missing
install from iso
centreon 2.8.19
as per description, can't find added hosts in centreon hosts view.
running a scan and add it says it already exists but cant see or add a service to the newly added hosts.
might be compatibility issue with 2.7.1? I'm using centreon-engine not nagios (if it helps).
When running a poller discovery from the central web interface it errors out.
Error message from the web interface is: "ERROR : Connection lost with the poller agent"
I have 2 networks that I try to scan. 1 the discovery daemon on the poller will die. The other one it seems to live, but still produces the error. The error message below are from the scan that doesn't kill the daemon. If I limit the scan range, it seems to finish, i.e. using /28 instead of /24. Not sure if it matters but the Central is on the Internet in a data center. The poller in within a lan on a private network and I have port forwarding to the poller.
DiscoveryAgent_poller.py : STATUS_POLLER
Connected by ('REDACTED', 60676)
DiscoveryAgent_poller.py : SCAN_RANGEIP for 10.13.13.0/24
Send : #state#10.13.13.1#up#REDACTED'#pfSense REDACTED 2.1.4-RELEASE pfSense FreeBSD 8.3-RELEASE-p16 amd64
Send : #state#10.13.13.134#up#c4-centreon-poller#Linux c4-centreon-poller 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64
Send : #state#10.13.13.216#up#REDACTED#Linux REDACTED 2.6.18-409.el5 #1 SMP Tue Mar 15 18:13:50 EDT 2016 x86_64
Send : #state#10.13.13.27#up##GS724Tv4 ProSafe 24-port Gigabit Ethernet Smart Switch, 6.3.1.4, B1.0.0.4
Send : #state#10.13.13.110#up#* TimeOut SNMP # TimeOut SNMP *
Send : #state#10.13.13.2#up#* TimeOut SNMP # TimeOut SNMP *
Send : #state#10.13.13.152#up#* TimeOut SNMP # TimeOut SNMP *
Send : #state#10.13.13.205#up#* TimeOut SNMP # TimeOut SNMP *
Send : #state#10.13.13.225#up#* TimeOut SNMP # TimeOut SNMP *
Send : #state#10.13.13.218#up#* TimeOut SNMP # TimeOut SNMP *
Send : #state#10.13.13.6#up#* TimeOut SNMP # TimeOut SNMP *
From the Central server's log
--- Call DiscoveryAgent_Central ---
Scan range IP
Scan the range IP 10.13.13.0 (range #17)
SCAN_RANGEIP : #state#10.13.13.1#up#REDACTED#pfSense REDACTED 2.1.4-RELEASE pfSense FreeBSD 8.3-RELEASE-p16 amd64
SCAN_RANGEIP : #state#10.13.13.134#up#c4-centreon-poller#Linux c4-centreon-poller 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64
SCAN_RANGEIP : #state#10.13.13.216#up#REDACTED#Linux REDACTED 2.6.18-409.el5 #1 SMP Tue Mar 15 18:13:50 EDT 2016 x86_64
SCAN_RANGEIP : #state#10.13.13.27#up##GS724Tv4 ProSafe 24-port Gigabit Ethernet Smart Switch, 6.3.1.4, B1.0.0.4
SCAN_RANGEIP : #state#10.13.13.110#up#* TimeOut SNMP # TimeOut SNMP *
SCAN_RANGEIP : #state#10.13.13.2#up#* TimeOut SNMP # TimeOut SNMP *
SCAN_RANGEIP : #state#10.13.13.152#up#* TimeOut SNMP # TimeOut SNMP *
SCAN_RANGEIP : #state#10.13.13.205#up#* TimeOut SNMP # TimeOut SNMP *
Error while receiving data.
Check connection of poller.
END
--- End DiscoveryAgent_Central ---
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.