Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
centos:web_c7:icinga:graphite [20.11.2015 08:24. ] – [SQL-Datenbank] djangocentos:web_c7:icinga:graphite [20.11.2015 21:52. ] – [graphite-web] django
Zeile 1: Zeile 1:
 ====== Icinga Einbinden von Graphite zur graphischen Visualisierung - Installation und Konfiguration unter CentOS 7.x ====== ====== Icinga Einbinden von Graphite zur graphischen Visualisierung - Installation und Konfiguration unter CentOS 7.x ======
-{{:centos:web_c7:icinga:graphite-logo.png?nolink&250 |Bild: Graphite Logo}} Mit [[http://graphite.wikidot.com/|Graphite]] steht ein sehr mächtiges Werkzeug zur Verfügung, wenn es darum geht in Echtzeit skalierbare Graphen zur Verfügung zu stellen. +{{:centos:web_c7:icinga:graphite-logo.png?nolink&250 |Bild: Graphite Logo}}  Mit [[http://graphite.wikidot.com/|Graphite]] steht ein sehr mächtiges Werkzeug zur Verfügung, wenn es darum geht in Echtzeit skalierbare Graphen zur Verfügung zu stellen.  
 + 
 +\\
  
 <WRAP center round info 75%> <WRAP center round info 75%>
Zeile 8: Zeile 10:
  
 ===== Installation ===== ===== Installation =====
 +==== Vorbereitung ====
 +Die einfachste und schnellste Variante bei der **[[centos:mailserver.guru|Installation]]** ist die aus dem Repository **[[centos:mailserver.guru|mailserver.guru]]**. Hier reicht ein einfacher Aufruf von **yum** und alles wird automatisch installiert. Etwaige Paketabhängigkeiten werden so automatisch aufgelöst und Paketupdates werden so, automatisch angeboten und müssen nicht extra manuell heruntergeladen werden.
 +
 +==== Informationen =====
 Zum Erstellen und Einbinden der Graphen benötigen wir mehrere Programme und Daemons.  Zum Erstellen und Einbinden der Graphen benötigen wir mehrere Programme und Daemons. 
-  - **Generierung Performancedaten** \\ In Icinga Web 2 brauchen wir eine Möglichkeit, Performancedaten aus Icinga Web 2 zu erfassen und für die weitere Verarbeitung durch **Graphite** zur Verfügung zu stellen. Für diese Aufgabe benötigen wir das Paket **python-carbon** welches wir aus dem Repository **[[centos:epel7|Epel]]** beziehen.+  - **Generierung Performancedaten** \\ In Icinga Web 2 brauchen wir eine Möglichkeit, Performancedaten aus Icinga Web 2 zu erfassen und für die weitere Verarbeitung durch **Graphite** zur Verfügung zu stellen. Für diese Aufgabe benötigen wir das aktuelle Paket **python-carbon** aus dem Repository [[http://repo.mailserver.guru/7/os/x86_64/repoview/index.html|Mailserver.guru]]. \\ \\
   - **Datenbank(files)**    - **Datenbank(files)** 
-    - **Whisper** \\ Zum Abspeichern der Rohdaten, greifen wir auf **python-whisper** einer Datenbank-Engine für schnelle und zuverlässige Speicherung von Daten, ähnlich wie [[http://oss.oetiker.ch/rrdtool/|Thomas Oetiker's Round-Robin-Archive]] **RRD**-Tools. +    - **Whisper** \\ Zum Abspeichern der Rohdaten, greifen wir auf **python-whisper** einer Datenbank-Engine für schnelle und zuverlässige Speicherung von Daten, ähnlich wie [[http://oss.oetiker.ch/rrdtool/|Thomas Oetiker's Round-Robin-Archive]] **RRD**-Tools. Auch dieses Paket beziehen wir aus dem Repository [[http://repo.mailserver.guru/7/os/x86_64/repoview/index.html|Mailserver.guru]]
-    - **MariaDB** \\ Zum Speichern der Konfigurationsdaten zu den Graphiken und Dashboards sowie der userspezifischen Einstellungen nutzen wir unsere MariaDB auf unserem Monitoring Host. +    - **MariaDB** \\ Zum Speichern der Konfigurationsdaten zu den Graphiken und Dashboards sowie der userspezifischen Einstellungen nutzen wir unsere MariaDB auf unserem Monitoring Host. \\ \\  
-  - **Aufbereiten der Daten und Generierung der Graphiken** \\ Zum Aufbereiten der Rohdaten und zur Generierung der Statistik-Graphen bedienen wir uns des Projektes **Graphite**. Das passende RPM stellt uns das Repository **[[http://repo.mailserver.guru/7/os/x86_64/repoview/index.html|Mailserver.guru]]** zur Verfügung. Zur Installation binden wir am besten das Repository ein, wie [[centos:mailserver.guru|hier]] beschrieben. Etwaige Paketabhängigkeiten werden so automatisch aufgelöst und Paketupdates werden so, automatisch angeboten und müssen nicht extra manuell heruntergeladen werden.+  - **Aufbereiten der Daten und Generierung der Graphiken** \\ Zum Aufbereiten der Rohdaten und zur Generierung der Statistik-Graphen bedienen wir uns des Projektes **[[http://graphite.readthedocs.org/en/latest/|Graphite]]**. Das passende RPM **graphite-web** stellt uns wiederum das Repository [[http://repo.mailserver.guru/7/os/x86_64/repoview/index.html|Mailserver.guru]] zur Verfügung. \\ \\ 
   - **Icinga Web 2 Modul graphite** \\ Zum Einbinden der Echtzeitgraphiken in **Icinga Web 2** benötigen wir dann noch das Modul **icingaweb2-module-graphite**. Eine Vorabentwicklerversion laden holen wir uns direkt von der [[https://github.com/philiphoy/icingaweb2-module-graphite|GitHub]] Projektseite.   - **Icinga Web 2 Modul graphite** \\ Zum Einbinden der Echtzeitgraphiken in **Icinga Web 2** benötigen wir dann noch das Modul **icingaweb2-module-graphite**. Eine Vorabentwicklerversion laden holen wir uns direkt von der [[https://github.com/philiphoy/icingaweb2-module-graphite|GitHub]] Projektseite.
  
 +==== RPM-Pakete ====
 Die Installation der oben genannten Punkte **1** bis **3** erfolgt unter CentOS 7 wie immer mit Hilfe von **YUM**.  Die Installation der oben genannten Punkte **1** bis **3** erfolgt unter CentOS 7 wie immer mit Hilfe von **YUM**. 
    # yum install python-whisper python-carbon graphite-web MySQL-python uwsgi-plugin-carbon -y    # yum install python-whisper python-carbon graphite-web MySQL-python uwsgi-plugin-carbon -y
  
 +==== Download von icingaweb2-module-graphite ====
 Beim **Icinga Web 2**-Modul **icingaweb2-module-graphite** steht aktuell noch kein RPM zur Verfügung. Wir holen uns daher das aktuelle Vorabpaket direkt von der [[https://github.com/philiphoy/icingaweb2-module-graphite|GitHub]] Projektseite. Beim **Icinga Web 2**-Modul **icingaweb2-module-graphite** steht aktuell noch kein RPM zur Verfügung. Wir holen uns daher das aktuelle Vorabpaket direkt von der [[https://github.com/philiphoy/icingaweb2-module-graphite|GitHub]] Projektseite.
    # wget https://github.com/philiphoy/icingaweb2-module-graphite/archive/master.zip    # wget https://github.com/philiphoy/icingaweb2-module-graphite/archive/master.zip
  
 +==== Auspacken von  icingaweb2-module-graphite ====
 Dieses ZIP-Archiv entpacken wir nun an Ort und Stelle. Dieses ZIP-Archiv entpacken wir nun an Ort und Stelle.
    # unzip master.zip -d /usr/share/icingaweb2/modules    # unzip master.zip -d /usr/share/icingaweb2/modules
  
 Abschließend ändern wir dann nur noch den Verzeichnis-Namen. Abschließend ändern wir dann nur noch den Verzeichnis-Namen.
-   # mv /usr/share/icingaweb2/modules/graphite-web-master/ /usr/share/icingaweb2/modules/graphite+   # mv /usr/share/icingaweb2/modules/icingaweb2-module-graphite-master/ /usr/share/icingaweb2/modules/graphite/
  
 ===== RPM-Inhalte ===== ===== RPM-Inhalte =====
Zeile 33: Zeile 42:
    # rpm -qil python-carbon    # rpm -qil python-carbon
  
-<code>Name        : python-carbon                                                               +<code>Name        : python-carbon 
-Version     : 0.9.12                                                                      +Version     : 0.9.14 
-Release     : 7.el7                                                                       +Release     : 1.el7.centos 
-Architecture: noarch                                                                      +Architecture: noarch 
-Install Date: Fri 20 Mar 2015 04:30:37 PM CET                                             +Install Date: Fri 20 Nov 2015 10:14:01 PM CET 
-Group       : System Environment/Daemons                                                  +Group       : System Environment/Daemons 
-Size        : 357115                                                                      +Size        : 372739 
-License     : ASL 2.0                                                                     +License     : ASL 2.0 
-Signature   : RSA/SHA256Tue 25 Nov 2014 07:05:51 PM CET, Key ID 6a2faea2352c64e5        +Signature   : RSA/SHA1Fri 20 Nov 2015 10:10:25 PM CET, Key ID 60ecfb9e8195aea0 
-Source RPM  : python-carbon-0.9.12-7.el7.src.rpm                                          +Source RPM  : python-carbon-0.9.14-1.el7.centos.src.rpm 
-Build Date  : Mon 24 Nov 2014 08:47:30 PM CET                                             +Build Date  : Fri 20 Nov 2015 10:10:13 PM CET 
-Build Host  : buildhw-06.phx2.fedoraproject.org                                           +Build Host  : vml000200.dmz.nausch.org 
-Relocations : (not relocatable)                                                           +Relocations : (not relocatable) 
-Packager    : Fedora Project                                                              +Packager    : Django <django@mailserver.guru> 
-Vendor      : Fedora Project                                                              +URL         : https://github.com/graphite-project 
-URL         : https://github.com/graphite-project                                         +Summary     : Back-end data caching and persistence daemon for Graphite 
-Summary     : Back-end data caching and persistence daemon for Graphite                   +Description : 
-Description :                                                                             +Carbon is one of the components of Graphite, and is responsible for 
-Carbon is one of the components of Graphite, and is responsible for                       +receiving metrics over the network and writing them down to disk using 
-receiving metrics over the network and writing them down to disk using                    +a storage back-end. 
-a storage back-end.                                                                       +/etc/carbon 
-/etc/carbon                                                                               +/etc/carbon/carbon.conf 
-/etc/carbon/carbon.conf                                                                   +/etc/carbon/storage-schemas.conf 
-/etc/carbon/storage-schemas.conf                                                          +/etc/logrotate.d/python-carbon 
-/etc/logrotate.d/python-carbon                                                            +/usr/bin/carbon-aggregator 
-/usr/bin/carbon-aggregator                                                                +/usr/bin/carbon-cache 
-/usr/bin/carbon-cache                                                                     +/usr/bin/carbon-client 
-/usr/bin/carbon-client                                                                    +/usr/bin/carbon-relay 
-/usr/bin/carbon-relay                                                                     +/usr/bin/validate-storage-schemas 
-/usr/bin/validate-storage-schemas                                                         +/usr/lib/python2.7/site-packages/carbon 
-/usr/lib/python2.7/site-packages/carbon                                                   +/usr/lib/python2.7/site-packages/carbon-0.9.14-py2.7.egg-info 
-/usr/lib/python2.7/site-packages/carbon-0.9.12-py2.7.egg-info                             +/usr/lib/python2.7/site-packages/carbon/__init__.py 
-/usr/lib/python2.7/site-packages/carbon/__init__.py                                       +/usr/lib/python2.7/site-packages/carbon/__init__.pyc 
-/usr/lib/python2.7/site-packages/carbon/__init__.pyc                                      +/usr/lib/python2.7/site-packages/carbon/__init__.pyo 
-/usr/lib/python2.7/site-packages/carbon/__init__.pyo                                      +/usr/lib/python2.7/site-packages/carbon/aggregator 
-/usr/lib/python2.7/site-packages/carbon/aggregator                                        +/usr/lib/python2.7/site-packages/carbon/aggregator/__init__.py 
-/usr/lib/python2.7/site-packages/carbon/aggregator/__init__.py                            +/usr/lib/python2.7/site-packages/carbon/aggregator/__init__.pyc 
-/usr/lib/python2.7/site-packages/carbon/aggregator/__init__.pyc                           +/usr/lib/python2.7/site-packages/carbon/aggregator/__init__.pyo 
-/usr/lib/python2.7/site-packages/carbon/aggregator/__init__.pyo                           +/usr/lib/python2.7/site-packages/carbon/aggregator/buffers.py 
-/usr/lib/python2.7/site-packages/carbon/aggregator/buffers.py                             +/usr/lib/python2.7/site-packages/carbon/aggregator/buffers.pyc 
-/usr/lib/python2.7/site-packages/carbon/aggregator/buffers.pyc                            +/usr/lib/python2.7/site-packages/carbon/aggregator/buffers.pyo 
-/usr/lib/python2.7/site-packages/carbon/aggregator/buffers.pyo                            +/usr/lib/python2.7/site-packages/carbon/aggregator/receiver.py 
-/usr/lib/python2.7/site-packages/carbon/aggregator/receiver.py                            +/usr/lib/python2.7/site-packages/carbon/aggregator/receiver.pyc 
-/usr/lib/python2.7/site-packages/carbon/aggregator/receiver.pyc                           +/usr/lib/python2.7/site-packages/carbon/aggregator/receiver.pyo 
-/usr/lib/python2.7/site-packages/carbon/aggregator/receiver.pyo                           +/usr/lib/python2.7/site-packages/carbon/aggregator/rules.py 
-/usr/lib/python2.7/site-packages/carbon/aggregator/rules.py                               +/usr/lib/python2.7/site-packages/carbon/aggregator/rules.pyc 
-/usr/lib/python2.7/site-packages/carbon/aggregator/rules.pyc                              +/usr/lib/python2.7/site-packages/carbon/aggregator/rules.pyo 
-/usr/lib/python2.7/site-packages/carbon/aggregator/rules.pyo                              +/usr/lib/python2.7/site-packages/carbon/amqp0-8.xml 
-/usr/lib/python2.7/site-packages/carbon/amqp0-8.xml                                       +/usr/lib/python2.7/site-packages/carbon/amqp_listener.py 
-/usr/lib/python2.7/site-packages/carbon/amqp_listener.py                                  +/usr/lib/python2.7/site-packages/carbon/amqp_listener.pyc 
-/usr/lib/python2.7/site-packages/carbon/amqp_listener.pyc                                 +/usr/lib/python2.7/site-packages/carbon/amqp_listener.pyo 
-/usr/lib/python2.7/site-packages/carbon/amqp_listener.pyo                                 +/usr/lib/python2.7/site-packages/carbon/amqp_publisher.py 
-/usr/lib/python2.7/site-packages/carbon/amqp_publisher.py                                 +/usr/lib/python2.7/site-packages/carbon/amqp_publisher.pyc 
-/usr/lib/python2.7/site-packages/carbon/amqp_publisher.pyc                                +/usr/lib/python2.7/site-packages/carbon/amqp_publisher.pyo 
-/usr/lib/python2.7/site-packages/carbon/amqp_publisher.pyo                                +/usr/lib/python2.7/site-packages/carbon/cache.py 
-/usr/lib/python2.7/site-packages/carbon/cache.py                                          +/usr/lib/python2.7/site-packages/carbon/cache.pyc 
-/usr/lib/python2.7/site-packages/carbon/cache.pyc                                         +/usr/lib/python2.7/site-packages/carbon/cache.pyo 
-/usr/lib/python2.7/site-packages/carbon/cache.pyo                                         +/usr/lib/python2.7/site-packages/carbon/client.py 
-/usr/lib/python2.7/site-packages/carbon/client.py                                         +/usr/lib/python2.7/site-packages/carbon/client.pyc 
-/usr/lib/python2.7/site-packages/carbon/client.pyc                                        +/usr/lib/python2.7/site-packages/carbon/client.pyo 
-/usr/lib/python2.7/site-packages/carbon/client.pyo                                        +/usr/lib/python2.7/site-packages/carbon/conf.py 
-/usr/lib/python2.7/site-packages/carbon/conf.py                                           +/usr/lib/python2.7/site-packages/carbon/conf.pyc 
-/usr/lib/python2.7/site-packages/carbon/conf.pyc                                          +/usr/lib/python2.7/site-packages/carbon/conf.pyo 
-/usr/lib/python2.7/site-packages/carbon/conf.pyo                                          +/usr/lib/python2.7/site-packages/carbon/events.py 
-/usr/lib/python2.7/site-packages/carbon/events.py                                         +/usr/lib/python2.7/site-packages/carbon/events.pyc 
-/usr/lib/python2.7/site-packages/carbon/events.pyc                                        +/usr/lib/python2.7/site-packages/carbon/events.pyo 
-/usr/lib/python2.7/site-packages/carbon/events.pyo                                        +/usr/lib/python2.7/site-packages/carbon/exceptions.py 
-/usr/lib/python2.7/site-packages/carbon/exceptions.py                                     +/usr/lib/python2.7/site-packages/carbon/exceptions.pyc 
-/usr/lib/python2.7/site-packages/carbon/exceptions.pyc                                    +/usr/lib/python2.7/site-packages/carbon/exceptions.pyo 
-/usr/lib/python2.7/site-packages/carbon/exceptions.pyo                                    +/usr/lib/python2.7/site-packages/carbon/hashing.py 
-/usr/lib/python2.7/site-packages/carbon/hashing.py                                        +/usr/lib/python2.7/site-packages/carbon/hashing.pyc 
-/usr/lib/python2.7/site-packages/carbon/hashing.pyc                                       +/usr/lib/python2.7/site-packages/carbon/hashing.pyo 
-/usr/lib/python2.7/site-packages/carbon/hashing.pyo                                       +/usr/lib/python2.7/site-packages/carbon/instrumentation.py 
-/usr/lib/python2.7/site-packages/carbon/instrumentation.py                                +/usr/lib/python2.7/site-packages/carbon/instrumentation.pyc 
-/usr/lib/python2.7/site-packages/carbon/instrumentation.pyc                               +/usr/lib/python2.7/site-packages/carbon/instrumentation.pyo 
-/usr/lib/python2.7/site-packages/carbon/instrumentation.pyo                               +/usr/lib/python2.7/site-packages/carbon/log.py 
-/usr/lib/python2.7/site-packages/carbon/log.py                                            +/usr/lib/python2.7/site-packages/carbon/log.pyc 
-/usr/lib/python2.7/site-packages/carbon/log.pyc                                           +/usr/lib/python2.7/site-packages/carbon/log.pyo 
-/usr/lib/python2.7/site-packages/carbon/log.pyo                                           +/usr/lib/python2.7/site-packages/carbon/management.py 
-/usr/lib/python2.7/site-packages/carbon/management.py                                     +/usr/lib/python2.7/site-packages/carbon/management.pyc 
-/usr/lib/python2.7/site-packages/carbon/management.pyc                                    +/usr/lib/python2.7/site-packages/carbon/management.pyo 
-/usr/lib/python2.7/site-packages/carbon/management.pyo                                    +/usr/lib/python2.7/site-packages/carbon/manhole.py 
-/usr/lib/python2.7/site-packages/carbon/manhole.py                                        +/usr/lib/python2.7/site-packages/carbon/manhole.pyc 
-/usr/lib/python2.7/site-packages/carbon/manhole.pyc                                       +/usr/lib/python2.7/site-packages/carbon/manhole.pyo 
-/usr/lib/python2.7/site-packages/carbon/manhole.pyo                                       +/usr/lib/python2.7/site-packages/carbon/protocols.py 
-/usr/lib/python2.7/site-packages/carbon/protocols.py                                      +/usr/lib/python2.7/site-packages/carbon/protocols.pyc 
-/usr/lib/python2.7/site-packages/carbon/protocols.pyc                                     +/usr/lib/python2.7/site-packages/carbon/protocols.pyo 
-/usr/lib/python2.7/site-packages/carbon/protocols.pyo                                     +/usr/lib/python2.7/site-packages/carbon/regexlist.py 
-/usr/lib/python2.7/site-packages/carbon/regexlist.py                                      +/usr/lib/python2.7/site-packages/carbon/regexlist.pyc 
-/usr/lib/python2.7/site-packages/carbon/regexlist.pyc                                     +/usr/lib/python2.7/site-packages/carbon/regexlist.pyo 
-/usr/lib/python2.7/site-packages/carbon/regexlist.pyo                                     +/usr/lib/python2.7/site-packages/carbon/relayrules.py 
-/usr/lib/python2.7/site-packages/carbon/relayrules.py                                     +/usr/lib/python2.7/site-packages/carbon/relayrules.pyc 
-/usr/lib/python2.7/site-packages/carbon/relayrules.pyc                                    +/usr/lib/python2.7/site-packages/carbon/relayrules.pyo
-/usr/lib/python2.7/site-packages/carbon/relayrules.pyo                                   +
 /usr/lib/python2.7/site-packages/carbon/rewrite.py /usr/lib/python2.7/site-packages/carbon/rewrite.py
 /usr/lib/python2.7/site-packages/carbon/rewrite.pyc /usr/lib/python2.7/site-packages/carbon/rewrite.pyc
Zeile 162: Zeile 170:
 /usr/lib/systemd/system/carbon-cache.service /usr/lib/systemd/system/carbon-cache.service
 /usr/lib/systemd/system/carbon-relay.service /usr/lib/systemd/system/carbon-relay.service
-/usr/share/doc/python-carbon-0.9.12 +/usr/share/doc/python-carbon-0.9.14 
-/usr/share/doc/python-carbon-0.9.12/LICENSE +/usr/share/doc/python-carbon-0.9.14/README.md 
-/usr/share/doc/python-carbon-0.9.12/README.md +/usr/share/doc/python-carbon-0.9.14/conf 
-/usr/share/doc/python-carbon-0.9.12/conf +/usr/share/doc/python-carbon-0.9.14/conf/aggregation-rules.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/aggregation-rules.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/blacklist.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/blacklist.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/carbon.amqp.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/carbon.amqp.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/carbon.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/carbon.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/relay-rules.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/relay-rules.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/rewrite-rules.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/rewrite-rules.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/storage-aggregation.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/storage-aggregation.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/storage-schemas.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/storage-schemas.conf.example +/usr/share/doc/python-carbon-0.9.14/conf/whitelist.conf.example 
-/usr/share/doc/python-carbon-0.9.12/conf/whitelist.conf.example +/usr/share/doc/python-carbon-0.9.14/examples 
-/usr/share/doc/python-carbon-0.9.12/examples +/usr/share/doc/python-carbon-0.9.14/examples/example-client.py 
-/usr/share/doc/python-carbon-0.9.12/examples/example-client.py+/usr/share/licenses/python-carbon-0.9.14 
 +/usr/share/licenses/python-carbon-0.9.14/LICENSE
 /usr/share/man/man1/carbon-aggregator.1.gz /usr/share/man/man1/carbon-aggregator.1.gz
 /usr/share/man/man1/carbon-cache.1.gz /usr/share/man/man1/carbon-cache.1.gz
Zeile 186: Zeile 195:
 /var/lib/carbon/rrd /var/lib/carbon/rrd
 /var/lib/carbon/whisper /var/lib/carbon/whisper
-/var/log/carbon +/var/log/carbon</code>
-</code>+
  
 ==== python-whisper ==== ==== python-whisper ====
Zeile 193: Zeile 201:
  
 <code>Name        : python-whisper <code>Name        : python-whisper
-Version     : 0.9.12 +Version     : 0.9.14 
-Release     : 4.el7+Release     : 1.el7.centos
 Architecture: noarch Architecture: noarch
-Install Date: Thu 19 Nov 2015 03:12:50 PM CET+Install Date: Fri 20 Nov 2015 09:46:35 PM CET
 Group       : Development/Libraries Group       : Development/Libraries
-Size        : 109732+Size        : 131480
 License     : ASL 2.0 License     : ASL 2.0
-Signature   : RSA/SHA256Tue 25 Nov 2014 07:06:20 PM CET, Key ID 6a2faea2352c64e5 +Signature   : RSA/SHA1Fri 20 Nov 2015 09:40:04 PM CET, Key ID 60ecfb9e8195aea0 
-Source RPM  : python-whisper-0.9.12-4.el7.src.rpm +Source RPM  : python-whisper-0.9.14-1.el7.centos.src.rpm 
-Build Date  : Mon 24 Nov 2014 08:15:31 PM CET +Build Date  : Fri 20 Nov 2015 09:39:52 PM CET 
-Build Host  : buildvm-05.phx2.fedoraproject.org+Build Host  : vml000200.dmz.nausch.org
 Relocations : (not relocatable) Relocations : (not relocatable)
-Packager    : Fedora Project +Packager    : Django <django@mailserver.guru>
-Vendor      : Fedora Project+
 URL         : https://github.com/graphite-project URL         : https://github.com/graphite-project
 Summary     : Simple database library for storing time-series data Summary     : Simple database library for storing time-series data
Zeile 217: Zeile 224:
 /usr/bin/rrd2whisper /usr/bin/rrd2whisper
 /usr/bin/whisper-create /usr/bin/whisper-create
 +/usr/bin/whisper-diff
 /usr/bin/whisper-dump /usr/bin/whisper-dump
 /usr/bin/whisper-fetch /usr/bin/whisper-fetch
 +/usr/bin/whisper-fill
 /usr/bin/whisper-info /usr/bin/whisper-info
 /usr/bin/whisper-merge /usr/bin/whisper-merge
Zeile 224: Zeile 233:
 /usr/bin/whisper-set-aggregation-method /usr/bin/whisper-set-aggregation-method
 /usr/bin/whisper-update /usr/bin/whisper-update
-/usr/lib/python2.7/site-packages/whisper-0.9.12-py2.7.egg-info+/usr/lib/python2.7/site-packages/whisper-0.9.14-py2.7.egg-info
 /usr/lib/python2.7/site-packages/whisper.py /usr/lib/python2.7/site-packages/whisper.py
 /usr/lib/python2.7/site-packages/whisper.pyc /usr/lib/python2.7/site-packages/whisper.pyc
 /usr/lib/python2.7/site-packages/whisper.pyo /usr/lib/python2.7/site-packages/whisper.pyo
-/usr/share/doc/python-whisper-0.9.12 +/usr/share/doc/python-whisper-0.9.14 
-/usr/share/doc/python-whisper-0.9.12/LICENSE+/usr/share/doc/python-whisper-0.9.14/README.md 
 +/usr/share/licenses/python-whisper-0.9.14 
 +/usr/share/licenses/python-whisper-0.9.14/LICENSE
 /usr/share/man/man1/rrd2whisper.1.gz /usr/share/man/man1/rrd2whisper.1.gz
 /usr/share/man/man1/whisper-create.1.gz /usr/share/man/man1/whisper-create.1.gz
 /usr/share/man/man1/whisper-dump.1.gz /usr/share/man/man1/whisper-dump.1.gz
 /usr/share/man/man1/whisper-fetch.1.gz /usr/share/man/man1/whisper-fetch.1.gz
 +/usr/share/man/man1/whisper-fill.1.gz
 /usr/share/man/man1/whisper-info.1.gz /usr/share/man/man1/whisper-info.1.gz
 /usr/share/man/man1/whisper-merge.1.gz /usr/share/man/man1/whisper-merge.1.gz
Zeile 243: Zeile 255:
  
 <code>Name        : graphite-web <code>Name        : graphite-web
-Version     : 0.9.12+Version     : 0.9.14
 Release     : 1.el7.centos Release     : 1.el7.centos
 Architecture: noarch Architecture: noarch
-Install Date: Fri 20 Mar 2015 04:30:33 PM CET+Install Date: Fri 20 Nov 2015 09:46:40 PM CET
 Group       : Applications/Internet Group       : Applications/Internet
-Size        : 9298581+Size        : 9170954
 License     : ASL 2.0 License     : ASL 2.0
-Signature   : RSA/SHA1, Fri 20 Mar 2015 03:13:41 PM CET, Key ID 60ecfb9e8195aea0 +Signature   : RSA/SHA1, Fri 20 Nov 2015 09:26:59 PM CET, Key ID 60ecfb9e8195aea0 
-Source RPM  : graphite-web-0.9.12-1.el7.centos.src.rpm +Source RPM  : graphite-web-0.9.14-1.el7.centos.src.rpm 
-Build Date  : Fri 20 Mar 2015 03:13:26 PM CET+Build Date  : Fri 20 Nov 2015 09:26:34 PM CET
 Build Host  : vml000200.dmz.nausch.org Build Host  : vml000200.dmz.nausch.org
 Relocations : (not relocatable) Relocations : (not relocatable)
Zeile 375: Zeile 387:
 /usr/lib/python2.7/site-packages/graphite/events/views.pyc /usr/lib/python2.7/site-packages/graphite/events/views.pyc
 /usr/lib/python2.7/site-packages/graphite/events/views.pyo /usr/lib/python2.7/site-packages/graphite/events/views.pyo
-/usr/lib/python2.7/site-packages/graphite/graphlot 
-/usr/lib/python2.7/site-packages/graphite/graphlot/__init__.py 
-/usr/lib/python2.7/site-packages/graphite/graphlot/__init__.pyc 
-/usr/lib/python2.7/site-packages/graphite/graphlot/__init__.pyo 
-/usr/lib/python2.7/site-packages/graphite/graphlot/urls.py 
-/usr/lib/python2.7/site-packages/graphite/graphlot/urls.pyc 
-/usr/lib/python2.7/site-packages/graphite/graphlot/urls.pyo 
-/usr/lib/python2.7/site-packages/graphite/graphlot/views.py 
-/usr/lib/python2.7/site-packages/graphite/graphlot/views.pyc 
-/usr/lib/python2.7/site-packages/graphite/graphlot/views.pyo 
 /usr/lib/python2.7/site-packages/graphite/local_settings.py /usr/lib/python2.7/site-packages/graphite/local_settings.py
 /usr/lib/python2.7/site-packages/graphite/local_settings.py.example /usr/lib/python2.7/site-packages/graphite/local_settings.py.example
Zeile 460: Zeile 462:
 /usr/lib/python2.7/site-packages/graphite/templates/event.html /usr/lib/python2.7/site-packages/graphite/templates/event.html
 /usr/lib/python2.7/site-packages/graphite/templates/events.html /usr/lib/python2.7/site-packages/graphite/templates/events.html
-/usr/lib/python2.7/site-packages/graphite/templates/graphlot.html 
 /usr/lib/python2.7/site-packages/graphite/templates/login.html /usr/lib/python2.7/site-packages/graphite/templates/login.html
 /usr/lib/python2.7/site-packages/graphite/templates/version.html /usr/lib/python2.7/site-packages/graphite/templates/version.html
 +/usr/lib/python2.7/site-packages/graphite/url_shortener
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/__init__.py
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/__init__.pyc
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/__init__.pyo
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/baseconv.py
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/baseconv.pyc
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/baseconv.pyo
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/models.py
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/models.pyc
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/models.pyo
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/views.py
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/views.pyc
 +/usr/lib/python2.7/site-packages/graphite/url_shortener/views.pyo
 /usr/lib/python2.7/site-packages/graphite/urls.py /usr/lib/python2.7/site-packages/graphite/urls.py
 /usr/lib/python2.7/site-packages/graphite/urls.pyc /usr/lib/python2.7/site-packages/graphite/urls.pyc
Zeile 492: Zeile 506:
 /usr/lib/python2.7/site-packages/graphite/whitelist/views.pyc /usr/lib/python2.7/site-packages/graphite/whitelist/views.pyc
 /usr/lib/python2.7/site-packages/graphite/whitelist/views.pyo /usr/lib/python2.7/site-packages/graphite/whitelist/views.pyo
-/usr/lib/python2.7/site-packages/graphite_web-0.9.12-py2.7.egg-info +/usr/lib/python2.7/site-packages/graphite_web-0.9.14-py2.7.egg-info 
-/usr/share/doc/graphite-web-0.9.12 +/usr/share/doc/graphite-web-0.9.14 
-/usr/share/doc/graphite-web-0.9.12/LICENSE +/usr/share/doc/graphite-web-0.9.14/README.fedora 
-/usr/share/doc/graphite-web-0.9.12/README.fedora +/usr/share/doc/graphite-web-0.9.14/dashboard.conf.example 
-/usr/share/doc/graphite-web-0.9.12/dashboard.conf.example +/usr/share/doc/graphite-web-0.9.14/example-client.py 
-/usr/share/doc/graphite-web-0.9.12/example-client.py +/usr/share/doc/graphite-web-0.9.14/example-graphite-vhost.conf 
-/usr/share/doc/graphite-web-0.9.12/example-graphite-vhost.conf +/usr/share/doc/graphite-web-0.9.14/graphTemplates.conf.example 
-/usr/share/doc/graphite-web-0.9.12/graphTemplates.conf.example +/usr/share/doc/graphite-web-0.9.14/graphite.wsgi.example
-/usr/share/doc/graphite-web-0.9.12/graphite.wsgi.example+
 /usr/share/graphite /usr/share/graphite
 /usr/share/graphite/graphite-web.wsgi /usr/share/graphite/graphite-web.wsgi
Zeile 542: Zeile 555:
 /usr/share/graphite/webapp/content/css/default/top_mid.gif /usr/share/graphite/webapp/content/css/default/top_mid.gif
 /usr/share/graphite/webapp/content/css/default/top_right.gif /usr/share/graphite/webapp/content/css/default/top_right.gif
-/usr/share/graphite/webapp/content/css/jquery.autocomplete.css 
 /usr/share/graphite/webapp/content/css/table.css /usr/share/graphite/webapp/content/css/table.css
 /usr/share/graphite/webapp/content/html /usr/share/graphite/webapp/content/html
Zeile 549: Zeile 561:
 /usr/share/graphite/webapp/content/html/timeHelp.html /usr/share/graphite/webapp/content/html/timeHelp.html
 /usr/share/graphite/webapp/content/img /usr/share/graphite/webapp/content/img
-/usr/share/graphite/webapp/content/img/I.gif 
-/usr/share/graphite/webapp/content/img/L.gif 
-/usr/share/graphite/webapp/content/img/Lminus.gif 
-/usr/share/graphite/webapp/content/img/Lplus.gif 
-/usr/share/graphite/webapp/content/img/T.gif 
-/usr/share/graphite/webapp/content/img/Tminus.gif 
-/usr/share/graphite/webapp/content/img/Tplus.gif 
-/usr/share/graphite/webapp/content/img/arrow1.gif 
 /usr/share/graphite/webapp/content/img/blank.gif /usr/share/graphite/webapp/content/img/blank.gif
-/usr/share/graphite/webapp/content/img/calBt.gif+/usr/share/graphite/webapp/content/img/calendar.png
 /usr/share/graphite/webapp/content/img/carbon-fiber.png /usr/share/graphite/webapp/content/img/carbon-fiber.png
 +/usr/share/graphite/webapp/content/img/clock.png
 /usr/share/graphite/webapp/content/img/clock_16.png /usr/share/graphite/webapp/content/img/clock_16.png
-/usr/share/graphite/webapp/content/img/delete.gif 
-/usr/share/graphite/webapp/content/img/error.png 
-/usr/share/graphite/webapp/content/img/folder.png 
 /usr/share/graphite/webapp/content/img/graphite.png /usr/share/graphite/webapp/content/img/graphite.png
 /usr/share/graphite/webapp/content/img/graphite_short.png /usr/share/graphite/webapp/content/img/graphite_short.png
-/usr/share/graphite/webapp/content/img/indicator.png 
 /usr/share/graphite/webapp/content/img/leaf.gif /usr/share/graphite/webapp/content/img/leaf.gif
-/usr/share/graphite/webapp/content/img/line_chart.png 
 /usr/share/graphite/webapp/content/img/mini-bottom2.gif /usr/share/graphite/webapp/content/img/mini-bottom2.gif
 /usr/share/graphite/webapp/content/img/mini-top2.gif /usr/share/graphite/webapp/content/img/mini-top2.gif
-/usr/share/graphite/webapp/content/img/save.gif +/usr/share/graphite/webapp/content/img/overview.png 
-/usr/share/graphite/webapp/content/img/searching.gif +/usr/share/graphite/webapp/content/img/refresh.png 
-/usr/share/graphite/webapp/content/img/updateGraph.gif+/usr/share/graphite/webapp/content/img/save.png 
 +/usr/share/graphite/webapp/content/img/share.png 
 +/usr/share/graphite/webapp/content/img/trash.png 
 +/usr/share/graphite/webapp/content/img/upload.png
 /usr/share/graphite/webapp/content/js /usr/share/graphite/webapp/content/js
 /usr/share/graphite/webapp/content/js/ace /usr/share/graphite/webapp/content/js/ace
Zeile 1079: Zeile 1082:
 /usr/share/graphite/webapp/content/js/ext/ux /usr/share/graphite/webapp/content/js/ext/ux
 /usr/share/graphite/webapp/content/js/ext/ux/DataViewTransition.js /usr/share/graphite/webapp/content/js/ext/ux/DataViewTransition.js
-/usr/share/graphite/webapp/content/js/jquery.autocomplete.js 
-/usr/share/graphite/webapp/content/js/jquery.flot.crosshair.js 
-/usr/share/graphite/webapp/content/js/jquery.flot.js 
-/usr/share/graphite/webapp/content/js/jquery.flot.selection.js 
-/usr/share/graphite/webapp/content/js/jquery.graphite.js 
-/usr/share/graphite/webapp/content/js/jquery.js 
 /usr/share/graphite/webapp/content/js/scriptaculous /usr/share/graphite/webapp/content/js/scriptaculous
 /usr/share/graphite/webapp/content/js/scriptaculous/builder.js /usr/share/graphite/webapp/content/js/scriptaculous/builder.js
Zeile 1097: Zeile 1094:
 /usr/share/graphite/webapp/content/js/window/window.js /usr/share/graphite/webapp/content/js/window/window.js
 /usr/share/graphite/webapp/content/js/window/window_effects.js /usr/share/graphite/webapp/content/js/window/window_effects.js
 +/usr/share/licenses/graphite-web-0.9.14
 +/usr/share/licenses/graphite-web-0.9.14/LICENSE
 /var/lib/graphite-web /var/lib/graphite-web
-/var/log/graphite-web +/var/log/graphite-web</code>
-</code>+
  
 ===== Konfiguration ===== ===== Konfiguration =====
Zeile 1768: Zeile 1766:
    # /usr/lib/python*/site-packages/graphite/manage.py syncdb    # /usr/lib/python*/site-packages/graphite/manage.py syncdb
  
-<code>/usr/lib/python2.7/site-packages/graphite/settings.py:231: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security +<code>Creating tables ...
-  warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security'+
-Creating tables ...+
 Creating table account_profile Creating table account_profile
 Creating table account_variable Creating table account_variable
Zeile 1973: Zeile 1969:
 <file php /etc/icingaweb2/modules/graphite/config.ini>; Django : 2015-03-20 <file php /etc/icingaweb2/modules/graphite/config.ini>; Django : 2015-03-20
 [graphite] [graphite]
-metric_prefix = icinga +metric_prefix = icinga2 
-base_url = https://graphite.nausch.org/render? +base_url = https://orwell.nausch.org/render? 
-</file>+legacy_mode = false 
 +;if legacy mode is false (2.4 and newer): 
 +service_name_template = "$host.name$.services.$service.name$.$service.check_command$.perfdata" 
 +host_name_template = "$host.name$.host.$host.check_command$.perfdata" 
 +;if legacy mode is true (pre 2.4): 
 +;service_name_template = "$host.name$.services.$service.name$.$service.check_command$" 
 +;host_name_template = "$host.name$.host.$host.check_command$" 
 +;this template is used for the small image, macro $target$ can used. 
 +graphite_args_template = "&target=$target$&source=0&width=300&height=120&hideAxes=true&lineWidth=2&hideLegend=true&colorList=049BAF" 
 +;this template is used for the large image, macro $target$ can used. 
 +graphite_large_args_template = "&target=alias(color($target$_warn,'yellow'),'warning')&target=alias(color($target$_crit,'red'),'critical')&target=$target$&source=0&width=800&height=700&colorList=049BAF&lineMode=connected"</file>
  
 ===== Programmstart ===== ===== Programmstart =====
  • centos/web_c7/icinga/graphite.txt
  • Zuletzt geändert: 22.07.2019 14:58.
  • von 127.0.0.1