Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



RedHat

Anchor
_GoBack
_GoBack
6/CentOS6 Installation guide
V2.03.01


http://shinken-solutions.com

Anchor
_Toc425425465
_Toc425425465
Content

Content
SHINKEN ENTREPRISE prerequites
SHINKEN ENTREPRISE installation
Installing a CENTRAL server
Installing a distant poller server
Link to the Graphite Server CONFIGURATION
Link to the mongoDB server CONFIGURATION
SHINKEN ENTREPRISE Launch
Central server
Distant poller server

 

Anchor
_Toc425425466
_Toc425425466
SHINKEN ENTREPRISE prerequites


The Shinken Enterprise V2.03.01 application need some prerequites:

...


The Shinken Enterprise installation package need some dependencies. It will automatically install them if they are not already available on the system:

  • epel-release-6-8
  • perl-Socket6
  • perl-Digest-HMAC
  • perl-Digest-SHA1
  • python-simplejson
  • redhat-lsb-core
  • perl-Time-HiRes
  • perl-DateTime
  • python-paramiko
  • perl-IO-stringy
  • python-ldap
  • pycairo
  • perl-DBI
  • perl-DBD-MySQL
  • openssl-devel
  • perl-CPAN
  • uuid-perl
  • uuid-devel
  • perl-libxml-perl
  • perl-DateTime-Format-HTTP
  • perl-Nagios-Plugin
  • pymongo
  • python-bson
  • python-cherrypy-3
  • mongo-10gen-server-2.4.6-mongodb_1.x86_64
  • mongo-10gen-2.4.6-mongodb_1.x86_64

 

Anchor
_Toc425425467
_Toc425425467
SHINKEN ENTREPRISE installation

Anchor
_Toc425425468
_Toc425425468
Installing a CENTRAL server

In order to install a central server you need to launch:
$ tar xfz shinken-enterprise_V02.03.01.tar.gz
$ cd shinken-enterprise
$ ./intall.sh
Al the installation is automatic, and is loggued into the /root/shinken.enterprise.install.log file.
This installation install and enable the following daemons:

  • shinken arbiter
  • shinken synchronizer
  • shinken scheduler
  • shinken poller
  • shinken reactionner
  • shinken receiver
  • shinken broker
  • mongodb
  • graphite (carbon and httpd)

 

Anchor
_Toc425425469
_Toc425425469
Installing a distant poller server

In order to install a central server you need to launch:
$ tar xfz shinken-enterprise_V02.03.01.tar.gz
$ cd shinken-enterprise
$ ./intall.sh --pollernode
Al the installation is automatic, and is loggued into the /root/shinken.enterprise.install.log file.
This installation install and enable the following daemons:

  • shinken scheduler
  • shinken poller

 

Anchor
_Toc425425470
_Toc425425470
Link to the Graphite Server CONFIGURATION

The Shinken Enterprise daemons need to be configured in order to send performance data (metrics) into the Graphite server (the graphite carbon daemon).
If the Graphite server is installed in the central Shinken Enterprise server then you don't have to edit the Shinken Enterprise configuration files.
If your Graphite server is installed on another server, you must edit two configuration files:

...

It is a comma separated list of REALM:ADDRESS entries. For each realm that have its own graphite server, you must enter the realm name and the address of the graphite-web server. The * realm name will be used if no other realms are matching (default entry).

Anchor
_Toc425425471
_Toc425425471
Link to the mongoDB server CONFIGURATION

The Shinken Enterprise daemons need to be configured in order to send various data into a mongodb server.
If the mongodb server is running on the central server then you can skip this configuration part.
Such data will be send in the mongodb server:

...

In all the configuration file, you just need to change the mongodb uri (mongodb_uri or uri parameter) like this:
mongodb_uri mongodb://localhost/?safe=false
Just edit the address of your mongodb server.
Notice: Don't change the safe parameter.

Anchor
_Toc425425472
_Toc425425472
SHINKEN ENTREPRISE Launch

Anchor
_Toc425425473
_Toc425425473
Central server

Then you can start your daemons:
$ /etc/init.d/carbon-cache start
$ /etc/init.d/mongodb start
$ /etc/init.d/shinken start

Anchor
_Toc425425474
_Toc425425474
Distant poller server

Then you can start your daemons:
$ /etc/init.d/shinken start