wombat.ch

your Partner for Network Design and CMS

Install Graphite - | - Debian 9 Stretch for Icingaweb2
#  icinga2 --v = installed with icinga2 (version: r2.6.0-1) /(version: r2.9.1-1) 


---
20.2 Change sources.list vi /etc/apt/sources.list

deb http://httpredir.debian.org/debian jessie main
apt update -y


20.3 apt install -y graphite-web graphite-carbon mysql-server python-mysqldb python-pymysql apache2 libapache2-mod-wsgi apt-transport-https ssl-cert python-pip
#  icinga2 feature enable perfdata graphite
#  systemctl restart icinga2.service
20.4 config #  vi /etc/graphite/local_settings.py SECRET_KEY 
TIME_ZONE  Europe/Zurich ALLOWED_HOSTS
20.5 config default/graphite-carbon vi /etc/default/graphite-carbon set true
20.6 install django pip install "django==1.4"
20.7 graphite-manage syncdb
chown _graphite. /var/lib/graphite/graphite.db
20.8 Apache config a2dissite 000-default.conf
cp /usr/share/graphite-web/apache2-graphite.conf /etc/apache2/sites-available/
a2ensite apache2-graphite.conf
systemctl restart apache2
icinga Module # cd /usr/share/icingaweb2/modules
# git clone https://github.com/findmypast/icingaweb2-module-graphite graphite
# mv icingaweb2-module-graphite graphite
20.x icinga2 feature list
icinga2 feature enable graphite
20.x vi /etc/icinga2/features-enabled/graphite.conf library "perfdata"

object GraphiteWriter "graphite" {  
host = "10.147.42.36"  
port = 2003  
enable_send_thresholds = true

}
20.x GUI enable (Configuration > Modules > graphite > enable)
20.x Restart systemctl restart apache2 icinga2
systemctl status apache2 icinga2
       
  Icinga Gui Icinga Gui --> Configuration --> Modules
select graphite and then configuration
graphite web url differs from http://graphite.com/render/? or if your graphite prefix differs from "icinga" please create a config file in /etc/icingaweb2/modules/graphite/config.ini following this example:
    vi /etc/icingaweb2/modules/graphite/config.ini  
  copy paste the text from the Gui    
  change the IP to your Server  [graphite]
 base_url = http://10.147.42.36/render?
 
- - -


Quelle/Source:
Web freenode IRC #graphite

- (2017) Icingaweb2 Graphite Modul 
(2017) Revisited – Graphite-Web installation unter Debian 9
https://github.com/Icinga/icingaweb2-module-graphite/issues
(2015) Graphite für Icinga2 und Icingaweb2 installieren
-
-
-
-
-
-
-
-

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 344 guests and no members online

We have 344 guests, no bots and no members online