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
Letzte ÜberarbeitungBeide Seiten der Revision
centos:web_c7:icinga:start [20.02.2017 17:03. ] – [icinga2] RPM-Paketinhalt 2.6.2 #CentOS7 djangocentos:web_c7:icinga:start [30.05.2020 17:28. ] – [IT Infrastruktur und System Monitoring mit Icinga 2 unter CentOS 7.x] django
Zeile 1: Zeile 1:
 ====== IT Infrastruktur und System Monitoring mit Icinga 2 unter CentOS 7.x ====== ====== IT Infrastruktur und System Monitoring mit Icinga 2 unter CentOS 7.x ======
-{{:centos:web_c7:icinga:icinga_logo.png?nolink&200 |Bild: ICINGA Logo}} +{{page>centos:web_c7:icinga:uebersicht&nofooter&noheader}} 
- Mit [[https://www.icinga.org/|Icinga]] kann man sehr leicht und einfach umfangreiche und komplexe IT-Infrastrukturen und Dienste überwachen. Icinga bietet umfassende Überwachungs- und Alarmfunktionen für Server, Switches, Anwendungen und Dienste, so dass also Störungen im Betrieb frühestmöglich erkannt und Abhilfe geschaffen werden kann. Icinga wurde im Mai 2009 von einer Gruppe von Nagios-Entwicklern als ein Fork von [[centos:web_c7:nagios1|Nagios]] ins Leben gerufen und seit dem rasant weiterentwickelt.+ 
 +{{page>centos:web_c7:icinga:inhalt&nofooter&noheader}}
  
-Tiefergehende Informationen zu Icinga selbst findet man auf der [[https://www.icinga.org/icinga/icinga-2/features/|Icinga 2 - Features Seite]] im WWW. Eine detaillierte [[http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc 
-|Installations- und Konfigurationsbeschreibung]], die bei der Erstellung dieser Installationsdokumentation wertvolle Hilfe geleistet hat, ist dort ebenfalls zu finden! 
  
 ===== Installation ===== ===== Installation =====
Zeile 300: Zeile 299:
 Im Syslog wird der Start entsprechend dokumentiert. Im Syslog wird der Start entsprechend dokumentiert.
    # less /var/log/messages    # less /var/log/messages
-<file /var/log/messages>Mar 12 10:09:42 vml000117 systemd: Starting Icinga host/service/network monitoring system... +<file /var/log/messages>Feb 20 18:04:27 vml000117 systemd: Starting Icinga host/service/network monitoring system... 
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/cli: Icinga application loader (version: v2.3.0) +Feb 20 18:04:27 vml000117 systemd: Started Icinga host/service/network monitoring system.</file>
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/cli: Loading application type: icinga/IcingaApplication +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/Utility: Loading library 'libicinga.so' +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/icinga2.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/constants.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/itl +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/checker.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/mainlog.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/notification.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/commands.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/downtimes.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/groups.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/notifications.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/satellite.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/services.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/templates.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/timeperiods.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/users.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/Utility: Loading library 'libchecker.so' +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/Utility: Loading library 'libnotification.so' +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command-icinga.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/timeperiod.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command-plugins.conf +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/Utility: Loading library 'libmethods.so' +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Committing config items +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] warning/ApplyRule: Apply rule 'satellite-host' (in /etc/icinga2/conf.d/satellite.conf: 29:1-29:41) for type 'Dependency' does not match anywhere! +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 1 Endpoint(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 1 Zone(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 45 CheckCommand(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 2 NotificationCommand(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 3 TimePeriod(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 1 CheckerComponent(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 1 FileLogger(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 1 NotificationComponent(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 2 HostGroup(s). +
-Mar 12 10:09:42 vml000117 icinga2: [2015-03-12 10:09:42 +0100] information/ConfigItem: Checked 3 ServiceGroup(s). +
-Mar 12 10:09:42 vml000117 systemd: Started Icinga host/service/network monitoring system. +
-</file>+
  
 ==== automatischer Start beim Systemstart ==== ==== automatischer Start beim Systemstart ====
Zeile 361: Zeile 319:
    # systemctl status icinga2.service    # systemctl status icinga2.service
  
-<code>icinga2.service - Icinga host/service/network monitoring system +<html><pre class="code"> 
-   Loaded: loaded (/usr/lib/systemd/system/icinga2.service; enabled) +<font style="color: rgb(0, 255, 0)"><b>● </b></font><font style="color: rgb(0, 0, 0)">icinga2.service - Icinga host/service/network monitoring system 
-   Active: active (running) since Fri 2015-03-13 08:44:37 CET; 6h ago +   Loaded: loaded (/usr/lib/systemd/system/icinga2.service; enabled; vendor preset: disabled
-  Process: 23808 ExecReload=/usr/lib/icinga2/safe-reload /etc/sysconfig/icinga2 (code=exited, status=0/SUCCESS) +   Active: <font style="color: rgb(0, 255, 0)"><b>active (running) </b></font><font style="colorrgb(0, 0, 0)">since Mon 2017-02-20 18:04:27 CET; 2min 0s ago 
-  Process31217 ExecStart=/usr/sbin/icinga2 daemon -d -e ${ICINGA2_ERROR_LOG} (code=exitedstatus=0/SUCCESS) + Main PID: 2179 (icinga2)
-  Process: 31171 ExecStartPre=/usr/lib/icinga2/prepare-dirs /etc/sysconfig/icinga2 (code=exitedstatus=0/SUCCESS+
- Main PID: 23826 (icinga2)+
    CGroup: /system.slice/icinga2.service    CGroup: /system.slice/icinga2.service
-           ├─23826 /usr/sbin/icinga2 --no-stack-rlimit daemon -d -e /var/log/icinga2/error.log --reload-internal 23480 +           ├─2176 /usr/lib64/icinga2/sbin/icinga2 --no-stack-rlimit daemon -d -e /var/log/icinga2/error.log 
-           26008 /usr/lib64/nagios/plugins/check_ping --H 10.0.0.97 -c 200,15% -w 100,5% +           2179 /usr/lib64/icinga2/sbin/icinga2 --no-stack-rlimit daemon -d -e /var/log/icinga2/error.log 
-           └─26009 /usr/bin/ping -n -U -w 10 -c 5 10.0.0.97+ 
 +Feb 20 18:04:27 vml000117.dmz.nausch.org systemd[1]: Starting Icinga host/service/network monitoring system... 
 +Feb 20 18:04:27 vml000117.dmz.nausch.org systemd[1]: Started Icinga host/service/network monitoring system.</font> 
 +</pre></html>
  
-Mar 13 14:56:26 vml000117.dmz.nausch.org safe-reload[23331]: Reloading Icinga 2: Done 
-Mar 13 14:56:26 vml000117.dmz.nausch.org systemd[1]: Reloaded Icinga host/service/network monitoring system. 
-Mar 13 14:57:21 vml000117.dmz.nausch.org systemd[1]: Reloading Icinga host/service/network monitoring system. 
-Mar 13 14:57:22 vml000117.dmz.nausch.org safe-reload[23462]: Validating config files: Done 
-Mar 13 14:57:22 vml000117.dmz.nausch.org safe-reload[23462]: Reloading Icinga 2: Done 
-Mar 13 14:57:22 vml000117.dmz.nausch.org systemd[1]: Reloaded Icinga host/service/network monitoring system. 
-</code> 
  
 ===== Konfiguration ===== ===== Konfiguration =====
Zeile 406: Zeile 358:
 <code>/etc/icinga2/ <code>/etc/icinga2/
 ├── conf.d ├── conf.d
-│   ├── commands.conf +│   ├── app.conf 
-│   ├── downtimes.conf +│   ├── commands.conf 
-│   ├── groups.conf +│   ├── downtimes.conf 
-│   ├── hosts.conf +│   ├── groups.conf 
-│   ├── notifications.conf +│   ├── hosts.conf 
-│   ├── satellite.conf +│   ├── notifications.conf 
-│   ├── services.conf +│   ├── satellite.conf 
-│   ├── templates.conf +│   ├── services.conf 
-│   ├── timeperiods.conf +│   ├── templates.conf 
-│   └── users.conf+│   ├── timeperiods.conf 
 +│   └── users.conf
 ├── constants.conf ├── constants.conf
 ├── features-available ├── features-available
-│   ├── api.conf +│   ├── api.conf 
-│   ├── checker.conf +│   ├── checker.conf 
-│   ├── command.conf +│   ├── command.conf 
-│   ├── compatlog.conf +│   ├── compatlog.conf 
-│   ├── debuglog.conf +│   ├── debuglog.conf 
-│   ├── gelf.conf +│   ├── gelf.conf 
-│   ├── graphite.conf +│   ├── graphite.conf 
-│   ├── icingastatus.conf +│   ├── influxdb.conf 
-│   ├── ido-mysql.conf +│   ├── livestatus.conf 
-│   ├── ido-pgsql.conf +│   ├── mainlog.conf 
-│   ├── livestatus.conf +│   ├── notification.conf 
-│   ├── mainlog.conf +│   ├── opentsdb.conf 
-│   ├── notification.conf +│   ├── perfdata.conf 
-│   ├── perfdata.conf +│   ├── statusdata.conf 
-│   ├── statusdata.conf +│   └── syslog.conf
-│   └── syslog.conf+
 ├── features-enabled ├── features-enabled
-│   ├── checker.conf -> ../features-available/checker.conf +│   ├── checker.conf -> ../features-available/checker.conf 
-│   ├── mainlog.conf -> ../features-available/mainlog.conf +│   ├── mainlog.conf -> ../features-available/mainlog.conf 
-│   └── notification.conf -> ../features-available/notification.conf+│   └── notification.conf -> ../features-available/notification.conf
 ├── icinga2.conf ├── icinga2.conf
 ├── init.conf ├── init.conf
 ├── repository.d ├── repository.d
-│   └── README+│   └── README
 ├── scripts ├── scripts
-│   ├── mail-host-notification.sh +│   ├── mail-host-notification.sh 
-│   └── mail-service-notification.sh+│   └── mail-service-notification.sh
 ├── zones.conf ├── zones.conf
 └── zones.d └── zones.d
-    └── README +    └── README</code>
-</code>+
  
 ===== Icinga 2 Featurelist ===== ===== Icinga 2 Featurelist =====
Zeile 629: Zeile 580:
   * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**   * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**
  
-~~DISCUSSION~~ 
-~~AUTOTWEET:~~ 
  
  • centos/web_c7/icinga/start.txt
  • Zuletzt geändert: 30.05.2020 17:30.
  • von django