Comments (7)
oh just to add.. instead of adding the paths for the gui. couldn't we simply replace their 'vars' file as below shows?
eitadmin@qetesh:/usr/local/src/centreon-2.6.1 $ cat varinstall/vars
--Shell-script--
install_vars
This file contain reconfigured variables used in install scripts
LOG_DIR="$BASE_DIR/log"
LOG_FILE="$LOG_DIR/install_centreon.log"
TMP_DIR="/tmp/centreon-setup"
SNMP_DIR="/etc/snmp/"
CENTREON_CONF_1_4="/etc/[co][er][ne][to][rn]*.conf"
DEFAULT_CENTREON_CONF="/etc/centreon/centreon.conf"
CENTREON_CONF="/etc/centreon.conf"
#use $CENTREON_ETC/centreon.conf
PEAR_MODULES_LIST="pear.lst"
DEFAULT_INSTALL_DIR_NAGIOS="/usr/local/nagios"
DEFAULT_INSTALL_DIR_CENTREON="/usr/local/centreon"
DEFAULT_RRD_PERL="/usr/lib/perl5"
DEFAULT_SUDO_FILE="/etc/sudoers"
DEFAULT_WEB_USER="www-data"
DEFAULT_WEB_GROUP="www-data"
DEFAULT_NAGIOS_USER="nagios"
DEFAULT_NAGIOS_GROUP="nagcmd"
DEFAULT_BIN_RRDTOOL="/usr/bin/rrdtool"
DEFAULT_BIN_MAIL="/usr/bin/mail"
DEFAULT_BIN_SSH="/usr/bin/ssh"
DEFAULT_BIN_SCP="/usr/bin/scp"
DEFAULT_INIT_D="/etc/init.d"
DEFAULT_CRON_D="/etc/cron.d"
DEFAULT_PEAR_PATH="/usr/share/php"
DEFAULT_PHP_BIN="/usr/bin/php"
DEFAULT_PERL_BIN="/usr/bin/perl"
DEFAULT_CENTREON_LOG="/usr/local/centreon/log"
DEFAULT_CENTREON_ETC="/etc/centreon"
DEFAULT_CENTREON_RUNDIR="/var/run/centreon"
DEFAULT_CENTREON_GENDIR="/usr/local/centreon"
DEFAULT_CENTREON_VARLIB="/var/lib/centreon"
DEFAULT_CENTSTORAGE_RRD="/var/lib/centreon"
DEFAULT_CENTPLUGINS_TMP="/var/lib/centreon/centplugins"
DEFAULT_CENTSTORAGE_BINDIR="bin"
DEFAULT_CENTCORE_BINDIR="bin"
DEFAULT_SNMP_ETC="/etc/snmp"
DEFAULT_SNMPTT_BINDIR="/usr/local/centreon/bin/"
DEFAULT_CENTPLUGINSTRAPS_BINDIR="/usr/local/centreon/bin"
DEFAULT_CENTREON_USER="centreon"
DEFAULT_CENTREON_GROUP="centreon"
DEFAULT_PLUGIN_DIR="/usr/lib/nagios/plugins"
DEFAULT_CENTREON_BINDIR="/usr/local/centreon/bin"
DEFAULT_CENTREON_DATADIR="/usr/local/centreon/data"
from centreon-install.
Hello,
if you want an updated version that support directly Debian Jessie and latest release, you can check the fork :
https://github.com/GreenCom-Networks/centreon-install
Enjoy.
from centreon-install.
Forked my own which also fills out the paths correctly making it even easier to just select Broker and click next.
Your fork is missing libsnmp-perl which is required for centreontrapd service to start btw.
from centreon-install.
Ah yes, you are right.
Thanks.
from centreon-install.
Also noticed there's some issue with centcore and an strace shows it's looking for cmd file in wrong path:
stat("/var/lib/centreon/centcore.cmd", 0x1be7238) = -1 ENOENT (No such file or directory)
stat("/var/lib/centreon/centcore/", 0x1be7238) = -1 ENOENT (No such file or directory)
But the /etc/centreon/conf.pm config file contains:
\ # Centreon Centcore Command File
$cmdFile = "/var/lib/centreon-engine/rw/centengine.cmd";
which I'm now confused as their /usr/share/perl5/centreon/script/centcore.pm library files appears to use centcore.cmd but the /etc/centreon/conf.pm specifies the centreon-engine cmd file.
Now I'm confused what uses what, talks to what via what.lol.
Is this some mis configuration from the install?
What brought me to this issue is that I can't acknowledge services or hosts. simply nothing happens.
from centreon-install.
Hello,
which version are you using, as I have now moved to Centreon Web 2.7...
Where do you see this error ?
from centreon-install.
ignore it, worked it out to be permission issue on /var/lib/centreon which was possibly caused when I moved that path to a new disk volume due to it's massive size and somehow made it 755 rather than 775.
I find it really stupid that centreon uses passthru() to blindly write into a unix socket and not monitor errors from it hence why I endured so much pain trying to find the cause.
from centreon-install.
Related Issues (8)
- Hardcoded Version HOT 2
- installation mal placée de "lsb_release". HOT 2
- Proxy for PHP-PEAR HOT 1
- Version upgrade (not an issue) HOT 2
- e-mail notification problem HOT 1
- Operating Role HOT 2
- CENTREON_VARLIB HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from centreon-install.