Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:nagios_-_epel_installation

Nagios - EPEL Installation

Nagios „Enterprise-Class Open Source Monitoring“ - bezeichnet sich selbst als das führende System in der Überwachung von Systemen, Netzwerken und Anwendungen.

Nagios ist ein sogenanntes „Monitoring-System“, welches mit verschiedenen Möglichkeiten diverse Netzwerke und deren verschiedenste Komponenten zu überwachen vermag. Es ist allerdings nicht nur eine reine Überwachung möglich, sondern Nagios bringt auch ein ausgeklügeltes „Alerting-System“ - zur Benachrichtigung und Eskalation von Ereignissen mit.

Vorbereitung

Zur Vorbereitung der Installation von Nagios, soll hier das externe Repository EPEL eingebunden werden.

EPEL-Repository einbinden

Bevor externe Repository's auf den Servern/Knoten eingebunden werden, sollte sichergestellt werden, dass keine Pakete aus externen Repositorys, die der eigentlichen CentOS-Repositorys überschreiben.

Dies kann durch die Installation des sogenannten

  • Priorities-Plugin für den Paket-Manager yum

erfolgen.

Die Installation des Priorities-Plugin für den Paket-Manager yum wird durch nachfolgenden Befehl durchgeführt:

# yum install yum-plugin-priorities
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-priorities.noarch 0:1.1.30-14.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch         Version              Repository  Size
================================================================================
Installing:
 yum-plugin-priorities       noarch       1.1.30-14.el6        base        22 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 22 k
Installed size: 28 k
Is this ok [y/N]: y
Downloading Packages:
yum-plugin-priorities-1.1.30-14.el6.noarch.rpm           |  22 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-priorities-1.1.30-14.el6.noarch                   1/1 
  Verifying  : yum-plugin-priorities-1.1.30-14.el6.noarch                   1/1 

Installed:
  yum-plugin-priorities.noarch 0:1.1.30-14.el6                                  

Complete!

Der Inhalt des Paketes yum-plugin-priorities kann mit nachfolgendem Befehl angezeigt werden:

# rpm -qil yum-plugin-priorities
Name        : yum-plugin-priorities        Relocations: (not relocatable)
Version     : 1.1.30                            Vendor: CentOS
Release     : 14.el6                        Build Date: Fri 22 Jun 2012 02:23:05 PM CEST
Install Date: Fri 07 Sep 2012 11:28:52 AM CEST      Build Host: c6b8.bsys.dev.centos.org
Group       : System Environment/Base       Source RPM: yum-utils-1.1.30-14.el6.src.rpm
Size        : 28555                            License: GPLv2+
Signature   : RSA/SHA1, Mon 25 Jun 2012 12:20:22 AM CEST, Key ID 0946fca2c105b9de
Packager    : CentOS BuildSystem <http://bugs.centos.org>
URL         : http://yum.baseurl.org/download/yum-utils/
Summary     : plugin to give priorities to packages from different repos
Description :
This plugin allows repositories to have different priorities.
Packages in a repository with a lower priority can't be overridden by packages
from a repository with a higher priority even if repo has a later version.
/etc/yum/pluginconf.d/priorities.conf
/usr/lib/yum-plugins/priorities.py
/usr/lib/yum-plugins/priorities.pyc
/usr/lib/yum-plugins/priorities.pyo
/usr/share/doc/yum-plugin-priorities-1.1.30
/usr/share/doc/yum-plugin-priorities-1.1.30/COPYING

Entscheidend ist nun, im Verzeichnis

  • /etc/yum.repos.d/

den dort enthaltenen Repository-Konfigurationsdateien, durch Ergänzung nachfolgender Zeile, eine Priorität zuzuweisen (nur relevanter Ausschnitt):

...
priority=1
...

Was im Beispiel der Konfigurationsdatei

  • /etc/yum.repos.d/Centos-Base-repo

dann wie folgt aussehen könnte (nur beispielhafter relevanter Ausschnitt):

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1
...

:!: HINWEIS - Den eigenen Rpository's aus CentOS sollte eine höhere Priorität, durch Zuweisung einer kleineren Zahl gegeben werden!

Um EPEL auf den Servern/Knoten Nutzen zu können, muss nachfolgende Datei heruntergeladen werden, was mit nachfolgendem Befehl durchgeführt werden kann:

# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
--2012-09-07 13:06:13--  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
Resolving dl.fedoraproject.org... 209.132.181.23, 209.132.181.24, 209.132.181.25, ...
Connecting to dl.fedoraproject.org|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14496 (14K) [application/x-rpm]
Saving to: “epel-release-6-7.noarch.rpm”

100%[======================================>] 14,496      72.2K/s   in 0.2s    

2012-09-07 13:06:14 (72.2 KB/s) - “epel-release-6-7.noarch.rpm” saved [14496/14496]

Anschließend sollte zur Prüfung der Echtheit des soeben heruntergeladenen rpm-Pakets

  • epel-release-6-7.noarch.rpm

dessen Schlüssel, mit dem das Paket signiert wurde, in die RPM-Paket-Verwaltung importiert werden:

# rpm --import https://fedoraproject.org/static/0608B895.txt

Danach kann das so heruntergeladene Paket, mit nachfolgendem Befehl auf dessen Echtheit, überprüft werden:

# rpm -K epel-release-6-7.noarch.rpm 
epel-release-6-7.noarch.rpm: rsa sha1 (md5) pgp md5 OK

Abschließend kann dann, mit nachfolgendem Befehl, das Paket installiert werden:

# yum localinstall epel-release-6-7.noarch.rpm 
Loaded plugins: fastestmirror, priorities
Setting up Local Package Process
Examining epel-release-6-7.noarch.rpm: epel-release-6-7.noarch
Marking epel-release-6-7.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
base                                                     | 3.7 kB     00:00     
extras                                                   | 3.0 kB     00:00     
updates                                                  | 3.5 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch         Version   Repository                      Size
================================================================================
Installing:
 epel-release       noarch       6-7       /epel-release-6-7.noarch        22 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 22 k
Installed size: 22 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : epel-release-6-7.noarch                                      1/1 
  Verifying  : epel-release-6-7.noarch                                      1/1 

Installed:
  epel-release.noarch 0:6-7                                                     

Complete!

Der Inhalt des Pakets epel-release-6-7.noarch kann mit nachfolgendem Befehl angezeigt werden:

# rpm -qil epel-release
Name        : epel-release                 Relocations: (not relocatable)
Version     : 6                                 Vendor: Fedora Project
Release     : 7                             Build Date: Wed 09 May 2012 05:58:17 PM CEST
Install Date: Fri 07 Sep 2012 11:41:46 AM CEST      Build Host: x86-03.phx2.fedoraproject.org
Group       : System Environment/Base       Source RPM: epel-release-6-7.src.rpm
Size        : 22169                            License: GPLv2
Signature   : RSA/8, Thu 10 May 2012 05:00:09 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://download.fedora.redhat.com/pub/epel
Summary     : Extra Packages for Enterprise Linux repository configuration
Description :
This package contains the Extra Packages for Enterprise Linux (EPEL) repository
GPG key as well as configuration for yum and up2date.
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
/etc/rpm/macros.ghc-srpm
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/usr/share/doc/epel-release-6
/usr/share/doc/epel-release-6/GPL

:!: HINWEIS - Abschließend sollte hier die Priorität des EPEL-Repositorys, eine niedrigere Priorität, durch Zuweisung einer größeren Zahl, als die der eigenen Rpository's aus CentOS gegeben werden!

Was im Beispiel der Konfigurationsdatei

  • /etc/yum.repos.d/epel.repo

dann wie folgt aussehen könnte (nur beispielhafter relevanter Ausschnitt):

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=10
...

Installation

Ab hier werden root-Rechte zur Ausführung der nachfolgenden Befehle benötigt. Um root zu werden geben Sie bitte folgenden Befehl ein:

$ su -
Password: 

Folgender Befehl kann (nach Einbindung des EPEL-Repository) zu Installation von Nagios angewendet werden:

# yum install nagios
Loaded plugins: priorities
1247 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nagios.x86_64 0:3.4.1-2.el6 will be installed
--> Processing Dependency: user(nagios) for package: nagios-3.4.1-2.el6.x86_64
--> Processing Dependency: user(nagios) for package: nagios-3.4.1-2.el6.x86_64
--> Processing Dependency: nagios-common for package: nagios-3.4.1-2.el6.x86_64
--> Processing Dependency: group(nagios) for package: nagios-3.4.1-2.el6.x86_64
--> Processing Dependency: group(nagios) for package: nagios-3.4.1-2.el6.x86_64
--> Running transaction check
---> Package nagios-common.x86_64 0:3.4.1-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch           Version                Repository    Size
================================================================================
Installing:
 nagios                x86_64         3.4.1-2.el6            epel         1.2 M
Installing for dependencies:
 nagios-common         x86_64         3.4.1-2.el6            epel          16 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 1.2 M
Installed size: 5.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): nagios-3.4.1-2.el6.x86_64.rpm                     | 1.2 MB     00:00
(2/2): nagios-common-3.4.1-2.el6.x86_64.rpm              |  16 kB     00:00
--------------------------------------------------------------------------------
Total                                            11 MB/s | 1.2 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nagios-common-3.4.1-2.el6.x86_64                             1/2
  Installing : nagios-3.4.1-2.el6.x86_64                                    2/2
  Verifying  : nagios-common-3.4.1-2.el6.x86_64                             1/2
  Verifying  : nagios-3.4.1-2.el6.x86_64                                    2/2

Installed:
  nagios.x86_64 0:3.4.1-2.el6

Dependency Installed:
  nagios-common.x86_64 0:3.4.1-2.el6

Complete!

Folgender Inhalt befindet sich im RPM-Paket nagios.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil nagios | more
Name        : nagios                       Relocations: (not relocatable)
Version     : 3.4.1                             Vendor: Fedora Project
Release     : 2.el6                         Build Date: Sun 01 Jul 2012 11:40:51
 PM CEST
Install Date: Fri 02 Nov 2012 09:57:02 AM CET      Build Host: x86-05.phx2.fedor
aproject.org
Group       : Applications/System           Source RPM: nagios-3.4.1-2.el6.src.r
pm
Size        : 5573710                          License: GPLv2
Signature   : RSA/8, Tue 03 Jul 2012 02:39:38 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.nagios.org/
Summary     : Nagios monitors hosts and services and yells if somethings breaks
Description :
Nagios is a program that will monitor hosts and services on your
network.  It has the ability to send email or page alerts when a
problem arises and when a problem is resolved.  Nagios is written
in C and is designed to run under Linux (and some other *NIX
variants) as a background process, intermittently running checks
on various services that you specify.

The actual service checks are performed by separate "plugin" programs
which return the status of the checks to Nagios. The plugins are
available at http://sourceforge.net/projects/nagiosplug.

This package provides the core program, web interface, and documentation
files for Nagios. Development files are built as a separate package.
/etc/httpd/conf.d/nagios.conf
/etc/logrotate.d/nagios
/etc/nagios/cgi.cfg
/etc/nagios/conf.d/internet.cfg
/etc/nagios/nagios.cfg
/etc/nagios/objects
/etc/nagios/objects/commands.cfg
/etc/nagios/objects/contacts.cfg
/etc/nagios/objects/localhost.cfg
/etc/nagios/objects/printer.cfg
/etc/nagios/objects/switch.cfg
/etc/nagios/objects/templates.cfg
/etc/nagios/objects/timeperiods.cfg
/etc/nagios/objects/windows.cfg
/etc/nagios/passwd
/etc/nagios/private
/etc/nagios/private/resource.cfg
/etc/rc.d/init.d/nagios
/usr/bin/nagiostats
/usr/lib64/nagios/cgi-bin
/usr/lib64/nagios/cgi-bin/avail.cgi
/usr/lib64/nagios/cgi-bin/cmd.cgi
/usr/lib64/nagios/cgi-bin/config.cgi
/usr/lib64/nagios/cgi-bin/extinfo.cgi
/usr/lib64/nagios/cgi-bin/histogram.cgi
/usr/lib64/nagios/cgi-bin/history.cgi
/usr/lib64/nagios/cgi-bin/notifications.cgi
/usr/lib64/nagios/cgi-bin/outages.cgi
/usr/lib64/nagios/cgi-bin/showlog.cgi
/usr/lib64/nagios/cgi-bin/status.cgi
/usr/lib64/nagios/cgi-bin/statusmap.cgi
/usr/lib64/nagios/cgi-bin/statuswml.cgi
/usr/lib64/nagios/cgi-bin/statuswrl.cgi
/usr/lib64/nagios/cgi-bin/summary.cgi
/usr/lib64/nagios/cgi-bin/tac.cgi
/usr/lib64/nagios/cgi-bin/trends.cgi
/usr/lib64/nagios/plugins/eventhandlers
/usr/sbin/nagios
/usr/sbin/p1.pl
/usr/share/doc/nagios-3.4.1
/usr/share/doc/nagios-3.4.1/Changelog
/usr/share/doc/nagios-3.4.1/INSTALLING
/usr/share/doc/nagios-3.4.1/LICENSE
/usr/share/doc/nagios-3.4.1/README
/usr/share/doc/nagios-3.4.1/UPGRADING
/usr/share/doc/nagios-3.4.1/UpgradeToVersion3.ReadMe
/usr/share/doc/nagios-3.4.1/UpgradeToVersion3.sh
/usr/share/nagios
/usr/share/nagios/html
/usr/share/nagios/html/config.inc.php
/usr/share/nagios/html/contexthelp
/usr/share/nagios/html/contexthelp/A1.html
/usr/share/nagios/html/contexthelp/A2.html
/usr/share/nagios/html/contexthelp/A3.html
/usr/share/nagios/html/contexthelp/A4.html
/usr/share/nagios/html/contexthelp/A5.html
/usr/share/nagios/html/contexthelp/A6.html
/usr/share/nagios/html/contexthelp/A7.html
/usr/share/nagios/html/contexthelp/B1.html
/usr/share/nagios/html/contexthelp/C1.html
/usr/share/nagios/html/contexthelp/D1.html
/usr/share/nagios/html/contexthelp/E1.html
/usr/share/nagios/html/contexthelp/F1.html
/usr/share/nagios/html/contexthelp/G1.html
/usr/share/nagios/html/contexthelp/G2.html
/usr/share/nagios/html/contexthelp/G3.html
/usr/share/nagios/html/contexthelp/G4.html
/usr/share/nagios/html/contexthelp/G5.html
/usr/share/nagios/html/contexthelp/G6.html
/usr/share/nagios/html/contexthelp/H1.html
/usr/share/nagios/html/contexthelp/H2.html
/usr/share/nagios/html/contexthelp/H3.html
/usr/share/nagios/html/contexthelp/H4.html
/usr/share/nagios/html/contexthelp/H5.html
/usr/share/nagios/html/contexthelp/H6.html
/usr/share/nagios/html/contexthelp/H7.html
/usr/share/nagios/html/contexthelp/H8.html
/usr/share/nagios/html/contexthelp/I1.html
/usr/share/nagios/html/contexthelp/I2.html
/usr/share/nagios/html/contexthelp/I3.html
/usr/share/nagios/html/contexthelp/I4.html
/usr/share/nagios/html/contexthelp/I5.html
/usr/share/nagios/html/contexthelp/I6.html
/usr/share/nagios/html/contexthelp/I7.html
/usr/share/nagios/html/contexthelp/I8.html
/usr/share/nagios/html/contexthelp/I9.html
/usr/share/nagios/html/contexthelp/J1.html
/usr/share/nagios/html/contexthelp/K1.html
/usr/share/nagios/html/contexthelp/L1.html
/usr/share/nagios/html/contexthelp/L10.html
/usr/share/nagios/html/contexthelp/L11.html
/usr/share/nagios/html/contexthelp/L12.html
/usr/share/nagios/html/contexthelp/L13.html
/usr/share/nagios/html/contexthelp/L2.html
/usr/share/nagios/html/contexthelp/L3.html
/usr/share/nagios/html/contexthelp/L4.html
/usr/share/nagios/html/contexthelp/L5.html
/usr/share/nagios/html/contexthelp/L6.html
/usr/share/nagios/html/contexthelp/L7.html
/usr/share/nagios/html/contexthelp/L8.html
/usr/share/nagios/html/contexthelp/L9.html
/usr/share/nagios/html/contexthelp/M1.html
/usr/share/nagios/html/contexthelp/M2.html
/usr/share/nagios/html/contexthelp/M3.html
/usr/share/nagios/html/contexthelp/M4.html
/usr/share/nagios/html/contexthelp/M5.html
/usr/share/nagios/html/contexthelp/M6.html
/usr/share/nagios/html/contexthelp/N1.html
/usr/share/nagios/html/contexthelp/N2.html
/usr/share/nagios/html/contexthelp/N3.html
/usr/share/nagios/html/contexthelp/N4.html
/usr/share/nagios/html/contexthelp/N5.html
/usr/share/nagios/html/contexthelp/N6.html
/usr/share/nagios/html/contexthelp/N7.html
/usr/share/nagios/html/docs
/usr/share/nagios/html/docs/images
/usr/share/nagios/html/images
/usr/share/nagios/html/images/Nagios-clearbg.png
/usr/share/nagios/html/images/NagiosEnterprises-whitebg-112x46.png
/usr/share/nagios/html/images/ack.gif
/usr/share/nagios/html/images/action-graph.gif
/usr/share/nagios/html/images/action-nagios.gif
/usr/share/nagios/html/images/action-orig.gif
/usr/share/nagios/html/images/action.gif
/usr/share/nagios/html/images/b_first2.png
/usr/share/nagios/html/images/b_last2.png
/usr/share/nagios/html/images/b_next2.png
/usr/share/nagios/html/images/b_prev2.png
/usr/share/nagios/html/images/command.png
/usr/share/nagios/html/images/comment.gif
/usr/share/nagios/html/images/contexthelp1.gif
/usr/share/nagios/html/images/contexthelp2.gif
/usr/share/nagios/html/images/critical.png
/usr/share/nagios/html/images/delay.gif
/usr/share/nagios/html/images/delete.gif
/usr/share/nagios/html/images/detail.gif
/usr/share/nagios/html/images/disabled.gif
/usr/share/nagios/html/images/down.gif
/usr/share/nagios/html/images/downtime.gif
/usr/share/nagios/html/images/empty.gif
/usr/share/nagios/html/images/enabled.gif
/usr/share/nagios/html/images/extinfo.gif
/usr/share/nagios/html/images/favicon.ico
/usr/share/nagios/html/images/flapping.gif
/usr/share/nagios/html/images/globe-support-150x150.png
/usr/share/nagios/html/images/graph.gif
/usr/share/nagios/html/images/greendot.gif
/usr/share/nagios/html/images/histogram.png
/usr/share/nagios/html/images/history.gif
/usr/share/nagios/html/images/hostevent.gif
/usr/share/nagios/html/images/info.png
/usr/share/nagios/html/images/left.gif
/usr/share/nagios/html/images/logofullsize.png
/usr/share/nagios/html/images/logos
/usr/share/nagios/html/images/logos/aix.gd2
/usr/share/nagios/html/images/logos/aix.gif
/usr/share/nagios/html/images/logos/aix.jpg
/usr/share/nagios/html/images/logos/aix.png
/usr/share/nagios/html/images/logos/amiga.gd2
/usr/share/nagios/html/images/logos/amiga.gif
/usr/share/nagios/html/images/logos/amiga.jpg
/usr/share/nagios/html/images/logos/amiga.png
/usr/share/nagios/html/images/logos/apple.gd2
/usr/share/nagios/html/images/logos/apple.gif
/usr/share/nagios/html/images/logos/apple.jpg
/usr/share/nagios/html/images/logos/apple.png
/usr/share/nagios/html/images/logos/beos.gd2
/usr/share/nagios/html/images/logos/beos.gif
/usr/share/nagios/html/images/logos/beos.jpg
/usr/share/nagios/html/images/logos/beos.png
/usr/share/nagios/html/images/logos/bluetooth.png
/usr/share/nagios/html/images/logos/caldera.gd2
/usr/share/nagios/html/images/logos/caldera.gif
/usr/share/nagios/html/images/logos/caldera.jpg
/usr/share/nagios/html/images/logos/caldera.png
/usr/share/nagios/html/images/logos/cat1900.gd2
/usr/share/nagios/html/images/logos/cat2900.gd2
/usr/share/nagios/html/images/logos/cat5000.gd2
/usr/share/nagios/html/images/logos/database.gd2
/usr/share/nagios/html/images/logos/database.gif
/usr/share/nagios/html/images/logos/debian.gd2
/usr/share/nagios/html/images/logos/debian.gif
/usr/share/nagios/html/images/logos/debian.jpg
/usr/share/nagios/html/images/logos/debian.png
/usr/share/nagios/html/images/logos/desktop-server.gd2
/usr/share/nagios/html/images/logos/desktop-server.gif
/usr/share/nagios/html/images/logos/ethernet_card.png
/usr/share/nagios/html/images/logos/fax.gd2
/usr/share/nagios/html/images/logos/fax.gif
/usr/share/nagios/html/images/logos/firewall.gd2
/usr/share/nagios/html/images/logos/firewall.gif
/usr/share/nagios/html/images/logos/freebsd40.gd2
/usr/share/nagios/html/images/logos/freebsd40.gif
/usr/share/nagios/html/images/logos/freebsd40.jpg
/usr/share/nagios/html/images/logos/freebsd40.png
/usr/share/nagios/html/images/logos/globe.png
/usr/share/nagios/html/images/logos/graph.gif
/usr/share/nagios/html/images/logos/hp-printer40.gd2
/usr/share/nagios/html/images/logos/hp-printer40.gif
/usr/share/nagios/html/images/logos/hp-printer40.jpg
/usr/share/nagios/html/images/logos/hp-printer40.png
/usr/share/nagios/html/images/logos/hpux.gd2
/usr/share/nagios/html/images/logos/hpux.gif
/usr/share/nagios/html/images/logos/hpux.jpg
/usr/share/nagios/html/images/logos/hpux.png
/usr/share/nagios/html/images/logos/hub.gd2
/usr/share/nagios/html/images/logos/hub.gif
/usr/share/nagios/html/images/logos/internet.gd2
/usr/share/nagios/html/images/logos/internet.gif
/usr/share/nagios/html/images/logos/internet_device.png
/usr/share/nagios/html/images/logos/ip-pbx.gd2
/usr/share/nagios/html/images/logos/ip-pbx.gif
/usr/share/nagios/html/images/logos/irix.gd2
/usr/share/nagios/html/images/logos/irix.gif
/usr/share/nagios/html/images/logos/irix.jpg
/usr/share/nagios/html/images/logos/irix.png
/usr/share/nagios/html/images/logos/linux40.gd2
/usr/share/nagios/html/images/logos/linux40.gif
/usr/share/nagios/html/images/logos/linux40.jpg
/usr/share/nagios/html/images/logos/linux40.png
/usr/share/nagios/html/images/logos/logo.gd2
/usr/share/nagios/html/images/logos/mac40.gd2
/usr/share/nagios/html/images/logos/mac40.gif
/usr/share/nagios/html/images/logos/mac40.jpg
/usr/share/nagios/html/images/logos/mac40.png
/usr/share/nagios/html/images/logos/mainframe.gd2
/usr/share/nagios/html/images/logos/mainframe.gif
/usr/share/nagios/html/images/logos/mandrake.gd2
/usr/share/nagios/html/images/logos/mandrake.gif
/usr/share/nagios/html/images/logos/mandrake.jpg
/usr/share/nagios/html/images/logos/mandrake.png
/usr/share/nagios/html/images/logos/monitor.png
/usr/share/nagios/html/images/logos/nagios.gd2
/usr/share/nagios/html/images/logos/nagios.gif
/usr/share/nagios/html/images/logos/nagiosvrml.png
/usr/share/nagios/html/images/logos/next.gd2
/usr/share/nagios/html/images/logos/next.gif
/usr/share/nagios/html/images/logos/next.jpg
/usr/share/nagios/html/images/logos/next.png
/usr/share/nagios/html/images/logos/ng-switch40.gd2
/usr/share/nagios/html/images/logos/ng-switch40.gif
/usr/share/nagios/html/images/logos/ng-switch40.jpg
/usr/share/nagios/html/images/logos/ng-switch40.png
/usr/share/nagios/html/images/logos/notebook.gd2
/usr/share/nagios/html/images/logos/notebook.gif
/usr/share/nagios/html/images/logos/novell40.gd2
/usr/share/nagios/html/images/logos/novell40.gif
/usr/share/nagios/html/images/logos/novell40.jpg
/usr/share/nagios/html/images/logos/novell40.png
/usr/share/nagios/html/images/logos/openbsd.gd2
/usr/share/nagios/html/images/logos/openbsd.gif
/usr/share/nagios/html/images/logos/openbsd.jpg
/usr/share/nagios/html/images/logos/openbsd.png
/usr/share/nagios/html/images/logos/printer.gd2
/usr/share/nagios/html/images/logos/printer.gif
/usr/share/nagios/html/images/logos/rack-server.gd2
/usr/share/nagios/html/images/logos/rack-server.gif
/usr/share/nagios/html/images/logos/redhat.gd2
/usr/share/nagios/html/images/logos/redhat.gif
/usr/share/nagios/html/images/logos/redhat.jpg
/usr/share/nagios/html/images/logos/redhat.png
/usr/share/nagios/html/images/logos/router.gd2
/usr/share/nagios/html/images/logos/router.gif
/usr/share/nagios/html/images/logos/router40.gd2
/usr/share/nagios/html/images/logos/router40.gif
/usr/share/nagios/html/images/logos/router40.jpg
/usr/share/nagios/html/images/logos/router40.png
/usr/share/nagios/html/images/logos/san.gd2
/usr/share/nagios/html/images/logos/san.gif
/usr/share/nagios/html/images/logos/satellite.png
/usr/share/nagios/html/images/logos/server.png
/usr/share/nagios/html/images/logos/signal.png
/usr/share/nagios/html/images/logos/slackware.gd2
/usr/share/nagios/html/images/logos/slackware.gif
/usr/share/nagios/html/images/logos/slackware.jpg
/usr/share/nagios/html/images/logos/slackware.png
/usr/share/nagios/html/images/logos/stampede.gd2
/usr/share/nagios/html/images/logos/stampede.gif
/usr/share/nagios/html/images/logos/stampede.jpg
/usr/share/nagios/html/images/logos/stampede.png
/usr/share/nagios/html/images/logos/station.gd2
/usr/share/nagios/html/images/logos/storm.gd2
/usr/share/nagios/html/images/logos/storm.gif
/usr/share/nagios/html/images/logos/storm.jpg
/usr/share/nagios/html/images/logos/storm.png
/usr/share/nagios/html/images/logos/sun40.gd2
/usr/share/nagios/html/images/logos/sun40.gif
/usr/share/nagios/html/images/logos/sun40.jpg
/usr/share/nagios/html/images/logos/sun40.png
/usr/share/nagios/html/images/logos/sunlogo.gd2
/usr/share/nagios/html/images/logos/sunlogo.gif
/usr/share/nagios/html/images/logos/sunlogo.jpg
/usr/share/nagios/html/images/logos/sunlogo.png
/usr/share/nagios/html/images/logos/switch.gd2
/usr/share/nagios/html/images/logos/switch.gif
/usr/share/nagios/html/images/logos/switch40.gd2
/usr/share/nagios/html/images/logos/switch40.gif
/usr/share/nagios/html/images/logos/switch40.jpg
/usr/share/nagios/html/images/logos/switch40.png
/usr/share/nagios/html/images/logos/thin-client.gd2
/usr/share/nagios/html/images/logos/thin-client.gif
/usr/share/nagios/html/images/logos/turbolinux.gd2
/usr/share/nagios/html/images/logos/turbolinux.gif
/usr/share/nagios/html/images/logos/turbolinux.jpg
/usr/share/nagios/html/images/logos/turbolinux.png
/usr/share/nagios/html/images/logos/ultrapenguin.gd2
/usr/share/nagios/html/images/logos/ultrapenguin.gif
/usr/share/nagios/html/images/logos/ultrapenguin.jpg
/usr/share/nagios/html/images/logos/ultrapenguin.png
/usr/share/nagios/html/images/logos/unicos.gd2
/usr/share/nagios/html/images/logos/unicos.gif
/usr/share/nagios/html/images/logos/unicos.jpg
/usr/share/nagios/html/images/logos/unicos.png
/usr/share/nagios/html/images/logos/unknown.gd2
/usr/share/nagios/html/images/logos/unknown.gif
/usr/share/nagios/html/images/logos/webcamera.png
/usr/share/nagios/html/images/logos/wifi.gd2
/usr/share/nagios/html/images/logos/wifi.gif
/usr/share/nagios/html/images/logos/wifi_modem.png
/usr/share/nagios/html/images/logos/win40.gd2
/usr/share/nagios/html/images/logos/win40.gif
/usr/share/nagios/html/images/logos/win40.jpg
/usr/share/nagios/html/images/logos/win40.png
/usr/share/nagios/html/images/logos/workstation.gd2
/usr/share/nagios/html/images/logos/workstation.gif
/usr/share/nagios/html/images/logos/workstation.png
/usr/share/nagios/html/images/logos/workstation_locked.png
/usr/share/nagios/html/images/logos/yellowdog.gd2
/usr/share/nagios/html/images/logos/yellowdog.gif
/usr/share/nagios/html/images/logos/yellowdog.jpg
/usr/share/nagios/html/images/logos/yellowdog.png
/usr/share/nagios/html/images/logrotate.png
/usr/share/nagios/html/images/ndisabled.gif
/usr/share/nagios/html/images/noack.gif
/usr/share/nagios/html/images/notes.gif
/usr/share/nagios/html/images/notify.gif
/usr/share/nagios/html/images/orangedot.gif
/usr/share/nagios/html/images/passiveonly.gif
/usr/share/nagios/html/images/recovery.png
/usr/share/nagios/html/images/redudancy.png
/usr/share/nagios/html/images/redundancy.png
/usr/share/nagios/html/images/restart.gif
/usr/share/nagios/html/images/right.gif
/usr/share/nagios/html/images/sblogo.png
/usr/share/nagios/html/images/serviceevent.gif
/usr/share/nagios/html/images/sflogo.png
/usr/share/nagios/html/images/splunk1.gif
/usr/share/nagios/html/images/splunk2.gif
/usr/share/nagios/html/images/start.gif
/usr/share/nagios/html/images/status.gif
/usr/share/nagios/html/images/status2.gif
/usr/share/nagios/html/images/status3.gif
/usr/share/nagios/html/images/status4.gif
/usr/share/nagios/html/images/stop.gif
/usr/share/nagios/html/images/tacdisabled.jpg
/usr/share/nagios/html/images/tacdisabled.png
/usr/share/nagios/html/images/tacenabled.jpg
/usr/share/nagios/html/images/tacenabled.png
/usr/share/nagios/html/images/thermcrit.png
/usr/share/nagios/html/images/thermok.png
/usr/share/nagios/html/images/thermwarn.png
/usr/share/nagios/html/images/trends.gif
/usr/share/nagios/html/images/trendshost.png
/usr/share/nagios/html/images/trendssvc.png
/usr/share/nagios/html/images/unknown.png
/usr/share/nagios/html/images/up.gif
/usr/share/nagios/html/images/warning.png
/usr/share/nagios/html/images/weblogo1.png
/usr/share/nagios/html/images/zoom1.gif
/usr/share/nagios/html/images/zoom2.gif
/usr/share/nagios/html/includes
/usr/share/nagios/html/includes/jquery-1.7.1.min.js
/usr/share/nagios/html/includes/rss
/usr/share/nagios/html/includes/rss/extlib
/usr/share/nagios/html/includes/rss/extlib/Snoopy.class.inc
/usr/share/nagios/html/includes/rss/rss_cache.inc
/usr/share/nagios/html/includes/rss/rss_fetch.inc
/usr/share/nagios/html/includes/rss/rss_parse.inc
/usr/share/nagios/html/includes/rss/rss_utils.inc
/usr/share/nagios/html/includes/utils.inc.php
/usr/share/nagios/html/index.php
/usr/share/nagios/html/js
/usr/share/nagios/html/js/jquery-1.7.1.min.js
/usr/share/nagios/html/main.php
/usr/share/nagios/html/media
/usr/share/nagios/html/robots.txt
/usr/share/nagios/html/rss-corefeed.php
/usr/share/nagios/html/rss-newsfeed.php
/usr/share/nagios/html/side.php
/usr/share/nagios/html/ssi
/usr/share/nagios/html/stylesheets
/usr/share/nagios/html/stylesheets/avail.css
/usr/share/nagios/html/stylesheets/checksanity.css
/usr/share/nagios/html/stylesheets/cmd.css
/usr/share/nagios/html/stylesheets/common.css
/usr/share/nagios/html/stylesheets/config.css
/usr/share/nagios/html/stylesheets/extinfo.css
/usr/share/nagios/html/stylesheets/histogram.css
/usr/share/nagios/html/stylesheets/history.css
/usr/share/nagios/html/stylesheets/ministatus.css
/usr/share/nagios/html/stylesheets/notifications.css
/usr/share/nagios/html/stylesheets/outages.css
/usr/share/nagios/html/stylesheets/showlog.css
/usr/share/nagios/html/stylesheets/status.css
/usr/share/nagios/html/stylesheets/statusmap.css
/usr/share/nagios/html/stylesheets/summary.css
/usr/share/nagios/html/stylesheets/tac.css
/usr/share/nagios/html/stylesheets/trends.css
/var/log/nagios
/var/log/nagios/archives
/var/log/nagios/spool
/var/log/nagios/spool/checkresults
/var/spool/nagios/cmd

Folgender Benutzer wurde ebenfalls angelegt, was mit folgende Befehl überprüft werden kann:

# cat /etc/passwd | grep nagios
nagios:x:400:400::/var/spool/nagios:/sbin/nologin
Desweiteren wurden auch folgende Gruppen angelegt, was mit folgendem Befehl überprüft werden kann:
# cat /etc/group | grep nagio
nagiocmd:x:600:apache
nagios:x:400:apache

Desweiteren ist nachfolgendes RPM-Paket zum erfolgreichen Betrieb von Nagios erforderlich und wird mit folgendem Befehl installiert:

# yum install nagios-plugins-all
Loaded plugins: priorities
1247 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nagios-plugins-all.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: nagios-plugins-wave for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-users for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ups for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-time for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-tcp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-swap for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ssh for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-snmp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-smtp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-sensors for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-rpc for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-real for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-procs for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ping for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-pgsql for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-overcr for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-oracle for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-nwstat for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ntp-perl for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ntp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-nt for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-nagios for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mysql for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mrtgtraf for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mrtg for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mailq for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-log for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-load for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ldap for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ircd for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ide_smart for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-icmp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-http for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-hpjd for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-game for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-fping for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-flexlm for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-file_age for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dummy for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dns for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-disk_smb for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-disk for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dig for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dhcp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-cluster for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-by_ssh for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-breeze for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Running transaction check
---> Package nagios-plugins-breeze.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: nagios-plugins = 1.4.16-5.el6 for package: nagios-plugins-breeze-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-perl for package: nagios-plugins-breeze-1.4.16-5.el6.x86_64
---> Package nagios-plugins-by_ssh.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-cluster.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-dhcp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-dig.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-disk.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-disk_smb.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/bin/smbclient for package: nagios-plugins-disk_smb-1.4.16-5.el6.x86_64
---> Package nagios-plugins-dns.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-dummy.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-file_age.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-flexlm.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-fping.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/sbin/fping for package: nagios-plugins-fping-1.4.16-5.el6.x86_64
---> Package nagios-plugins-game.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: qstat for package: nagios-plugins-game-1.4.16-5.el6.x86_64
---> Package nagios-plugins-hpjd.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-http.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-icmp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ide_smart.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ircd.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ldap.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-load.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-log.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mailq.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mrtg.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mrtgtraf.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mysql.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-nagios.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-nt.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ntp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ntp-perl.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-nwstat.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-oracle.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-overcr.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-pgsql.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: nagios-plugins-pgsql-1.4.16-5.el6.x86_64
---> Package nagios-plugins-ping.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-procs.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-real.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-rpc.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/sbin/rpcinfo for package: nagios-plugins-rpc-1.4.16-5.el6.x86_64
---> Package nagios-plugins-sensors.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/bin/sensors for package: nagios-plugins-sensors-1.4.16-5.el6.x86_64
---> Package nagios-plugins-smtp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-snmp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ssh.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-swap.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-tcp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-time.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ups.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-users.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-wave.x86_64 0:1.4.16-5.el6 will be installed
--> Running transaction check
---> Package fping.x86_64 0:3.4-1.el6.rf will be installed
---> Package lm_sensors.x86_64 0:3.1.1-10.el6 will be installed
--> Processing Dependency: /usr/sbin/dmidecode for package: lm_sensors-3.1.1-10.el6.x86_64
---> Package nagios-plugins.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-perl.x86_64 0:1.4.16-5.el6 will be installed
---> Package postgresql-libs.x86_64 0:8.4.13-1.el6_3 will be installed
---> Package qstat.x86_64 0:2.11-1.el6.rf will be installed
---> Package rpcbind.x86_64 0:0.2.0-9.el6 will be installed
--> Processing Dependency: libgssglue for package: rpcbind-0.2.0-9.el6.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-9.el6.x86_64
--> Processing Dependency: libgssglue.so.1()(64bit) for package: rpcbind-0.2.0-9.el6.x86_64
---> Package samba-client.x86_64 0:3.5.10-125.el6 will be installed
--> Processing Dependency: samba-winbind-clients = 3.5.10-125.el6 for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: samba-common = 3.5.10-125.el6 for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: libwbclient.so.0()(64bit) for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: libtdb.so.1()(64bit) for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: libtalloc.so.2()(64bit) for package: samba-client-3.5.10-125.el6.x86_64
--> Running transaction check
---> Package dmidecode.x86_64 1:2.11-2.el6 will be installed
---> Package libgssglue.x86_64 0:0.1-11.el6 will be installed
---> Package libtalloc.x86_64 0:2.0.1-1.1.el6 will be installed
---> Package libtdb.x86_64 0:1.2.1-3.el6 will be installed
---> Package libtirpc.x86_64 0:0.2.1-5.el6 will be installed
---> Package samba-common.x86_64 0:3.5.10-125.el6 will be installed
---> Package samba-winbind-clients.x86_64 0:3.5.10-125.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                      Arch       Version             Repository    Size
================================================================================
Installing:
 nagios-plugins-all           x86_64     1.4.16-5.el6        epel          13 k
Installing for dependencies:
 dmidecode                    x86_64     1:2.11-2.el6        base          71 k
 fping                        x86_64     3.4-1.el6.rf        rpmforge      47 k
 libgssglue                   x86_64     0.1-11.el6          base          23 k
 libtalloc                    x86_64     2.0.1-1.1.el6       base          19 k
 libtdb                       x86_64     1.2.1-3.el6         base          28 k
 libtirpc                     x86_64     0.2.1-5.el6         base          78 k
 lm_sensors                   x86_64     3.1.1-10.el6        base         122 k
 nagios-plugins               x86_64     1.4.16-5.el6        epel         199 k
 nagios-plugins-breeze        x86_64     1.4.16-5.el6        epel          14 k
 nagios-plugins-by_ssh        x86_64     1.4.16-5.el6        epel          35 k
 nagios-plugins-cluster       x86_64     1.4.16-5.el6        epel          29 k
 nagios-plugins-dhcp          x86_64     1.4.16-5.el6        epel          35 k
 nagios-plugins-dig           x86_64     1.4.16-5.el6        epel          33 k
 nagios-plugins-disk          x86_64     1.4.16-5.el6        epel          68 k
 nagios-plugins-disk_smb      x86_64     1.4.16-5.el6        epel          16 k
 nagios-plugins-dns           x86_64     1.4.16-5.el6        epel          34 k
 nagios-plugins-dummy         x86_64     1.4.16-5.el6        epel          26 k
 nagios-plugins-file_age      x86_64     1.4.16-5.el6        epel          14 k
 nagios-plugins-flexlm        x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-fping         x86_64     1.4.16-5.el6        epel          34 k
 nagios-plugins-game          x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-hpjd          x86_64     1.4.16-5.el6        epel          33 k
 nagios-plugins-http          x86_64     1.4.16-5.el6        epel          75 k
 nagios-plugins-icmp          x86_64     1.4.16-5.el6        epel          37 k
 nagios-plugins-ide_smart     x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-ircd          x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-ldap          x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-load          x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-log           x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-mailq         x86_64     1.4.16-5.el6        epel          17 k
 nagios-plugins-mrtg          x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-mrtgtraf      x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-mysql         x86_64     1.4.16-5.el6        epel          41 k
 nagios-plugins-nagios        x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-nt            x86_64     1.4.16-5.el6        epel          36 k
 nagios-plugins-ntp           x86_64     1.4.16-5.el6        epel          48 k
 nagios-plugins-ntp-perl      x86_64     1.4.16-5.el6        epel          17 k
 nagios-plugins-nwstat        x86_64     1.4.16-5.el6        epel          38 k
 nagios-plugins-oracle        x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-overcr        x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-perl          x86_64     1.4.16-5.el6        epel          14 k
 nagios-plugins-pgsql         x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-ping          x86_64     1.4.16-5.el6        epel          36 k
 nagios-plugins-procs         x86_64     1.4.16-5.el6        epel          66 k
 nagios-plugins-real          x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-rpc           x86_64     1.4.16-5.el6        epel          16 k
 nagios-plugins-sensors       x86_64     1.4.16-5.el6        epel          13 k
 nagios-plugins-smtp          x86_64     1.4.16-5.el6        epel          69 k
 nagios-plugins-snmp          x86_64     1.4.16-5.el6        epel          69 k
 nagios-plugins-ssh           x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-swap          x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-tcp           x86_64     1.4.16-5.el6        epel          38 k
 nagios-plugins-time          x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-ups           x86_64     1.4.16-5.el6        epel          34 k
 nagios-plugins-users         x86_64     1.4.16-5.el6        epel          28 k
 nagios-plugins-wave          x86_64     1.4.16-5.el6        epel          14 k
 postgresql-libs              x86_64     8.4.13-1.el6_3      updates      200 k
 qstat                        x86_64     2.11-1.el6.rf       rpmforge     149 k
 rpcbind                      x86_64     0.2.0-9.el6         base          51 k
 samba-client                 x86_64     3.5.10-125.el6      base          11 M
 samba-common                 x86_64     3.5.10-125.el6      base          13 M
 samba-winbind-clients        x86_64     3.5.10-125.el6      base         1.1 M

Transaction Summary
================================================================================
Install      63 Package(s)

Total download size: 28 M
Installed size: 96 M
Is this ok [y/N]: y
Downloading Packages:
(1/63): dmidecode-2.11-2.el6.x86_64.rpm                  |  71 kB     00:00
(2/63): fping-3.4-1.el6.rf.x86_64.rpm                    |  47 kB     00:00
(3/63): libgssglue-0.1-11.el6.x86_64.rpm                 |  23 kB     00:00
(4/63): libtalloc-2.0.1-1.1.el6.x86_64.rpm               |  19 kB     00:00
(5/63): libtdb-1.2.1-3.el6.x86_64.rpm                    |  28 kB     00:00
(6/63): libtirpc-0.2.1-5.el6.x86_64.rpm                  |  78 kB     00:00
(7/63): lm_sensors-3.1.1-10.el6.x86_64.rpm               | 122 kB     00:00
(8/63): nagios-plugins-1.4.16-5.el6.x86_64.rpm           | 199 kB     00:00
(9/63): nagios-plugins-all-1.4.16-5.el6.x86_64.rpm       |  13 kB     00:00
(10/63): nagios-plugins-breeze-1.4.16-5.el6.x86_64.rpm   |  14 kB     00:00
(11/63): nagios-plugins-by_ssh-1.4.16-5.el6.x86_64.rpm   |  35 kB     00:00
(12/63): nagios-plugins-cluster-1.4.16-5.el6.x86_64.rpm  |  29 kB     00:00
(13/63): nagios-plugins-dhcp-1.4.16-5.el6.x86_64.rpm     |  35 kB     00:00
(14/63): nagios-plugins-dig-1.4.16-5.el6.x86_64.rpm      |  33 kB     00:00
(15/63): nagios-plugins-disk-1.4.16-5.el6.x86_64.rpm     |  68 kB     00:00
(16/63): nagios-plugins-disk_smb-1.4.16-5.el6.x86_64.rpm |  16 kB     00:00
(17/63): nagios-plugins-dns-1.4.16-5.el6.x86_64.rpm      |  34 kB     00:00
(18/63): nagios-plugins-dummy-1.4.16-5.el6.x86_64.rpm    |  26 kB     00:00
(19/63): nagios-plugins-file_age-1.4.16-5.el6.x86_64.rpm |  14 kB     00:00
(20/63): nagios-plugins-flexlm-1.4.16-5.el6.x86_64.rpm   |  15 kB     00:00
(21/63): nagios-plugins-fping-1.4.16-5.el6.x86_64.rpm    |  34 kB     00:00
(22/63): nagios-plugins-game-1.4.16-5.el6.x86_64.rpm     |  31 kB     00:00
(23/63): nagios-plugins-hpjd-1.4.16-5.el6.x86_64.rpm     |  33 kB     00:00
(24/63): nagios-plugins-http-1.4.16-5.el6.x86_64.rpm     |  75 kB     00:00
(25/63): nagios-plugins-icmp-1.4.16-5.el6.x86_64.rpm     |  37 kB     00:00
(26/63): nagios-plugins-ide_smart-1.4.16-5.el6.x86_64.rp |  30 kB     00:00
(27/63): nagios-plugins-ircd-1.4.16-5.el6.x86_64.rpm     |  15 kB     00:00
(28/63): nagios-plugins-ldap-1.4.16-5.el6.x86_64.rpm     |  32 kB     00:00
(29/63): nagios-plugins-load-1.4.16-5.el6.x86_64.rpm     |  30 kB     00:00
(30/63): nagios-plugins-log-1.4.16-5.el6.x86_64.rpm      |  15 kB     00:00
(31/63): nagios-plugins-mailq-1.4.16-5.el6.x86_64.rpm    |  17 kB     00:00
(32/63): nagios-plugins-mrtg-1.4.16-5.el6.x86_64.rpm     |  30 kB     00:00
(33/63): nagios-plugins-mrtgtraf-1.4.16-5.el6.x86_64.rpm |  30 kB     00:00
(34/63): nagios-plugins-mysql-1.4.16-5.el6.x86_64.rpm    |  41 kB     00:00
(35/63): nagios-plugins-nagios-1.4.16-5.el6.x86_64.rpm   |  31 kB     00:00
(36/63): nagios-plugins-nt-1.4.16-5.el6.x86_64.rpm       |  36 kB     00:00
(37/63): nagios-plugins-ntp-1.4.16-5.el6.x86_64.rpm      |  48 kB     00:00
(38/63): nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64.rpm |  17 kB     00:00
(39/63): nagios-plugins-nwstat-1.4.16-5.el6.x86_64.rpm   |  38 kB     00:00
(40/63): nagios-plugins-oracle-1.4.16-5.el6.x86_64.rpm   |  15 kB     00:00
(41/63): nagios-plugins-overcr-1.4.16-5.el6.x86_64.rpm   |  32 kB     00:00
(42/63): nagios-plugins-perl-1.4.16-5.el6.x86_64.rpm     |  14 kB     00:00
(43/63): nagios-plugins-pgsql-1.4.16-5.el6.x86_64.rpm    |  32 kB     00:00
(44/63): nagios-plugins-ping-1.4.16-5.el6.x86_64.rpm     |  36 kB     00:00
(45/63): nagios-plugins-procs-1.4.16-5.el6.x86_64.rpm    |  66 kB     00:00
(46/63): nagios-plugins-real-1.4.16-5.el6.x86_64.rpm     |  32 kB     00:00
(47/63): nagios-plugins-rpc-1.4.16-5.el6.x86_64.rpm      |  16 kB     00:00
(48/63): nagios-plugins-sensors-1.4.16-5.el6.x86_64.rpm  |  13 kB     00:00
(49/63): nagios-plugins-smtp-1.4.16-5.el6.x86_64.rpm     |  69 kB     00:00
(50/63): nagios-plugins-snmp-1.4.16-5.el6.x86_64.rpm     |  69 kB     00:00
(51/63): nagios-plugins-ssh-1.4.16-5.el6.x86_64.rpm      |  31 kB     00:00
(52/63): nagios-plugins-swap-1.4.16-5.el6.x86_64.rpm     |  31 kB     00:00
(53/63): nagios-plugins-tcp-1.4.16-5.el6.x86_64.rpm      |  38 kB     00:00
(54/63): nagios-plugins-time-1.4.16-5.el6.x86_64.rpm     |  31 kB     00:00
(55/63): nagios-plugins-ups-1.4.16-5.el6.x86_64.rpm      |  34 kB     00:00
(56/63): nagios-plugins-users-1.4.16-5.el6.x86_64.rpm    |  28 kB     00:00
(57/63): nagios-plugins-wave-1.4.16-5.el6.x86_64.rpm     |  14 kB     00:00
(58/63): postgresql-libs-8.4.13-1.el6_3.x86_64.rpm       | 200 kB     00:00
(59/63): qstat-2.11-1.el6.rf.x86_64.rpm                  | 149 kB     00:00
(60/63): rpcbind-0.2.0-9.el6.x86_64.rpm                  |  51 kB     00:00
(61/63): samba-client-3.5.10-125.el6.x86_64.rpm          |  11 MB     00:00
(62/63): samba-common-3.5.10-125.el6.x86_64.rpm          |  13 MB     00:00
(63/63): samba-winbind-clients-3.5.10-125.el6.x86_64.rpm | 1.1 MB     00:00
--------------------------------------------------------------------------------
Total                                            19 MB/s |  28 MB     00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nagios-plugins-1.4.16-5.el6.x86_64                          1/63
  Installing : nagios-plugins-perl-1.4.16-5.el6.x86_64                     2/63
  Installing : libtdb-1.2.1-3.el6.x86_64                                   3/63
  Installing : libtalloc-2.0.1-1.1.el6.x86_64                              4/63
  Installing : samba-winbind-clients-3.5.10-125.el6.x86_64                 5/63
  Installing : libgssglue-0.1-11.el6.x86_64                                6/63
  Installing : libtirpc-0.2.1-5.el6.x86_64                                 7/63
  Installing : rpcbind-0.2.0-9.el6.x86_64                                  8/63
  Installing : nagios-plugins-rpc-1.4.16-5.el6.x86_64                      9/63
  Installing : samba-common-3.5.10-125.el6.x86_64                         10/63
  Installing : samba-client-3.5.10-125.el6.x86_64                         11/63
  Installing : nagios-plugins-disk_smb-1.4.16-5.el6.x86_64                12/63
  Installing : nagios-plugins-ircd-1.4.16-5.el6.x86_64                    13/63
  Installing : nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64                14/63
  Installing : nagios-plugins-wave-1.4.16-5.el6.x86_64                    15/63
  Installing : nagios-plugins-flexlm-1.4.16-5.el6.x86_64                  16/63
  Installing : nagios-plugins-mailq-1.4.16-5.el6.x86_64                   17/63
  Installing : nagios-plugins-breeze-1.4.16-5.el6.x86_64                  18/63
  Installing : nagios-plugins-file_age-1.4.16-5.el6.x86_64                19/63
  Installing : nagios-plugins-users-1.4.16-5.el6.x86_64                   20/63
  Installing : nagios-plugins-oracle-1.4.16-5.el6.x86_64                  21/63
  Installing : nagios-plugins-time-1.4.16-5.el6.x86_64                    22/63
  Installing : nagios-plugins-nt-1.4.16-5.el6.x86_64                      23/63
  Installing : nagios-plugins-mrtgtraf-1.4.16-5.el6.x86_64                24/63
  Installing : nagios-plugins-hpjd-1.4.16-5.el6.x86_64                    25/63
  Installing : nagios-plugins-icmp-1.4.16-5.el6.x86_64                    26/63
  Installing : nagios-plugins-snmp-1.4.16-5.el6.x86_64                    27/63
  Installing : nagios-plugins-ssh-1.4.16-5.el6.x86_64                     28/63
  Installing : nagios-plugins-ide_smart-1.4.16-5.el6.x86_64               29/63
  Installing : nagios-plugins-dns-1.4.16-5.el6.x86_64                     30/63
  Installing : nagios-plugins-ldap-1.4.16-5.el6.x86_64                    31/63
  Installing : nagios-plugins-mysql-1.4.16-5.el6.x86_64                   32/63
  Installing : nagios-plugins-smtp-1.4.16-5.el6.x86_64                    33/63
  Installing : nagios-plugins-swap-1.4.16-5.el6.x86_64                    34/63
  Installing : nagios-plugins-dummy-1.4.16-5.el6.x86_64                   35/63
  Installing : nagios-plugins-procs-1.4.16-5.el6.x86_64                   36/63
  Installing : nagios-plugins-nwstat-1.4.16-5.el6.x86_64                  37/63
  Installing : nagios-plugins-dhcp-1.4.16-5.el6.x86_64                    38/63
  Installing : nagios-plugins-disk-1.4.16-5.el6.x86_64                    39/63
  Installing : nagios-plugins-real-1.4.16-5.el6.x86_64                    40/63
  Installing : nagios-plugins-tcp-1.4.16-5.el6.x86_64                     41/63
  Installing : nagios-plugins-overcr-1.4.16-5.el6.x86_64                  42/63
  Installing : nagios-plugins-ping-1.4.16-5.el6.x86_64                    43/63
  Installing : nagios-plugins-log-1.4.16-5.el6.x86_64                     44/63
  Installing : nagios-plugins-ntp-1.4.16-5.el6.x86_64                     45/63
  Installing : nagios-plugins-by_ssh-1.4.16-5.el6.x86_64                  46/63
  Installing : nagios-plugins-http-1.4.16-5.el6.x86_64                    47/63
  Installing : nagios-plugins-mrtg-1.4.16-5.el6.x86_64                    48/63
  Installing : nagios-plugins-cluster-1.4.16-5.el6.x86_64                 49/63
  Installing : nagios-plugins-ups-1.4.16-5.el6.x86_64                     50/63
  Installing : nagios-plugins-dig-1.4.16-5.el6.x86_64                     51/63
  Installing : nagios-plugins-load-1.4.16-5.el6.x86_64                    52/63
  Installing : nagios-plugins-nagios-1.4.16-5.el6.x86_64                  53/63
  Installing : 1:dmidecode-2.11-2.el6.x86_64                              54/63
  Installing : lm_sensors-3.1.1-10.el6.x86_64                             55/63
  Installing : nagios-plugins-sensors-1.4.16-5.el6.x86_64                 56/63
  Installing : postgresql-libs-8.4.13-1.el6_3.x86_64                      57/63
  Installing : nagios-plugins-pgsql-1.4.16-5.el6.x86_64                   58/63
  Installing : qstat-2.11-1.el6.rf.x86_64                                 59/63
  Installing : nagios-plugins-game-1.4.16-5.el6.x86_64                    60/63
  Installing : fping-3.4-1.el6.rf.x86_64                                  61/63
  Installing : nagios-plugins-fping-1.4.16-5.el6.x86_64                   62/63
  Installing : nagios-plugins-all-1.4.16-5.el6.x86_64                     63/63
  Verifying  : nagios-plugins-ircd-1.4.16-5.el6.x86_64                     1/63
  Verifying  : nagios-plugins-users-1.4.16-5.el6.x86_64                    2/63
  Verifying  : nagios-plugins-oracle-1.4.16-5.el6.x86_64                   3/63
  Verifying  : samba-winbind-clients-3.5.10-125.el6.x86_64                 4/63
  Verifying  : nagios-plugins-time-1.4.16-5.el6.x86_64                     5/63
  Verifying  : rpcbind-0.2.0-9.el6.x86_64                                  6/63
  Verifying  : nagios-plugins-perl-1.4.16-5.el6.x86_64                     7/63
  Verifying  : nagios-plugins-nt-1.4.16-5.el6.x86_64                       8/63
  Verifying  : nagios-plugins-mrtgtraf-1.4.16-5.el6.x86_64                 9/63
  Verifying  : nagios-plugins-hpjd-1.4.16-5.el6.x86_64                    10/63
  Verifying  : nagios-plugins-icmp-1.4.16-5.el6.x86_64                    11/63
  Verifying  : nagios-plugins-snmp-1.4.16-5.el6.x86_64                    12/63
  Verifying  : nagios-plugins-ssh-1.4.16-5.el6.x86_64                     13/63
  Verifying  : nagios-plugins-game-1.4.16-5.el6.x86_64                    14/63
  Verifying  : nagios-plugins-ide_smart-1.4.16-5.el6.x86_64               15/63
  Verifying  : nagios-plugins-dns-1.4.16-5.el6.x86_64                     16/63
  Verifying  : nagios-plugins-ldap-1.4.16-5.el6.x86_64                    17/63
  Verifying  : fping-3.4-1.el6.rf.x86_64                                  18/63
  Verifying  : nagios-plugins-mysql-1.4.16-5.el6.x86_64                   19/63
  Verifying  : nagios-plugins-smtp-1.4.16-5.el6.x86_64                    20/63
  Verifying  : nagios-plugins-swap-1.4.16-5.el6.x86_64                    21/63
  Verifying  : nagios-plugins-rpc-1.4.16-5.el6.x86_64                     22/63
  Verifying  : nagios-plugins-dummy-1.4.16-5.el6.x86_64                   23/63
  Verifying  : nagios-plugins-1.4.16-5.el6.x86_64                         24/63
  Verifying  : nagios-plugins-procs-1.4.16-5.el6.x86_64                   25/63
  Verifying  : libtalloc-2.0.1-1.1.el6.x86_64                             26/63
  Verifying  : nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64                27/63
  Verifying  : qstat-2.11-1.el6.rf.x86_64                                 28/63
  Verifying  : nagios-plugins-sensors-1.4.16-5.el6.x86_64                 29/63
  Verifying  : nagios-plugins-wave-1.4.16-5.el6.x86_64                    30/63
  Verifying  : nagios-plugins-nwstat-1.4.16-5.el6.x86_64                  31/63
  Verifying  : nagios-plugins-flexlm-1.4.16-5.el6.x86_64                  32/63
  Verifying  : libtirpc-0.2.1-5.el6.x86_64                                33/63
  Verifying  : nagios-plugins-dhcp-1.4.16-5.el6.x86_64                    34/63
  Verifying  : libtdb-1.2.1-3.el6.x86_64                                  35/63
  Verifying  : nagios-plugins-mailq-1.4.16-5.el6.x86_64                   36/63
  Verifying  : nagios-plugins-all-1.4.16-5.el6.x86_64                     37/63
  Verifying  : samba-common-3.5.10-125.el6.x86_64                         38/63
  Verifying  : nagios-plugins-disk-1.4.16-5.el6.x86_64                    39/63
  Verifying  : nagios-plugins-real-1.4.16-5.el6.x86_64                    40/63
  Verifying  : nagios-plugins-tcp-1.4.16-5.el6.x86_64                     41/63
  Verifying  : nagios-plugins-overcr-1.4.16-5.el6.x86_64                  42/63
  Verifying  : nagios-plugins-ping-1.4.16-5.el6.x86_64                    43/63
  Verifying  : postgresql-libs-8.4.13-1.el6_3.x86_64                      44/63
  Verifying  : nagios-plugins-fping-1.4.16-5.el6.x86_64                   45/63
  Verifying  : nagios-plugins-log-1.4.16-5.el6.x86_64                     46/63
  Verifying  : nagios-plugins-ntp-1.4.16-5.el6.x86_64                     47/63
  Verifying  : nagios-plugins-by_ssh-1.4.16-5.el6.x86_64                  48/63
  Verifying  : libgssglue-0.1-11.el6.x86_64                               49/63
  Verifying  : nagios-plugins-disk_smb-1.4.16-5.el6.x86_64                50/63
  Verifying  : nagios-plugins-http-1.4.16-5.el6.x86_64                    51/63
  Verifying  : nagios-plugins-mrtg-1.4.16-5.el6.x86_64                    52/63
  Verifying  : samba-client-3.5.10-125.el6.x86_64                         53/63
  Verifying  : nagios-plugins-breeze-1.4.16-5.el6.x86_64                  54/63
  Verifying  : nagios-plugins-cluster-1.4.16-5.el6.x86_64                 55/63
  Verifying  : lm_sensors-3.1.1-10.el6.x86_64                             56/63
  Verifying  : nagios-plugins-ups-1.4.16-5.el6.x86_64                     57/63
  Verifying  : nagios-plugins-file_age-1.4.16-5.el6.x86_64                58/63
  Verifying  : nagios-plugins-dig-1.4.16-5.el6.x86_64                     59/63
  Verifying  : nagios-plugins-pgsql-1.4.16-5.el6.x86_64                   60/63
  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              61/63
  Verifying  : nagios-plugins-load-1.4.16-5.el6.x86_64                    62/63
  Verifying  : nagios-plugins-nagios-1.4.16-5.el6.x86_64                  63/63

Installed:
  nagios-plugins-all.x86_64 0:1.4.16-5.el6

Dependency Installed:
  dmidecode.x86_64 1:2.11-2.el6
  fping.x86_64 0:3.4-1.el6.rf
  libgssglue.x86_64 0:0.1-11.el6
  libtalloc.x86_64 0:2.0.1-1.1.el6
  libtdb.x86_64 0:1.2.1-3.el6
  libtirpc.x86_64 0:0.2.1-5.el6
  lm_sensors.x86_64 0:3.1.1-10.el6
  nagios-plugins.x86_64 0:1.4.16-5.el6
  nagios-plugins-breeze.x86_64 0:1.4.16-5.el6
  nagios-plugins-by_ssh.x86_64 0:1.4.16-5.el6
  nagios-plugins-cluster.x86_64 0:1.4.16-5.el6
  nagios-plugins-dhcp.x86_64 0:1.4.16-5.el6
  nagios-plugins-dig.x86_64 0:1.4.16-5.el6
  nagios-plugins-disk.x86_64 0:1.4.16-5.el6
  nagios-plugins-disk_smb.x86_64 0:1.4.16-5.el6
  nagios-plugins-dns.x86_64 0:1.4.16-5.el6
  nagios-plugins-dummy.x86_64 0:1.4.16-5.el6
  nagios-plugins-file_age.x86_64 0:1.4.16-5.el6
  nagios-plugins-flexlm.x86_64 0:1.4.16-5.el6
  nagios-plugins-fping.x86_64 0:1.4.16-5.el6
  nagios-plugins-game.x86_64 0:1.4.16-5.el6
  nagios-plugins-hpjd.x86_64 0:1.4.16-5.el6
  nagios-plugins-http.x86_64 0:1.4.16-5.el6
  nagios-plugins-icmp.x86_64 0:1.4.16-5.el6
  nagios-plugins-ide_smart.x86_64 0:1.4.16-5.el6
  nagios-plugins-ircd.x86_64 0:1.4.16-5.el6
  nagios-plugins-ldap.x86_64 0:1.4.16-5.el6
  nagios-plugins-load.x86_64 0:1.4.16-5.el6
  nagios-plugins-log.x86_64 0:1.4.16-5.el6
  nagios-plugins-mailq.x86_64 0:1.4.16-5.el6
  nagios-plugins-mrtg.x86_64 0:1.4.16-5.el6
  nagios-plugins-mrtgtraf.x86_64 0:1.4.16-5.el6
  nagios-plugins-mysql.x86_64 0:1.4.16-5.el6
  nagios-plugins-nagios.x86_64 0:1.4.16-5.el6
  nagios-plugins-nt.x86_64 0:1.4.16-5.el6
  nagios-plugins-ntp.x86_64 0:1.4.16-5.el6
  nagios-plugins-ntp-perl.x86_64 0:1.4.16-5.el6
  nagios-plugins-nwstat.x86_64 0:1.4.16-5.el6
  nagios-plugins-oracle.x86_64 0:1.4.16-5.el6
  nagios-plugins-overcr.x86_64 0:1.4.16-5.el6
  nagios-plugins-perl.x86_64 0:1.4.16-5.el6
  nagios-plugins-pgsql.x86_64 0:1.4.16-5.el6
  nagios-plugins-ping.x86_64 0:1.4.16-5.el6
  nagios-plugins-procs.x86_64 0:1.4.16-5.el6
  nagios-plugins-real.x86_64 0:1.4.16-5.el6
  nagios-plugins-rpc.x86_64 0:1.4.16-5.el6
  nagios-plugins-sensors.x86_64 0:1.4.16-5.el6
  nagios-plugins-smtp.x86_64 0:1.4.16-5.el6
  nagios-plugins-snmp.x86_64 0:1.4.16-5.el6
  nagios-plugins-ssh.x86_64 0:1.4.16-5.el6
  nagios-plugins-swap.x86_64 0:1.4.16-5.el6
  nagios-plugins-tcp.x86_64 0:1.4.16-5.el6
  nagios-plugins-time.x86_64 0:1.4.16-5.el6
  nagios-plugins-ups.x86_64 0:1.4.16-5.el6
  nagios-plugins-users.x86_64 0:1.4.16-5.el6
  nagios-plugins-wave.x86_64 0:1.4.16-5.el6
  postgresql-libs.x86_64 0:8.4.13-1.el6_3
  qstat.x86_64 0:2.11-1.el6.rf
  rpcbind.x86_64 0:0.2.0-9.el6
  samba-client.x86_64 0:3.5.10-125.el6
  samba-common.x86_64 0:3.5.10-125.el6
  samba-winbind-clients.x86_64 0:3.5.10-125.el6

Complete!

Folgender Inhalt befindet sich im RPM-Paket nagios-plugins-all.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil nagios-plugins-all
Name        : nagios-plugins-all           Relocations: (not relocatable)
Version     : 1.4.16                            Vendor: Fedora Project
Release     : 5.el6                         Build Date: Fri 17 Aug 2012 03:39:07
 PM CEST
Install Date: Fri 02 Nov 2012 10:04:19 AM CET      Build Host: buildvm-23.phx2.f
edoraproject.org
Group       : Applications/System           Source RPM: nagios-plugins-1.4.16-5.
el6.src.rpm
Size        : 0                                License: GPLv2+
Signature   : RSA/8, Fri 17 Aug 2012 05:52:11 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://nagiosplug.sourceforge.net/
Summary     : Nagios Plugins - All plugins
Description :
This package provides all Nagios plugins.
(contains no files)

Konfiguration

Nachfolgend werden die einzelnen notwendigen und optionalen Konfigurationsdateien sinnvollen Anpassungen unterzogen.

/etc/init.d/nagios

Nachfolgend genannte Konfigurationsdatei

  • /etc/init.d/nagios

ist das Skript zum starten, stoppen und weiterer Befehle, welche mit diesem Skript ausgeführt werden können.

Die nachfolgend gezeigten Anpassungen sind optional und dienen der Performanceverbesserung.

Startet man Nagios, wird die Konfigurationsdatei jedes mal neu auf Fehler überprüft. In Abhängigkeit vom Umfang der Nagios-Installation, kann dies sehr lange dauern - wobei während der Zeit der Überprüfung der Konfigurationsdatei Nagios nicht sozusagen stehen bleibt, bis die Überprüfung vollständig und erfolgreich abgeschlossen ist.

Um dies zu verhindern, gibt es die Möglichkeit den Start und die Überprüfung der Konfigurationsdatei von einander getrennt vorzunehmen - dies nennt man hier bei Nagios - Precaching!

Um dies beim starten oder beim Überprüfen der Konfigurationsdatei automatisch durchzuführen, sind nachfolgende Anpassungen an oben genannter Konfigurationsdatei durchzuführen:

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/init.d/nagios - (gesamt)

#!/bin/sh
#
# chkconfig: - 99 01
# description: Nagios network monitor
#
# File : nagios
#
# Author : Jorge Sanchez Aymar (jsanchez@lanchile.cl)
#
# Changelog :
#
# 1999-07-09 Karl DeBisschop <kdebisschop@infoplease.com>
#  - setup for autoconf
#  - add reload function
# 1999-08-06 Ethan Galstad <egalstad@nagios.org>
#  - Added configuration info for use with RedHat's chkconfig tool
#    per Fran Boon's suggestion
# 1999-08-13 Jim Popovitch <jimpop@rocketship.com>
#  - added variable for nagios/var directory
#  - cd into nagios/var directory before creating tmp files on startup
# 1999-08-16 Ethan Galstad <egalstad@nagios.org>
#  - Added test for rc.d directory as suggested by Karl DeBisschop
# 2000-07-23 Karl DeBisschop <kdebisschop@users.sourceforge.net>
#  - Clean out redhat macros and other dependencies
# 2003-01-11 Ethan Galstad <egalstad@nagios.org>
#  - Updated su syntax (Gary Miller)
#
# Description: Starts and stops the Nagios monitor
#              used to provide network services status.
#
 
# Load any extra environment variables for Nagios and its plugins
if test -f /etc/sysconfig/nagios; then
        . /etc/sysconfig/nagios
fi
 
status_nagios ()
{
 
        if test -x $NagiosCGI/daemonchk.cgi; then
                if $NagiosCGI/daemonchk.cgi -l $NagiosRunFile; then
                        return 0
                else
                        return 1
                fi
        else
                if ps -p $NagiosPID > /dev/null 2>&1; then
                        return 0
                else
                        return 1
                fi
        fi
 
        return 1
}
 
 
printstatus_nagios()
{
        status_nagios $1 $2
        RETVAL=$?
        if [ $RETVAL = 0 ]; then
                echo "nagios (pid $NagiosPID) is running..."
        else
                echo "nagios is not running"
        fi
        return $RETVAL
}
 
 
killproc_nagios ()
{
 
        kill $2 $NagiosPID
 
}
 
 
pid_nagios ()
{
 
        if test ! -f $NagiosRunFile; then
                echo "No lock file found in $NagiosRunFile"
                exit 1
        fi
 
        NagiosPID=`head -n 1 $NagiosRunFile`
}
 
 
# Source function library
# Solaris doesn't have an rc.d directory, so do a test first
if [ -f /etc/rc.d/init.d/functions ]; then
        . /etc/rc.d/init.d/functions
elif [ -f /etc/init.d/functions ]; then
        . /etc/init.d/functions
fi
 
prefix=/usr/share/nagios
exec_prefix=/var/lib/nagios
NagiosBin=/usr/sbin/nagios
NagiosCfgFile=/etc/nagios/nagios.cfg
NagiosStatusFile=/var/log/nagios/status.dat
NagiosRetentionFile=/var/log/nagios/retention.dat
NagiosCommandFile=/var/log/nagios/rw/nagios.cmd
NagiosVarDir=/var/log/nagios
NagiosRunFile=/var/run/nagios.pid
NagiosLockDir=/var/lock/subsys
NagiosLockFile=nagios
NagiosCGIDir=/usr/sbin
NagiosUser=nagios
NagiosGroup=nagios
 
 
# Check that nagios exists.
if [ ! -f $NagiosBin ]; then
    echo "Executable file $NagiosBin not found.  Exiting."
    exit 1
fi
 
# Check that nagios.cfg exists.
if [ ! -f $NagiosCfgFile ]; then
    echo "Configuration file $NagiosCfgFile not found.  Exiting."
    exit 1
fi
 
# See how we were called.
case "$1" in
 
        start)
                echo -n "Starting nagios:"
                # Tachtler
                # Add using precached-file with startup process
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        touch $NagiosVarDir/nagios.log $NagiosRetentionFile
                        chown $NagiosUser:$NagiosGroup $NagiosVarDir/nagios.log $NagiosRetentionFile
                        rm -f $NagiosCommandFile
                        touch $NagiosRunFile
                        chown $NagiosUser:$NagiosGroup $NagiosRunFile
                        [ -x /sbin/restorecon ] && /sbin/restorecon $NagiosRunFile
                        # Tachtler
                        # Add using precached-file with startup process
                        # default: $NagiosBin -d $NagiosCfgFile
                        $NagiosBin -ud $NagiosCfgFile
                        pidof nagios > $NagiosRunFile
                        if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi
                        echo " done."
                        exit 0
                else
                        echo "CONFIG ERROR!  Start aborted.  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
        stop)
                echo -n "Stopping nagios: "
 
                pid_nagios
                killproc_nagios nagios
 
                # now we have to wait for nagios to exit and remove its
                # own NagiosRunFile, otherwise a following "start" could
                # happen, and then the exiting nagios will remove the
                # new NagiosRunFile, allowing multiple nagios daemons
                # to (sooner or later) run - John Sellens
                #echo -n 'Waiting for nagios to exit .'
                for i in 1 2 3 4 5 6 7 8 9 10 ; do
                    if status_nagios > /dev/null; then
                        echo -n '.'
                        sleep 1
                    else
                        break
                    fi
                done
                if status_nagios > /dev/null; then
                    echo ''
                    echo 'Warning - nagios did not exit in a timely manner'
                else
                    echo 'done.'
                fi
 
                rm -f $NagiosStatusFile $NagiosRunFile $NagiosLockDir/$NagiosLockFile $NagiosCommandFile
                ;;
 
        status)
                pid_nagios
                printstatus_nagios nagios
                exit $?
                ;;
 
        checkconfig)
                printf "Running configuration check..."
                # Tachtler
                # Add generating precache-file, while config was checked
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        echo " OK."
                else
                        echo " CONFIG ERROR!  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
        restart)
                printf "Running configuration check..."
                # Tachtler
                # Add generating precache-file, while config was checked
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        echo "done."
                        $0 stop
                        $0 start
                else
                        echo " CONFIG ERROR!  Restart aborted.  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
        reload|force-reload)
                printf "Running configuration check..."
                # Tachtler
                # Add generating precache-file, while config was checked
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        echo "done."
                        if test ! -f $NagiosRunFile; then
                                $0 start
                        else
                                pid_nagios
                                if status_nagios > /dev/null; then
                                        printf "Reloading nagios configuration..."
                                        killproc_nagios nagios -HUP
                                        echo "done"
                                else
                                        $0 stop
                                        $0 start
                                fi
                        fi
                else
                        echo " CONFIG ERROR!  Reload aborted.  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
        *)
                echo "Usage: nagios {start|stop|restart|reload|force-reload|status|checkconfig}"
                exit 2
                ;;
 
esac
 
# End of this script

Erklärung:
Nachfolgende Änderung dient der precached-file generierung beim starten.

...
# See how we were called.
case "$1" in
 
        start)
                echo -n "Starting nagios:"
                # Tachtler
                # Add using precached-file with startup process
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        touch $NagiosVarDir/nagios.log $NagiosRetentionFile
                        chown $NagiosUser:$NagiosGroup $NagiosVarDir/nagios.log $NagiosRetentionFile
                        rm -f $NagiosCommandFile
                        touch $NagiosRunFile
                        chown $NagiosUser:$NagiosGroup $NagiosRunFile
                        [ -x /sbin/restorecon ] && /sbin/restorecon $NagiosRunFile
                        # Tachtler
                        # Add using precached-file with startup process
                        # default: $NagiosBin -d $NagiosCfgFile
                        $NagiosBin -ud $NagiosCfgFile
                        pidof nagios > $NagiosRunFile
                        if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi
                        echo " done."
                        exit 0
                else
                        echo "CONFIG ERROR!  Start aborted.  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
...

Erklärung:
Nachfolgende Änderung dient der precached-file generierung beim überprüfen der Konfigurationsdatei.

...
        checkconfig)
                printf "Running configuration check..."
                # Tachtler
                # Add generating precache-file, while config was checked
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        echo " OK."
                else
                        echo " CONFIG ERROR!  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
        restart)
                printf "Running configuration check..."
                # Tachtler
                # Add generating precache-file, while config was checked
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        echo "done."
                        $0 stop
                        $0 start
                else
                        echo " CONFIG ERROR!  Restart aborted.  Check your Nagios configuration."
                        exit 1
                fi
                ;;
 
        reload|force-reload)
                printf "Running configuration check..."
                # Tachtler
                # Add generating precache-file, while config was checked
                # default: $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
                $NagiosBin -pv $NagiosCfgFile > /dev/null 2>&1;
                if [ $? -eq 0 ]; then
                        echo "done."
                        if test ! -f $NagiosRunFile; then
                                $0 start
                        else
                                pid_nagios
                                if status_nagios > /dev/null; then
                                        printf "Reloading nagios configuration..."
                                        killproc_nagios nagios -HUP
                                        echo "done"
                                else
                                        $0 stop
                                        $0 start
                                fi
                        fi
                else
                        echo " CONFIG ERROR!  Reload aborted.  Check your Nagios configuration."
                        exit 1
                fi
                ;;
...

/etc/nagios/nagios.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/nagios/nagios.cfg

ist die Hauptkonfigurationsdatei von Nagios

Die nachfolgend gezeigten Anpassungen sind optional und dienen dazu, auch große Installation durchführen zu können.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/nagios/nagios.cfg - (gesamt)

##############################################################################
#
# NAGIOS.CFG - Sample Main Config File for Nagios 3.4.1
#
# Read the documentation for more information on this configuration
# file.  I've provided some comments here, but things may not be so
# clear without further explanation.
#
# Last Modified: 12-14-2008
#
##############################################################################
 
 
# LOG FILE
# This is the main log file where service and host events are logged
# for historical purposes.  This should be the first option specified
# in the config file!!!
 
log_file=/var/log/nagios/nagios.log
 
 
 
# OBJECT CONFIGURATION FILE(S)
# These are the object configuration files in which you define hosts,
# host groups, contacts, contact groups, services, etc.
# You can split your object definitions across several config files
# if you wish (as shown below), or keep them all in a single config file.
 
# You can specify individual object config files as shown below:
# Tachtler
# default: cfg_file=/etc/nagios/objects/commands.cfg
# cfg_file=/etc/nagios/objects/commands.cfg
# Tachtler
# default: cfg_file=/etc/nagios/objects/contacts.cfg
# cfg_file=/etc/nagios/objects/contacts.cfg
# Tachtler
# default: cfg_file=/etc/nagios/objects/timeperiods.cfg
# cfg_file=/etc/nagios/objects/timeperiods.cfg
# Tachtler
# default: cfg_file=/etc/nagios/objects/templates.cfg
# cfg_file=/etc/nagios/objects/templates.cfg
 
# Definitions for monitoring the local (Linux) host
# Tachtler
# default: cfg_file=/etc/nagios/objects/localhost.cfg
# cfg_file=/etc/nagios/objects/localhost.cfg
 
# Definitions for monitoring a Windows machine
#cfg_file=/etc/nagios/objects/windows.cfg
 
# Definitions for monitoring a router/switch
#cfg_file=/etc/nagios/objects/switch.cfg
 
# Definitions for monitoring a network printer
#cfg_file=/etc/nagios/objects/printer.cfg
 
 
# You can also tell Nagios to process all config files (with a .cfg
# extension) in a particular directory by using the cfg_dir
# directive as shown below:
 
#cfg_dir=/etc/nagios/servers
#cfg_dir=/etc/nagios/printers
#cfg_dir=/etc/nagios/switches
#cfg_dir=/etc/nagios/routers
 
# Tachtler
cfg_dir=/etc/nagios/globals
cfg_dir=/etc/nagios/tachtler.net
 
 
 
# OBJECT CACHE FILE
# This option determines where object definitions are cached when
# Nagios starts/restarts.  The CGIs read object definitions from
# this cache file (rather than looking at the object config files
# directly) in order to prevent inconsistencies that can occur
# when the config files are modified after Nagios starts.
 
object_cache_file=/var/log/nagios/objects.cache
 
 
 
# PRE-CACHED OBJECT FILE
# This options determines the location of the precached object file.
# If you run Nagios with the -p command line option, it will preprocess
# your object configuration file(s) and write the cached config to this
# file.  You can then start Nagios with the -u option to have it read
# object definitions from this precached file, rather than the standard
# object configuration files (see the cfg_file and cfg_dir options above).
# Using a precached object file can speed up the time needed to (re)start
# the Nagios process if you've got a large and/or complex configuration.
# Read the documentation section on optimizing Nagios to find our more
# about how this feature works.
 
precached_object_file=/var/log/nagios/objects.precache
 
 
 
# RESOURCE FILE
# This is an optional resource file that contains $USERx$ macro
# definitions. Multiple resource files can be specified by using
# multiple resource_file definitions.  The CGIs will not attempt to
# read the contents of resource files, so information that is
# considered to be sensitive (usernames, passwords, etc) can be
# defined as macros in this file and restrictive permissions (600)
# can be placed on this file.
 
resource_file=/etc/nagios/private/resource.cfg
 
 
 
# STATUS FILE
# This is where the current status of all monitored services and
# hosts is stored.  Its contents are read and processed by the CGIs.
# The contents of the status file are deleted every time Nagios
#  restarts.
 
status_file=/var/log/nagios/status.dat
 
 
 
# STATUS FILE UPDATE INTERVAL
# This option determines the frequency (in seconds) that
# Nagios will periodically dump program, host, and
# service status data.
 
status_update_interval=10
 
 
 
# NAGIOS USER
# This determines the effective user that Nagios should run as.
# You can either supply a username or a UID.
 
nagios_user=nagios
 
 
 
# NAGIOS GROUP
# This determines the effective group that Nagios should run as.
# You can either supply a group name or a GID.
 
nagios_group=nagios
 
 
 
# EXTERNAL COMMAND OPTION
# This option allows you to specify whether or not Nagios should check
# for external commands (in the command file defined below).  By default
# Nagios will *not* check for external commands, just to be on the
# cautious side.  If you want to be able to use the CGI command interface
# you will have to enable this.
# Values: 0 = disable commands, 1 = enable commands
 
check_external_commands=1
 
 
 
# EXTERNAL COMMAND CHECK INTERVAL
# This is the interval at which Nagios should check for external commands.
# This value works of the interval_length you specify later.  If you leave
# that at its default value of 60 (seconds), a value of 1 here will cause
# Nagios to check for external commands every minute.  If you specify a
# number followed by an "s" (i.e. 15s), this will be interpreted to mean
# actual seconds rather than a multiple of the interval_length variable.
# Note: In addition to reading the external command file at regularly
# scheduled intervals, Nagios will also check for external commands after
# event handlers are executed.
# NOTE: Setting this value to -1 causes Nagios to check the external
# command file as often as possible.
 
#command_check_interval=15s
command_check_interval=-1
 
 
 
# EXTERNAL COMMAND FILE
# This is the file that Nagios checks for external command requests.
# It is also where the command CGI will write commands that are submitted
# by users, so it must be writeable by the user that the web server
# is running as (usually 'nobody').  Permissions should be set at the
# directory level instead of on the file, as the file is deleted every
# time its contents are processed.
 
command_file=/var/spool/nagios/cmd/nagios.cmd
 
 
 
# EXTERNAL COMMAND BUFFER SLOTS
# This settings is used to tweak the number of items or "slots" that
# the Nagios daemon should allocate to the buffer that holds incoming
# external commands before they are processed.  As external commands
# are processed by the daemon, they are removed from the buffer.
 
external_command_buffer_slots=4096
 
 
 
# LOCK FILE
# This is the lockfile that Nagios will use to store its PID number
# in when it is running in daemon mode.
 
lock_file=/var/run/nagios.pid
 
 
 
# TEMP FILE
# This is a temporary file that is used as scratch space when Nagios
# updates the status log, cleans the comment file, etc.  This file
# is created, used, and deleted throughout the time that Nagios is
# running.
 
temp_file=/var/log/nagios/nagios.tmp
 
 
 
# TEMP PATH
# This is path where Nagios can create temp files for service and
# host check results, etc.
 
temp_path=/tmp
 
 
 
# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values:  0      = Broker nothing
#         -1      = Broker everything
#         <other> = See documentation
 
event_broker_options=-1
 
 
 
# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# by loaded by Nagios at startup.  Use multiple directives if you want
# to load more than one module.  Arguments that should be passed to
# the module at startup are seperated from the module path by a space.
#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
# Do NOT overwrite modules while they are being used by Nagios or Nagios
# will crash in a fiery display of SEGFAULT glory.  This is a bug/limitation
# either in dlopen(), the kernel, and/or the filesystem.  And maybe Nagios...
#
# The correct/safe way of updating a module is by using one of these methods:
#    1. Shutdown Nagios, replace the module file, restart Nagios
#    2. Delete the original module file, move the new module file into place, restart Nagios
#
# Example:
#
#   broker_module=<modulepath> [moduleargs]
 
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
 
 
 
# LOG ROTATION METHOD
# This is the log rotation method that Nagios should use to rotate
# the main log file. Values are as follows..
#       n       = None - don't rotate the log
#       h       = Hourly rotation (top of the hour)
#       d       = Daily rotation (midnight every day)
#       w       = Weekly rotation (midnight on Saturday evening)
#       m       = Monthly rotation (midnight last day of month)
 
log_rotation_method=d
 
 
 
# LOG ARCHIVE PATH
# This is the directory where archived (rotated) log files should be
# placed (assuming you've chosen to do log rotation).
 
log_archive_path=/var/log/nagios/archives
 
 
 
# LOGGING OPTIONS
# If you want messages logged to the syslog facility, as well as the
# Nagios log file set this option to 1.  If not, set it to 0.
 
# Tachtler
# default: use_syslog=1
use_syslog=0
 
 
 
# NOTIFICATION LOGGING OPTION
# If you don't want notifications to be logged, set this value to 0.
# If notifications should be logged, set the value to 1.
 
log_notifications=1
 
 
 
# SERVICE RETRY LOGGING OPTION
# If you don't want service check retries to be logged, set this value
# to 0.  If retries should be logged, set the value to 1.
 
log_service_retries=1
 
 
 
# HOST RETRY LOGGING OPTION
# If you don't want host check retries to be logged, set this value to
# 0.  If retries should be logged, set the value to 1.
 
log_host_retries=1
 
 
 
# EVENT HANDLER LOGGING OPTION
# If you don't want host and service event handlers to be logged, set
# this value to 0.  If event handlers should be logged, set the value
# to 1.
 
log_event_handlers=1
 
 
 
# INITIAL STATES LOGGING OPTION
# If you want Nagios to log all initial host and service states to
# the main log file (the first time the service or host is checked)
# you can enable this option by setting this value to 1.  If you
# are not using an external application that does long term state
# statistics reporting, you do not need to enable this option.  In
# this case, set the value to 0.
 
# Tachtler
# default: log_initial_states=0
log_initial_states=1
 
 
 
# EXTERNAL COMMANDS LOGGING OPTION
# If you don't want Nagios to log external commands, set this value
# to 0.  If external commands should be logged, set this value to 1.
# Note: This option does not include logging of passive service
# checks - see the option below for controlling whether or not
# passive checks are logged.
 
log_external_commands=1
 
 
 
# PASSIVE CHECKS LOGGING OPTION
# If you don't want Nagios to log passive host and service checks, set
# this value to 0.  If passive checks should be logged, set
# this value to 1.
 
log_passive_checks=1
 
 
 
# GLOBAL HOST AND SERVICE EVENT HANDLERS
# These options allow you to specify a host and service event handler
# command that is to be run for every host or service state change.
# The global event handler is executed immediately prior to the event
# handler that you have optionally specified in each host or
# service definition. The command argument is the short name of a
# command definition that you define in your host configuration file.
# Read the HTML docs for more information.
 
#global_host_event_handler=somecommand
#global_service_event_handler=somecommand
 
 
 
# SERVICE INTER-CHECK DELAY METHOD
# This is the method that Nagios should use when initially
# "spreading out" service checks when it starts monitoring.  The
# default is to use smart delay calculation, which will try to
# space all service checks out evenly to minimize CPU load.
# Using the dumb setting will cause all checks to be scheduled
# at the same time (with no delay between them)!  This is not a
# good thing for production, but is useful when testing the
# parallelization functionality.
#       n       = None - don't use any delay between checks
#       d       = Use a "dumb" delay of 1 second between checks
#       s       = Use "smart" inter-check delay calculation
#       x.xx    = Use an inter-check delay of x.xx seconds
 
service_inter_check_delay_method=s
 
 
 
# MAXIMUM SERVICE CHECK SPREAD
# This variable determines the timeframe (in minutes) from the
# program start time that an initial check of all services should
# be completed.  Default is 30 minutes.
 
max_service_check_spread=30
 
 
 
# SERVICE CHECK INTERLEAVE FACTOR
# This variable determines how service checks are interleaved.
# Interleaving the service checks allows for a more even
# distribution of service checks and reduced load on remote
# hosts.  Setting this value to 1 is equivalent to how versions
# of Nagios previous to 0.0.5 did service checks.  Set this
# value to s (smart) for automatic calculation of the interleave
# factor unless you have a specific reason to change it.
#       s       = Use "smart" interleave factor calculation
#       x       = Use an interleave factor of x, where x is a
#                 number greater than or equal to 1.
 
service_interleave_factor=s
 
 
 
# HOST INTER-CHECK DELAY METHOD
# This is the method that Nagios should use when initially
# "spreading out" host checks when it starts monitoring.  The
# default is to use smart delay calculation, which will try to
# space all host checks out evenly to minimize CPU load.
# Using the dumb setting will cause all checks to be scheduled
# at the same time (with no delay between them)!
#       n       = None - don't use any delay between checks
#       d       = Use a "dumb" delay of 1 second between checks
#       s       = Use "smart" inter-check delay calculation
#       x.xx    = Use an inter-check delay of x.xx seconds
 
host_inter_check_delay_method=s
 
 
 
# MAXIMUM HOST CHECK SPREAD
# This variable determines the timeframe (in minutes) from the
# program start time that an initial check of all hosts should
# be completed.  Default is 30 minutes.
 
max_host_check_spread=30
 
 
 
# MAXIMUM CONCURRENT SERVICE CHECKS
# This option allows you to specify the maximum number of
# service checks that can be run in parallel at any given time.
# Specifying a value of 1 for this variable essentially prevents
# any service checks from being parallelized.  A value of 0
# will not restrict the number of concurrent checks that are
# being executed.
 
max_concurrent_checks=0
 
 
 
# HOST AND SERVICE CHECK REAPER FREQUENCY
# This is the frequency (in seconds!) that Nagios will process
# the results of host and service checks.
 
check_result_reaper_frequency=10
 
 
 
 
# MAX CHECK RESULT REAPER TIME
# This is the max amount of time (in seconds) that  a single
# check result reaper event will be allowed to run before
# returning control back to Nagios so it can perform other
# duties.
 
max_check_result_reaper_time=30
 
 
 
 
# CHECK RESULT PATH
# This is directory where Nagios stores the results of host and
# service checks that have not yet been processed.
#
# Note: Make sure that only one instance of Nagios has access
# to this directory!
 
check_result_path=/var/log/nagios/spool/checkresults
 
 
 
 
# MAX CHECK RESULT FILE AGE
# This option determines the maximum age (in seconds) which check
# result files are considered to be valid.  Files older than this
# threshold will be mercilessly deleted without further processing.
 
max_check_result_file_age=3600
 
 
 
 
# CACHED HOST CHECK HORIZON
# This option determines the maximum amount of time (in seconds)
# that the state of a previous host check is considered current.
# Cached host states (from host checks that were performed more
# recently that the timeframe specified by this value) can immensely
# improve performance in regards to the host check logic.
# Too high of a value for this option may result in inaccurate host
# states being used by Nagios, while a lower value may result in a
# performance hit for host checks.  Use a value of 0 to disable host
# check caching.
 
cached_host_check_horizon=15
 
 
 
# CACHED SERVICE CHECK HORIZON
# This option determines the maximum amount of time (in seconds)
# that the state of a previous service check is considered current.
# Cached service states (from service checks that were performed more
# recently that the timeframe specified by this value) can immensely
# improve performance in regards to predictive dependency checks.
# Use a value of 0 to disable service check caching.
 
cached_service_check_horizon=15
 
 
 
# ENABLE PREDICTIVE HOST DEPENDENCY CHECKS
# This option determines whether or not Nagios will attempt to execute
# checks of hosts when it predicts that future dependency logic test
# may be needed.  These predictive checks can help ensure that your
# host dependency logic works well.
# Values:
#  0 = Disable predictive checks
#  1 = Enable predictive checks (default)
 
enable_predictive_host_dependency_checks=1
 
 
 
# ENABLE PREDICTIVE SERVICE DEPENDENCY CHECKS
# This option determines whether or not Nagios will attempt to execute
# checks of service when it predicts that future dependency logic test
# may be needed.  These predictive checks can help ensure that your
# service dependency logic works well.
# Values:
#  0 = Disable predictive checks
#  1 = Enable predictive checks (default)
 
enable_predictive_service_dependency_checks=1
 
 
 
# SOFT STATE DEPENDENCIES
# This option determines whether or not Nagios will use soft state
# information when checking host and service dependencies. Normally
# Nagios will only use the latest hard host or service state when
# checking dependencies. If you want it to use the latest state (regardless
# of whether its a soft or hard state type), enable this option.
# Values:
#  0 = Don't use soft state dependencies (default)
#  1 = Use soft state dependencies
 
soft_state_dependencies=0
 
 
 
# TIME CHANGE ADJUSTMENT THRESHOLDS
# These options determine when Nagios will react to detected changes
# in system time (either forward or backwards).
 
#time_change_threshold=900
 
 
 
# AUTO-RESCHEDULING OPTION
# This option determines whether or not Nagios will attempt to
# automatically reschedule active host and service checks to
# "smooth" them out over time.  This can help balance the load on
# the monitoring server.
# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
 
auto_reschedule_checks=0
 
 
 
# AUTO-RESCHEDULING INTERVAL
# This option determines how often (in seconds) Nagios will
# attempt to automatically reschedule checks.  This option only
# has an effect if the auto_reschedule_checks option is enabled.
# Default is 30 seconds.
# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
 
auto_rescheduling_interval=30
 
 
 
# AUTO-RESCHEDULING WINDOW
# This option determines the "window" of time (in seconds) that
# Nagios will look at when automatically rescheduling checks.
# Only host and service checks that occur in the next X seconds
# (determined by this variable) will be rescheduled. This option
# only has an effect if the auto_reschedule_checks option is
# enabled.  Default is 180 seconds (3 minutes).
# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
 
auto_rescheduling_window=180
 
 
 
# SLEEP TIME
# This is the number of seconds to sleep between checking for system
# events and service checks that need to be run.
 
sleep_time=0.25
 
 
 
# TIMEOUT VALUES
# These options control how much time Nagios will allow various
# types of commands to execute before killing them off.  Options
# are available for controlling maximum time allotted for
# service checks, host checks, event handlers, notifications, the
# ocsp command, and performance data commands.  All values are in
# seconds.
 
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
 
 
 
# RETAIN STATE INFORMATION
# This setting determines whether or not Nagios will save state
# information for services and hosts before it shuts down.  Upon
# startup Nagios will reload all saved service and host state
# information before starting to monitor.  This is useful for
# maintaining long-term data on state statistics, etc, but will
# slow Nagios down a bit when it (re)starts.  Since its only
# a one-time penalty, I think its well worth the additional
# startup delay.
 
retain_state_information=1
 
 
 
# STATE RETENTION FILE
# This is the file that Nagios should use to store host and
# service state information before it shuts down.  The state
# information in this file is also read immediately prior to
# starting to monitor the network when Nagios is restarted.
# This file is used only if the retain_state_information
# variable is set to 1.
 
state_retention_file=/var/log/nagios/retention.dat
 
 
 
# RETENTION DATA UPDATE INTERVAL
# This setting determines how often (in minutes) that Nagios
# will automatically save retention data during normal operation.
# If you set this value to 0, Nagios will not save retention
# data at regular interval, but it will still save retention
# data before shutting down or restarting.  If you have disabled
# state retention, this option has no effect.
 
retention_update_interval=60
 
 
 
# USE RETAINED PROGRAM STATE
# This setting determines whether or not Nagios will set
# program status variables based on the values saved in the
# retention file.  If you want to use retained program status
# information, set this value to 1.  If not, set this value
# to 0.
 
use_retained_program_state=1
 
 
 
# USE RETAINED SCHEDULING INFO
# This setting determines whether or not Nagios will retain
# the scheduling info (next check time) for hosts and services
# based on the values saved in the retention file.  If you
# If you want to use retained scheduling info, set this
# value to 1.  If not, set this value to 0.
 
use_retained_scheduling_info=1
 
 
 
# RETAINED ATTRIBUTE MASKS (ADVANCED FEATURE)
# The following variables are used to specify specific host and
# service attributes that should *not* be retained by Nagios during
# program restarts.
#
# The values of the masks are bitwise ANDs of values specified
# by the "MODATTR_" definitions found in include/common.h.
# For example, if you do not want the current enabled/disabled state
# of flap detection and event handlers for hosts to be retained, you
# would use a value of 24 for the host attribute mask...
# MODATTR_EVENT_HANDLER_ENABLED (8) + MODATTR_FLAP_DETECTION_ENABLED (16) = 24
 
# This mask determines what host attributes are not retained
retained_host_attribute_mask=0
 
# This mask determines what service attributes are not retained
retained_service_attribute_mask=0
 
# These two masks determine what process attributes are not retained.
# There are two masks, because some process attributes have host and service
# options.  For example, you can disable active host checks, but leave active
# service checks enabled.
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
 
# These two masks determine what contact attributes are not retained.
# There are two masks, because some contact attributes have host and
# service options.  For example, you can disable host notifications for
# a contact, but leave service notifications enabled for them.
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
 
 
 
# INTERVAL LENGTH
# This is the seconds per unit interval as used in the
# host/contact/service configuration files.  Setting this to 60 means
# that each interval is one minute long (60 seconds).  Other settings
# have not been tested much, so your mileage is likely to vary...
 
interval_length=60
 
 
 
# CHECK FOR UPDATES
# This option determines whether Nagios will automatically check to
# see if new updates (releases) are available.  It is recommend that you
# enable this option to ensure that you stay on top of the latest critical
# patches to Nagios.  Nagios is critical to you - make sure you keep it in
# good shape.  Nagios will check once a day for new updates. Data collected
# by Nagios Enterprises from the update check is processed in accordance
# with our privacy policy - see http://api.nagios.org for details.
 
check_for_updates=1
 
 
 
# BARE UPDATE CHECK
# This option deterines what data Nagios will send to api.nagios.org when
# it checks for updates.  By default, Nagios will send information on the
# current version of Nagios you have installed, as well as an indicator as
# to whether this was a new installation or not.  Nagios Enterprises uses
# this data to determine the number of users running specific version of
# Nagios.  Enable this option if you do not want this information to be sent.
 
# Tachtler
# default: bare_update_check=0
bare_update_check=1
 
 
 
# AGGRESSIVE HOST CHECKING OPTION
# If you don't want to turn on aggressive host checking features, set
# this value to 0 (the default).  Otherwise set this value to 1 to
# enable the aggressive check option.  Read the docs for more info
# on what aggressive host check is or check out the source code in
# base/checks.c
 
use_aggressive_host_checking=0
 
 
 
# SERVICE CHECK EXECUTION OPTION
# This determines whether or not Nagios will actively execute
# service checks when it initially starts.  If this option is
# disabled, checks are not actively made, but Nagios can still
# receive and process passive check results that come in.  Unless
# you're implementing redundant hosts or have a special need for
# disabling the execution of service checks, leave this enabled!
# Values: 1 = enable checks, 0 = disable checks
 
execute_service_checks=1
 
 
 
# PASSIVE SERVICE CHECK ACCEPTANCE OPTION
# This determines whether or not Nagios will accept passive
# service checks results when it initially (re)starts.
# Values: 1 = accept passive checks, 0 = reject passive checks
 
accept_passive_service_checks=1
 
 
 
# HOST CHECK EXECUTION OPTION
# This determines whether or not Nagios will actively execute
# host checks when it initially starts.  If this option is
# disabled, checks are not actively made, but Nagios can still
# receive and process passive check results that come in.  Unless
# you're implementing redundant hosts or have a special need for
# disabling the execution of host checks, leave this enabled!
# Values: 1 = enable checks, 0 = disable checks
 
execute_host_checks=1
 
 
 
# PASSIVE HOST CHECK ACCEPTANCE OPTION
# This determines whether or not Nagios will accept passive
# host checks results when it initially (re)starts.
# Values: 1 = accept passive checks, 0 = reject passive checks
 
accept_passive_host_checks=1
 
 
 
# NOTIFICATIONS OPTION
# This determines whether or not Nagios will sent out any host or
# service notifications when it is initially (re)started.
# Values: 1 = enable notifications, 0 = disable notifications
 
enable_notifications=1
 
 
 
# EVENT HANDLER USE OPTION
# This determines whether or not Nagios will run any host or
# service event handlers when it is initially (re)started.  Unless
# you're implementing redundant hosts, leave this option enabled.
# Values: 1 = enable event handlers, 0 = disable event handlers
 
enable_event_handlers=1
 
 
 
# PROCESS PERFORMANCE DATA OPTION
# This determines whether or not Nagios will process performance
# data returned from service and host checks.  If this option is
# enabled, host performance data will be processed using the
# host_perfdata_command (defined below) and service performance
# data will be processed using the service_perfdata_command (also
# defined below).  Read the HTML docs for more information on
# performance data.
# Values: 1 = process performance data, 0 = do not process performance data
 
# Tachtler
# default: process_performance_data=0
process_performance_data=1
 
 
 
# HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS
# These commands are run after every host and service check is
# performed.  These commands are executed only if the
# enable_performance_data option (above) is set to 1.  The command
# argument is the short name of a command definition that you
# define in your host configuration file.  Read the HTML docs for
# more information on performance data.
 
#host_perfdata_command=process-host-perfdata
#service_perfdata_command=process-service-perfdata
 
 
 
# HOST AND SERVICE PERFORMANCE DATA FILES
# These files are used to store host and service performance data.
# Performance data is only written to these files if the
# enable_performance_data option (above) is set to 1.
 
#host_perfdata_file=/tmp/host-perfdata
#service_perfdata_file=/tmp/service-perfdata
 
 
 
# HOST AND SERVICE PERFORMANCE DATA FILE TEMPLATES
# These options determine what data is written (and how) to the
# performance data files.  The templates may contain macros, special
# characters (\t for tab, \r for carriage return, \n for newline)
# and plain text.  A newline is automatically added after each write
# to the performance data file.  Some examples of what you can do are
# shown below.
 
#host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$
#service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$
 
 
 
# HOST AND SERVICE PERFORMANCE DATA FILE MODES
# This option determines whether or not the host and service
# performance data files are opened in write ("w") or append ("a")
# mode. If you want to use named pipes, you should use the special
# pipe ("p") mode which avoid blocking at startup, otherwise you will
# likely want the defult append ("a") mode.
 
#host_perfdata_file_mode=a
#service_perfdata_file_mode=a
 
 
 
# HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING INTERVAL
# These options determine how often (in seconds) the host and service
# performance data files are processed using the commands defined
# below.  A value of 0 indicates the files should not be periodically
# processed.
 
#host_perfdata_file_processing_interval=0
#service_perfdata_file_processing_interval=0
 
 
 
# HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING COMMANDS
# These commands are used to periodically process the host and
# service performance data files.  The interval at which the
# processing occurs is determined by the options above.
 
#host_perfdata_file_processing_command=process-host-perfdata-file
#service_perfdata_file_processing_command=process-service-perfdata-file
 
 
 
# OBSESS OVER SERVICE CHECKS OPTION
# This determines whether or not Nagios will obsess over service
# checks and run the ocsp_command defined below.  Unless you're
# planning on implementing distributed monitoring, do not enable
# this option.  Read the HTML docs for more information on
# implementing distributed monitoring.
# Values: 1 = obsess over services, 0 = do not obsess (default)
 
obsess_over_services=0
 
 
 
# OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND
# This is the command that is run for every service check that is
# processed by Nagios.  This command is executed only if the
# obsess_over_services option (above) is set to 1.  The command
# argument is the short name of a command definition that you
# define in your host configuration file. Read the HTML docs for
# more information on implementing distributed monitoring.
 
#ocsp_command=somecommand
 
 
 
# OBSESS OVER HOST CHECKS OPTION
# This determines whether or not Nagios will obsess over host
# checks and run the ochp_command defined below.  Unless you're
# planning on implementing distributed monitoring, do not enable
# this option.  Read the HTML docs for more information on
# implementing distributed monitoring.
# Values: 1 = obsess over hosts, 0 = do not obsess (default)
 
obsess_over_hosts=0
 
 
 
# OBSESSIVE COMPULSIVE HOST PROCESSOR COMMAND
# This is the command that is run for every host check that is
# processed by Nagios.  This command is executed only if the
# obsess_over_hosts option (above) is set to 1.  The command
# argument is the short name of a command definition that you
# define in your host configuration file. Read the HTML docs for
# more information on implementing distributed monitoring.
 
#ochp_command=somecommand
 
 
 
# TRANSLATE PASSIVE HOST CHECKS OPTION
# This determines whether or not Nagios will translate
# DOWN/UNREACHABLE passive host check results into their proper
# state for this instance of Nagios.  This option is useful
# if you have distributed or failover monitoring setup.  In
# these cases your other Nagios servers probably have a different
# "view" of the network, with regards to the parent/child relationship
# of hosts.  If a distributed monitoring server thinks a host
# is DOWN, it may actually be UNREACHABLE from the point of
# this Nagios instance.  Enabling this option will tell Nagios
# to translate any DOWN or UNREACHABLE host states it receives
# passively into the correct state from the view of this server.
# Values: 1 = perform translation, 0 = do not translate (default)
 
translate_passive_host_checks=0
 
 
 
# PASSIVE HOST CHECKS ARE SOFT OPTION
# This determines whether or not Nagios will treat passive host
# checks as being HARD or SOFT.  By default, a passive host check
# result will put a host into a HARD state type.  This can be changed
# by enabling this option.
# Values: 0 = passive checks are HARD, 1 = passive checks are SOFT
 
passive_host_checks_are_soft=0
 
 
 
# ORPHANED HOST/SERVICE CHECK OPTIONS
# These options determine whether or not Nagios will periodically
# check for orphaned host service checks.  Since service checks are
# not rescheduled until the results of their previous execution
# instance are processed, there exists a possibility that some
# checks may never get rescheduled.  A similar situation exists for
# host checks, although the exact scheduling details differ a bit
# from service checks.  Orphaned checks seem to be a rare
# problem and should not happen under normal circumstances.
# If you have problems with service checks never getting
# rescheduled, make sure you have orphaned service checks enabled.
# Values: 1 = enable checks, 0 = disable checks
 
check_for_orphaned_services=1
check_for_orphaned_hosts=1
 
 
 
# SERVICE FRESHNESS CHECK OPTION
# This option determines whether or not Nagios will periodically
# check the "freshness" of service results.  Enabling this option
# is useful for ensuring passive checks are received in a timely
# manner.
# Values: 1 = enabled freshness checking, 0 = disable freshness checking
 
check_service_freshness=1
 
 
 
# SERVICE FRESHNESS CHECK INTERVAL
# This setting determines how often (in seconds) Nagios will
# check the "freshness" of service check results.  If you have
# disabled service freshness checking, this option has no effect.
 
service_freshness_check_interval=60
 
 
 
# SERVICE CHECK TIMEOUT STATE
# This setting determines the state Nagios will report when a
# service check times out - that is does not respond within
# service_check_timeout seconds.  This can be useful if a
# machine is running at too high a load and you do not want
# to consider a failed service check to be critical (the default).
# Valid settings are:
# c - Critical (default)
# u - Unknown
# w - Warning
# o - OK
 
service_check_timeout_state=c
 
 
 
# HOST FRESHNESS CHECK OPTION
# This option determines whether or not Nagios will periodically
# check the "freshness" of host results.  Enabling this option
# is useful for ensuring passive checks are received in a timely
# manner.
# Values: 1 = enabled freshness checking, 0 = disable freshness checking
 
check_host_freshness=0
 
 
 
# HOST FRESHNESS CHECK INTERVAL
# This setting determines how often (in seconds) Nagios will
# check the "freshness" of host check results.  If you have
# disabled host freshness checking, this option has no effect.
 
host_freshness_check_interval=60
 
 
 
 
# ADDITIONAL FRESHNESS THRESHOLD LATENCY
# This setting determines the number of seconds that Nagios
# will add to any host and service freshness thresholds that
# it calculates (those not explicitly specified by the user).
 
additional_freshness_latency=15
 
 
 
 
# FLAP DETECTION OPTION
# This option determines whether or not Nagios will try
# and detect hosts and services that are "flapping".
# Flapping occurs when a host or service changes between
# states too frequently.  When Nagios detects that a
# host or service is flapping, it will temporarily suppress
# notifications for that host/service until it stops
# flapping.  Flap detection is very experimental, so read
# the HTML documentation before enabling this feature!
# Values: 1 = enable flap detection
#         0 = disable flap detection (default)
 
enable_flap_detection=1
 
 
 
# FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES
# Read the HTML documentation on flap detection for
# an explanation of what this option does.  This option
# has no effect if flap detection is disabled.
 
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
 
 
 
# DATE FORMAT OPTION
# This option determines how short dates are displayed. Valid options
# include:
#       us              (MM-DD-YYYY HH:MM:SS)
#       euro            (DD-MM-YYYY HH:MM:SS)
#       iso8601         (YYYY-MM-DD HH:MM:SS)
#       strict-iso8601  (YYYY-MM-DDTHH:MM:SS)
#
 
# Tachtler
# default: date_format=us
date_format=iso8601
 
 
 
 
# TIMEZONE OFFSET
# This option is used to override the default timezone that this
# instance of Nagios runs in.  If not specified, Nagios will use
# the system configured timezone.
#
# NOTE: In order to display the correct timezone in the CGIs, you
# will also need to alter the Apache directives for the CGI path
# to include your timezone.  Example:
#
#   <Directory "/usr/local/nagios/sbin/">
#      SetEnv TZ "Australia/Brisbane"
#      ...
#   </Directory>
 
#use_timezone=US/Mountain
#use_timezone=Australia/Brisbane
 
# Tachtler
use_timezone=Europe/Berlin
 
 
 
 
# P1.PL FILE LOCATION
# This value determines where the p1.pl perl script (used by the
# embedded Perl interpreter) is located.  If you didn't compile
# Nagios with embedded Perl support, this option has no effect.
 
p1_file=/usr/sbin/p1.pl
 
 
 
# EMBEDDED PERL INTERPRETER OPTION
# This option determines whether or not the embedded Perl interpreter
# will be enabled during runtime.  This option has no effect if Nagios
# has not been compiled with support for embedded Perl.
# Values: 0 = disable interpreter, 1 = enable interpreter
 
enable_embedded_perl=1
 
 
 
# EMBEDDED PERL USAGE OPTION
# This option determines whether or not Nagios will process Perl plugins
# and scripts with the embedded Perl interpreter if the plugins/scripts
# do not explicitly indicate whether or not it is okay to do so. Read
# the HTML documentation on the embedded Perl interpreter for more
# information on how this option works.
 
use_embedded_perl_implicitly=1
 
 
 
# ILLEGAL OBJECT NAME CHARACTERS
# This option allows you to specify illegal characters that cannot
# be used in host names, service descriptions, or names of other
# object types.
 
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
 
 
 
# ILLEGAL MACRO OUTPUT CHARACTERS
# This option allows you to specify illegal characters that are
# stripped from macros before being used in notifications, event
# handlers, etc.  This DOES NOT affect macros used in service or
# host check commands.
# The following macros are stripped of the characters you specify:
#       $HOSTOUTPUT$
#       $HOSTPERFDATA$
#       $HOSTACKAUTHOR$
#       $HOSTACKCOMMENT$
#       $SERVICEOUTPUT$
#       $SERVICEPERFDATA$
#       $SERVICEACKAUTHOR$
#       $SERVICEACKCOMMENT$
 
illegal_macro_output_chars=`~$&|'"<>
 
 
 
# REGULAR EXPRESSION MATCHING
# This option controls whether or not regular expression matching
# takes place in the object config files.  Regular expression
# matching is used to match host, hostgroup, service, and service
# group names/descriptions in some fields of various object types.
# Values: 1 = enable regexp matching, 0 = disable regexp matching
 
use_regexp_matching=0
 
 
 
# "TRUE" REGULAR EXPRESSION MATCHING
# This option controls whether or not "true" regular expression
# matching takes place in the object config files.  This option
# only has an effect if regular expression matching is enabled
# (see above).  If this option is DISABLED, regular expression
# matching only occurs if a string contains wildcard characters
# (* and ?).  If the option is ENABLED, regexp matching occurs
# all the time (which can be annoying).
# Values: 1 = enable true matching, 0 = disable true matching
 
use_true_regexp_matching=0
 
 
 
# ADMINISTRATOR EMAIL/PAGER ADDRESSES
# The email and pager address of a global administrator (likely you).
# Nagios never uses these values itself, but you can access them by
# using the $ADMINEMAIL$ and $ADMINPAGER$ macros in your notification
# commands.
 
# Tachtler
# default: admin_email=nagios@localhost
admin_email=nagiosnotifications@localhost
# Tachtler
# default: admin_pager=pagenagios@localhost
admin_pager=pagenagiosnotifications@localhost
 
 
 
# DAEMON CORE DUMP OPTION
# This option determines whether or not Nagios is allowed to create
# a core dump when it runs as a daemon.  Note that it is generally
# considered bad form to allow this, but it may be useful for
# debugging purposes.  Enabling this option doesn't guarantee that
# a core file will be produced, but that's just life...
# Values: 1 - Allow core dumps
#         0 - Do not allow core dumps (default)
 
daemon_dumps_core=0
 
 
 
# LARGE INSTALLATION TWEAKS OPTION
# This option determines whether or not Nagios will take some shortcuts
# which can save on memory and CPU usage in large Nagios installations.
# Read the documentation for more information on the benefits/tradeoffs
# of enabling this option.
# Values: 1 - Enabled tweaks
#         0 - Disable tweaks (default)
 
use_large_installation_tweaks=0
 
 
 
# ENABLE ENVIRONMENT MACROS
# This option determines whether or not Nagios will make all standard
# macros available as environment variables when host/service checks
# and system commands (event handlers, notifications, etc.) are
# executed.  Enabling this option can cause performance issues in
# large installations, as it will consume a bit more memory and (more
# importantly) consume more CPU.
# Values: 1 - Enable environment variable macros (default)
#         0 - Disable environment variable macros
 
enable_environment_macros=1
 
 
 
# CHILD PROCESS MEMORY OPTION
# This option determines whether or not Nagios will free memory in
# child processes (processed used to execute system commands and host/
# service checks).  If you specify a value here, it will override
# program defaults.
# Value: 1 - Free memory in child processes
#        0 - Do not free memory in child processes
 
#free_child_process_memory=1
 
 
 
# CHILD PROCESS FORKING BEHAVIOR
# This option determines how Nagios will fork child processes
# (used to execute system commands and host/service checks).  Normally
# child processes are fork()ed twice, which provides a very high level
# of isolation from problems.  Fork()ing once is probably enough and will
# save a great deal on CPU usage (in large installs), so you might
# want to consider using this.  If you specify a value here, it will
# program defaults.
# Value: 1 - Child processes fork() twice
#        0 - Child processes fork() just once
 
#child_processes_fork_twice=1
 
 
 
# DEBUG LEVEL
# This option determines how much (if any) debugging information will
# be written to the debug file.  OR values together to log multiple
# types of information.
# Values:
#          -1 = Everything
#          0 = Nothing
#          1 = Functions
#          2 = Configuration
#          4 = Process information
#          8 = Scheduled events
#          16 = Host/service checks
#          32 = Notifications
#          64 = Event broker
#          128 = External commands
#          256 = Commands
#          512 = Scheduled downtime
#          1024 = Comments
#          2048 = Macros
 
debug_level=0
 
 
 
# DEBUG VERBOSITY
# This option determines how verbose the debug log out will be.
# Values: 0 = Brief output
#         1 = More detailed
#         2 = Very detailed
 
debug_verbosity=1
 
 
 
# DEBUG FILE
# This option determines where Nagios should write debugging information.
 
debug_file=/var/log/nagios/nagios.debug
 
 
 
# MAX DEBUG FILE SIZE
# This option determines the maximum size (in bytes) of the debug file.  If
# the file grows larger than this size, it will be renamed with a .old
# extension.  If a file already exists with a .old extension it will
# automatically be deleted.  This helps ensure your disk space usage doesn't
# get out of control when debugging Nagios.
 
# This option determines how Nagios will fork child processes
# (used to execute system commands and host/service checks).  Normally
# child processes are fork()ed twice, which provides a very high level
# of isolation from problems.  Fork()ing once is probably enough and will
# save a great deal on CPU usage (in large installs), so you might
# want to consider using this.  If you specify a value here, it will
# program defaults.
# Value: 1 - Child processes fork() twice
#        0 - Child processes fork() just once
 
#child_processes_fork_twice=1
 
 
 
# DEBUG LEVEL
# This option determines how much (if any) debugging information will
# be written to the debug file.  OR values together to log multiple
# types of information.
# Values:
#          -1 = Everything
#          0 = Nothing
#          1 = Functions
#          2 = Configuration
#          4 = Process information
#          8 = Scheduled events
#          16 = Host/service checks
#          32 = Notifications
#          64 = Event broker
#          128 = External commands
#          256 = Commands
#          512 = Scheduled downtime
#          1024 = Comments
#          2048 = Macros
 
debug_level=0
 
 
 
# DEBUG VERBOSITY
# This option determines how verbose the debug log out will be.
# Values: 0 = Brief output
#         1 = More detailed
#         2 = Very detailed
 
debug_verbosity=1
 
 
 
# DEBUG FILE
# This option determines where Nagios should write debugging information.
 
debug_file=/var/log/nagios/nagios.debug
 
 
 
# MAX DEBUG FILE SIZE
# This option determines the maximum size (in bytes) of the debug file.  If
# the file grows larger than this size, it will be renamed with a .old
# extension.  If a file already exists with a .old extension it will
# automatically be deleted.  This helps ensure your disk space usage doesn't
# get out of control when debugging Nagios.
 
max_debug_file_size=1000000

Erklärung:
Auskommentieren der Standard-Konfigurationsdateien und ersetzen durch Konfigurationsverzeichnisse, in denen dann die eigentlichen Konfigurationsdateien liegen. Dies hat den Vorteil, dass mit dieser Vorgehensweise auch größere Installationen ohne Probleme realisiert werden können.

...
# OBJECT CONFIGURATION FILE(S)
# These are the object configuration files in which you define hosts,
# host groups, contacts, contact groups, services, etc.
# You can split your object definitions across several config files
# if you wish (as shown below), or keep them all in a single config file.
 
# You can specify individual object config files as shown below:
# Tachtler
# default: cfg_file=/etc/nagios/objects/commands.cfg
# cfg_file=/etc/nagios/objects/commands.cfg
# Tachtler
# default: cfg_file=/etc/nagios/objects/contacts.cfg
# cfg_file=/etc/nagios/objects/contacts.cfg
# Tachtler
# default: cfg_file=/etc/nagios/objects/timeperiods.cfg
# cfg_file=/etc/nagios/objects/timeperiods.cfg
# Tachtler
# default: cfg_file=/etc/nagios/objects/templates.cfg
# cfg_file=/etc/nagios/objects/templates.cfg
 
# Definitions for monitoring the local (Linux) host
# Tachtler
# default: cfg_file=/etc/nagios/objects/localhost.cfg
# cfg_file=/etc/nagios/objects/localhost.cfg
 
# Definitions for monitoring a Windows machine
#cfg_file=/etc/nagios/objects/windows.cfg
 
# Definitions for monitoring a router/switch
#cfg_file=/etc/nagios/objects/switch.cfg
 
# Definitions for monitoring a network printer
#cfg_file=/etc/nagios/objects/printer.cfg
 
 
# You can also tell Nagios to process all config files (with a .cfg
# extension) in a particular directory by using the cfg_dir
# directive as shown below:
 
#cfg_dir=/etc/nagios/servers
#cfg_dir=/etc/nagios/printers
#cfg_dir=/etc/nagios/switches
#cfg_dir=/etc/nagios/routers
 
# Tachtler
cfg_dir=/etc/nagios/globals
cfg_dir=/etc/nagios/tachtler.net
...

Erklärung:
Verhindern, das ein Log-Schreibung zusätzlich zum syslog-Daemin/Dienst erfolgt. Dies ist optional, jedoch sinnvoll, da sonst eine doppelte Log-Erzeugung durchgeführt wird!

...
# LOGGING OPTIONS
# If you want messages logged to the syslog facility, as well as the
# Nagios log file set this option to 1.  If not, set it to 0.
 
# Tachtler
# default: use_syslog=1
use_syslog=0
...

Erklärung:
Es sollen auch die initialen Zustände eines Host bzw. Services in die Log-Schreibung mit einfließen.

...
# INITIAL STATES LOGGING OPTION
# If you want Nagios to log all initial host and service states to
# the main log file (the first time the service or host is checked)
# you can enable this option by setting this value to 1.  If you
# are not using an external application that does long term state
# statistics reporting, you do not need to enable this option.  In
# this case, set the value to 0.
 
# Tachtler
# default: log_initial_states=0
log_initial_states=1
...

Erklärung:
Einschalten des automatischen update-check Mechanismus von Nagios.

...
# BARE UPDATE CHECK
# This option deterines what data Nagios will send to api.nagios.org when
# it checks for updates.  By default, Nagios will send information on the
# current version of Nagios you have installed, as well as an indicator as
# to whether this was a new installation or not.  Nagios Enterprises uses
# this data to determine the number of users running specific version of
# Nagios.  Enable this option if you do not want this information to be sent.
 
# Tachtler
# default: bare_update_check=0
bare_update_check=1
...

Erklärung:
Aktivierung des Schreibens von Performance-Daten. Dies wird hier bereits eingeschaltet und dient der späteren Nutzung von zusätzlichen Werkzeugen, die auf die von Nagios bei der Prüfung der einzelnen Hosts bzw. Services angefallenen Performance Daten dann weiter auswerten können.

...
# PROCESS PERFORMANCE DATA OPTION
# This determines whether or not Nagios will process performance
# data returned from service and host checks.  If this option is
# enabled, host performance data will be processed using the
# host_perfdata_command (defined below) and service performance
# data will be processed using the service_perfdata_command (also
# defined below).  Read the HTML docs for more information on
# performance data.
# Values: 1 = process performance data, 0 = do not process performance data
 
# Tachtler
# default: process_performance_data=0
process_performance_data=1
...

Erklärung:
Anpassung des Datum-Formats.

...
# DATE FORMAT OPTION
# This option determines how short dates are displayed. Valid options
# include:
#       us              (MM-DD-YYYY HH:MM:SS)
#       euro            (DD-MM-YYYY HH:MM:SS)
#       iso8601         (YYYY-MM-DD HH:MM:SS)
#       strict-iso8601  (YYYY-MM-DDTHH:MM:SS)
#
 
# Tachtler
# default: date_format=us
date_format=iso8601
...

Erklärung:
Angabe der Zeitzone, in der sich der Nagios-Server befindet.

...
# TIMEZONE OFFSET
# This option is used to override the default timezone that this
# instance of Nagios runs in.  If not specified, Nagios will use
# the system configured timezone.
#
# NOTE: In order to display the correct timezone in the CGIs, you
# will also need to alter the Apache directives for the CGI path
# to include your timezone.  Example:
#
#   <Directory "/usr/local/nagios/sbin/">
#      SetEnv TZ "Australia/Brisbane"
#      ...
#   </Directory>
 
#use_timezone=US/Mountain
#use_timezone=Australia/Brisbane
 
# Tachtler
use_timezone=Europe/Berlin
...

Erklärung:
Anpasung der e-Mail-Adresse und der Pager-Adresse, welche durch Nagios zum versenden von Nachrichten verwendet werden sollen.

...
# ADMINISTRATOR EMAIL/PAGER ADDRESSES
# The email and pager address of a global administrator (likely you).
# Nagios never uses these values itself, but you can access them by
# using the $ADMINEMAIL$ and $ADMINPAGER$ macros in your notification
# commands.
 
# Tachtler
# default: admin_email=nagios@localhost
admin_email=nagiosnotifications@localhost
# Tachtler
# default: admin_pager=pagenagios@localhost
admin_pager=pagenagiosnotifications@localhost
...

/etc/nagios/cgi.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/nagios/cgi.cfg

bestimmt das Aussehen und Verhalten des Web-Interface von Nagios

Die nachfolgend gezeigten Anpassungen sind sicherheitsrelevant und optional und dienen dazu, dass Aussehen, Verhalten und den Zugriff zu beeinflussen und zu regeln.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/nagios/cgi.cfg - (gesamt)

#################################################################
#
# CGI.CFG - Sample CGI Configuration File for Nagios 3.4.1
#
# Last Modified: 06-17-2009
#
#################################################################
 
 
# MAIN CONFIGURATION FILE
# This tells the CGIs where to find your main configuration file.
# The CGIs will read the main and host config files for any other
# data they might need.
 
main_config_file=/etc/nagios/nagios.cfg
 
 
 
# PHYSICAL HTML PATH
# This is the path where the HTML files for Nagios reside.  This
# value is used to locate the logo images needed by the statusmap
# and statuswrl CGIs.
 
physical_html_path=/usr/share/nagios/html
 
 
 
# URL HTML PATH
# This is the path portion of the URL that corresponds to the
# physical location of the Nagios HTML files (as defined above).
# This value is used by the CGIs to locate the online documentation
# and graphics.  If you access the Nagios pages with an URL like
# http://www.myhost.com/nagios, this value should be '/nagios'
# (without the quotes).
 
url_html_path=/nagios
 
 
 
# CONTEXT-SENSITIVE HELP
# This option determines whether or not a context-sensitive
# help icon will be displayed for most of the CGIs.
# Values: 0 = disables context-sensitive help
#         1 = enables context-sensitive help
 
# Tachtler
# default: show_context_help=0
show_context_help=1
 
 
 
# PENDING STATES OPTION
# This option determines what states should be displayed in the web
# interface for hosts/services that have not yet been checked.
# Values: 0 = leave hosts/services that have not been check yet in their original state
#         1 = mark hosts/services that have not been checked yet as PENDING
 
use_pending_states=1
 
 
 
 
# AUTHENTICATION USAGE
# This option controls whether or not the CGIs will use any
# authentication when displaying host and service information, as
# well as committing commands to Nagios for processing.
#
# Read the HTML documentation to learn how the authorization works!
#
# NOTE: It is a really *bad* idea to disable authorization, unless
# you plan on removing the command CGI (cmd.cgi)!  Failure to do
# so will leave you wide open to kiddies messing with Nagios and
# possibly hitting you with a denial of service attack by filling up
# your drive by continuously writing to your command file!
#
# Setting this value to 0 will cause the CGIs to *not* use
# authentication (bad idea), while any other value will make them
# use the authentication functions (the default).
 
use_authentication=1
 
 
 
 
# x509 CERT AUTHENTICATION
# When enabled, this option allows you to use x509 cert (SSL)
# authentication in the CGIs.  This is an advanced option and should
# not be enabled unless you know what you're doing.
 
use_ssl_authentication=0
 
 
 
 
# DEFAULT USER
# Setting this variable will define a default user name that can
# access pages without authentication.  This allows people within a
# secure domain (i.e., behind a firewall) to see the current status
# without authenticating.  You may want to use this to avoid basic
# authentication if you are not using a secure server since basic
# authentication transmits passwords in the clear.
#
# Important:  Do not define a default username unless you are
# running a secure web server and are sure that everyone who has
# access to the CGIs has been authenticated in some manner!  If you
# define this variable, anyone who has not authenticated to the web
# server will inherit all rights you assign to this user!
 
#default_user_name=guest
 
 
 
# SYSTEM/PROCESS INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# have access to viewing the Nagios process information as
# provided by the Extended Information CGI (extinfo.cgi).  By
# default, *no one* has access to this unless you choose to
# not use authorization.  You may use an asterisk (*) to
# authorize any user who has authenticated to the web server.
 
# Tachtler
# default: authorized_for_system_information=nagiosadmin
authorized_for_system_information=administrator
 
 
 
# CONFIGURATION INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# can view ALL configuration information (hosts, commands, etc).
# By default, users can only view configuration information
# for the hosts and services they are contacts for. You may use
# an asterisk (*) to authorize any user who has authenticated
# to the web server.
 
# Tachtler
# default: authorized_for_configuration_information=nagiosadmin
authorized_for_configuration_information=administrator
 
 
 
# SYSTEM/PROCESS COMMAND ACCESS
# This option is a comma-delimited list of all usernames that
# can issue shutdown and restart commands to Nagios via the
# command CGI (cmd.cgi).  Users in this list can also change
# the program mode to active or standby. By default, *no one*
# has access to this unless you choose to not use authorization.
# You may use an asterisk (*) to authorize any user who has
# authenticated to the web server.
 
# Tachtler
# default: authorized_for_system_commands=nagiosadmin
authorized_for_system_commands=administrator
 
 
 
# GLOBAL HOST/SERVICE VIEW ACCESS
# These two options are comma-delimited lists of all usernames that
# can view information for all hosts and services that are being
# monitored.  By default, users can only view information
# for hosts or services that they are contacts for (unless you
# you choose to not use authorization). You may use an asterisk (*)
# to authorize any user who has authenticated to the web server.
 
 
# Tachtler
# default: authorized_for_all_services=nagiosadmin
authorized_for_all_services=administrator,benutzer
# Tachtler
# default: authorized_for_all_hosts=nagiosadmin
authorized_for_all_hosts=administrator,benutzer
 
 
# GLOBAL HOST/SERVICE COMMAND ACCESS
# These two options are comma-delimited lists of all usernames that
# can issue host or service related commands via the command
# CGI (cmd.cgi) for all hosts and services that are being monitored.
# By default, users can only issue commands for hosts or services
# that they are contacts for (unless you you choose to not use
# authorization).  You may use an asterisk (*) to authorize any
# user who has authenticated to the web server.
 
# Tachtler
# default: authorized_for_all_service_commands=nagiosadmin
authorized_for_all_service_commands=administrator,benutzer
# Tachtler
# default: authorized_for_all_host_commands=nagiosadmin
authorized_for_all_host_commands=administrator,benutzer
 
 
 
# READ-ONLY USERS
# A comma-delimited list of usernames that have read-only rights in
# the CGIs.  This will block any service or host commands normally shown
# on the extinfo CGI pages.  It will also block comments from being shown
# to read-only users.
 
#authorized_for_read_only=user1,user2
 
 
 
 
# STATUSMAP BACKGROUND IMAGE
# This option allows you to specify an image to be used as a
# background in the statusmap CGI.  It is assumed that the image
# resides in the HTML images path (i.e. /usr/local/nagios/share/images).
# This path is automatically determined by appending "/images"
# to the path specified by the 'physical_html_path' directive.
# Note:  The image file may be in GIF, PNG, JPEG, or GD2 format.
# However, I recommend that you convert your image to GD2 format
# (uncompressed), as this will cause less CPU load when the CGI
# generates the image.
 
#statusmap_background_image=smbackground.gd2
 
 
 
 
# STATUSMAP TRANSPARENCY INDEX COLOR
# These options set the r,g,b values of the background color used the statusmap CGI,
# so normal browsers that can't show real png transparency set the desired color as
# a background color instead (to make it look pretty).
# Defaults to white: (R,G,B) = (255,255,255).
 
#color_transparency_index_r=255
#color_transparency_index_g=255
#color_transparency_index_b=255
 
 
 
 
# DEFAULT STATUSMAP LAYOUT METHOD
# This option allows you to specify the default layout method
# the statusmap CGI should use for drawing hosts.  If you do
# not use this option, the default is to use user-defined
# coordinates.  Valid options are as follows:
#       0 = User-defined coordinates
#       1 = Depth layers
#       2 = Collapsed tree
#       3 = Balanced tree
#       4 = Circular
#       5 = Circular (Marked Up)
 
# Tachtler
# default: default_statusmap_layout=5
default_statusmap_layout=2
 
 
 
# DEFAULT STATUSWRL LAYOUT METHOD
# This option allows you to specify the default layout method
# the statuswrl (VRML) CGI should use for drawing hosts.  If you
# do not use this option, the default is to use user-defined
# coordinates.  Valid options are as follows:
#       0 = User-defined coordinates
#       2 = Collapsed tree
#       3 = Balanced tree
#       4 = Circular
 
# Tachtler
# default: default_statuswrl_layout=4
default_statuswrl_layout=3
 
 
 
# STATUSWRL INCLUDE
# This option allows you to include your own objects in the
# generated VRML world.  It is assumed that the file
# resides in the HTML path (i.e. /usr/local/nagios/share).
 
#statuswrl_include=myworld.wrl
 
 
 
# PING SYNTAX
# This option determines what syntax should be used when
# attempting to ping a host from the WAP interface (using
# the statuswml CGI.  You must include the full path to
# the ping binary, along with all required options.  The
# $HOSTADDRESS$ macro is substituted with the address of
# the host before the command is executed.
# Please note that the syntax for the ping binary is
# notorious for being different on virtually ever *NIX
# OS and distribution, so you may have to tweak this to
# work on your system.
 
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
 
 
 
# REFRESH RATE
# This option allows you to specify the refresh rate in seconds
# of various CGIs (status, statusmap, extinfo, and outages).
 
# Tachtler
# default: refresh_rate=90
refresh_rate=60
 
# DEFAULT PAGE LIMIT
# This option allows you to specify the default number of results
# displayed on the status.cgi.  This number can be adjusted from
# within the UI after the initial page load. Setting this to 0
# will show all results.
 
# Tachtler
# default: result_limit=100
result_limit=0
 
 
# ESCAPE HTML TAGS
# This option determines whether HTML tags in host and service
# status output is escaped in the web interface.  If enabled,
# your plugin output will not be able to contain clickable links.
 
# Tachtler
# default: escape_html_tags=1
escape_html_tags=0
 
 
 
 
# SOUND OPTIONS
# These options allow you to specify an optional audio file
# that should be played in your browser window when there are
# problems on the network.  The audio files are used only in
# the status CGI.  Only the sound for the most critical problem
# will be played.  Order of importance (higher to lower) is as
# follows: unreachable hosts, down hosts, critical services,
# warning services, and unknown services. If there are no
# visible problems, the sound file optionally specified by
# 'normal_sound' variable will be played.
#
#
# <varname>=<sound_file>
#
# Note: All audio files must be placed in the /media subdirectory
# under the HTML path (i.e. /usr/local/nagios/share/media/).
 
#host_unreachable_sound=hostdown.wav
#host_down_sound=hostdown.wav
#service_critical_sound=critical.wav
#service_warning_sound=warning.wav
#service_unknown_sound=warning.wav
#normal_sound=noproblem.wav
 
 
 
# URL TARGET FRAMES
# These options determine the target frames in which notes and
# action URLs will open.
 
action_url_target=_blank
notes_url_target=_blank
 
 
 
 
# LOCK AUTHOR NAMES OPTION
# This option determines whether users can change the author name
# when submitting comments, scheduling downtime.  If disabled, the
# author names will be locked into their contact name, as defined in Nagios.
# Values: 0 = allow editing author names
#         1 = lock author names (disallow editing)
 
lock_author_names=1
 
 
 
 
# SPLUNK INTEGRATION OPTIONS
# These options allow you to enable integration with Splunk
# in the web interface.  If enabled, you'll be presented with
# "Splunk It" links in various places in the CGIs (log file,
# alert history, host/service detail, etc).  Useful if you're
# trying to research why a particular problem occurred.
# For more information on Splunk, visit http://www.splunk.com/
 
# This option determines whether the Splunk integration is enabled
# Values: 0 = disable Splunk integration
#         1 = enable Splunk integration
 
# Tachtler
# default: #enable_splunk_integration=1
enable_splunk_integration=0
 
 
# This option should be the URL used to access your instance of Splunk
 
#splunk_url=http://127.0.0.1:8000/

Erklärung:
Einschalten der Inhalts bezogenen Hilfe.

...
# CONTEXT-SENSITIVE HELP
# This option determines whether or not a context-sensitive
# help icon will be displayed for most of the CGIs.
# Values: 0 = disables context-sensitive help
#         1 = enables context-sensitive help
 
# Tachtler
# default: show_context_help=0
show_context_help=1
...

Erklärung:
Zugriff auf die Anzeige der System- und Prozess-Informationen. Angabe eines Benutzernamens.

...
# SYSTEM/PROCESS INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# have access to viewing the Nagios process information as
# provided by the Extended Information CGI (extinfo.cgi).  By
# default, *no one* has access to this unless you choose to
# not use authorization.  You may use an asterisk (*) to
# authorize any user who has authenticated to the web server.
 
# Tachtler
# default: authorized_for_system_information=nagiosadmin
authorized_for_system_information=administrator
...

Erklärung:
Zugriff auf die Anzeige der Konigurations-Informationen. Angabe eines Benutzernamens.

...
# CONFIGURATION INFORMATION ACCESS
# This option is a comma-delimited list of all usernames that
# can view ALL configuration information (hosts, commands, etc).
# By default, users can only view configuration information
# for the hosts and services they are contacts for. You may use
# an asterisk (*) to authorize any user who has authenticated
# to the web server.
 
# Tachtler
# default: authorized_for_configuration_information=nagiosadmin
authorized_for_configuration_information=administrator
...

Erklärung:
Zugriff auf die Ausführung von Befehlen über das Web-Interface. Angabe eines Benutzernamens.

...
# SYSTEM/PROCESS COMMAND ACCESS
# This option is a comma-delimited list of all usernames that
# can issue shutdown and restart commands to Nagios via the
# command CGI (cmd.cgi).  Users in this list can also change
# the program mode to active or standby. By default, *no one*
# has access to this unless you choose to not use authorization.
# You may use an asterisk (*) to authorize any user who has
# authenticated to the web server.
 
# Tachtler
# default: authorized_for_system_commands=nagiosadmin
authorized_for_system_commands=administrator
...

Erklärung:
Zugriff auf die Anzeige der Hosts- und Services-Statusinformationen. Angabe eines Benutzernamens.

...
# GLOBAL HOST/SERVICE VIEW ACCESS
# These two options are comma-delimited lists of all usernames that
# can view information for all hosts and services that are being
# monitored.  By default, users can only view information
# for hosts or services that they are contacts for (unless you
# you choose to not use authorization). You may use an asterisk (*)
# to authorize any user who has authenticated to the web server.
 
 
# Tachtler
# default: authorized_for_all_services=nagiosadmin
authorized_for_all_services=administrator,benutzer
# Tachtler
# default: authorized_for_all_hosts=nagiosadmin
authorized_for_all_hosts=administrator,benutzer
...

Erklärung:
Zugriff auf die Ausführung von Befehlen der Hosts und Services über das Web-Interface . Angabe eines Benutzernamens.

...
# GLOBAL HOST/SERVICE COMMAND ACCESS
# These two options are comma-delimited lists of all usernames that
# can issue host or service related commands via the command
# CGI (cmd.cgi) for all hosts and services that are being monitored.
# By default, users can only issue commands for hosts or services
# that they are contacts for (unless you you choose to not use
# authorization).  You may use an asterisk (*) to authorize any
# user who has authenticated to the web server.
 
# Tachtler
# default: authorized_for_all_service_commands=nagiosadmin
authorized_for_all_service_commands=administrator,benutzer
# Tachtler
# default: authorized_for_all_host_commands=nagiosadmin
authorized_for_all_host_commands=administrator,benutzer
...

Erklärung:
Angabe einer Aktualisierungs-Rate, für die Anzeige des Web-Interfaces. (Hier eine Minute)

...
# REFRESH RATE
# This option allows you to specify the refresh rate in seconds
# of various CGIs (status, statusmap, extinfo, and outages).
 
# Tachtler
# default: refresh_rate=90
refresh_rate=60
...

Erklärung:
Limit für die Anzeige von Elementen der Status-Seite des Web-Interfaces. (0 = unlimitiert, :!: VORSICHT !!!)

...
# DEFAULT PAGE LIMIT
# This option allows you to specify the default number of results
# displayed on the status.cgi.  This number can be adjusted from
# within the UI after the initial page load. Setting this to 0
# will show all results.
 
# Tachtler
# default: result_limit=100
result_limit=0
...

Erklärung:
Interpretation von Links in der Anziege des Web-Interfaces als Text, oder tatsächliche Links. (0 = als Link interpretieren, :!: VORSICHT !!! - Dies kann ein Sicherheitsrisiko sein!)

...
# ESCAPE HTML TAGS
# This option determines whether HTML tags in host and service
# status output is escaped in the web interface.  If enabled,
# your plugin output will not be able to contain clickable links.
 
# Tachtler
# default: escape_html_tags=1
escape_html_tags=0
...

Erklärung:
Deaktivieren der Integration in das Produkt - Splunk.

...
# SPLUNK INTEGRATION OPTIONS
# These options allow you to enable integration with Splunk
# in the web interface.  If enabled, you'll be presented with
# "Splunk It" links in various places in the CGIs (log file,
# alert history, host/service detail, etc).  Useful if you're
# trying to research why a particular problem occurred.
# For more information on Splunk, visit http://www.splunk.com/
 
# This option determines whether the Splunk integration is enabled
# Values: 0 = disable Splunk integration
#         1 = enable Splunk integration
 
# Tachtler
# default: #enable_splunk_integration=1
enable_splunk_integration=0
...

/etc/nagios/private/resource.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/nagios/private/resource.cfg

bestimmt zusätzliche Ressourcen von Nagios

Die nachfolgend gezeigten Anpassungen sind optional und dienen dazu, dass zusätzliche Ressourcen bereitzustellen.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/nagios/private/resource.cfg - (gesamt)

###########################################################################
#
# RESOURCE.CFG - Sample Resource File for Nagios 3.4.1
#
# Last Modified: 09-10-2003
#
# You can define $USERx$ macros in this file, which can in turn be used
# in command definitions in your host config file(s).  $USERx$ macros are
# useful for storing sensitive information such as usernames, passwords,
# etc.  They are also handy for specifying the path to plugins and
# event handlers - if you decide to move the plugins or event handlers to
# a different directory in the future, you can just update one or two
# $USERx$ macros, instead of modifying a lot of command definitions.
#
# The CGIs will not attempt to read the contents of resource files, so
# you can set restrictive permissions (600 or 660) on them.
#
# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
#
# Resource files may also be used to store configuration directives for
# external data sources like MySQL...
#
###########################################################################
 
# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/lib64/nagios/plugins
 
# Sets $USER2$ to be the path to event handlers
#$USER2$=/usr/lib64/nagios/plugins/eventhandlers
 
# Store some usernames and passwords (hidden from the CGIs)
#$USER3$=someuser
#$USER4$=somepassword
 
# Tachtler
$USER9$=/usr/lib64/nagios/plugins/extras

Erklärung:
Definition eines zusätzlichen Pfades für plugins - hier /usr/lib64/nagios/plugins/extras.

...
# Tachtler
$USER9$=/usr/lib64/nagios/plugins/extras
...

Nagios starten

:!: HINWEIS - Die Überprüfungen und der Start erfolgen gegen die original Konfigurationsdatei

  • /etc/nagios/nagios.cfg

Bevor der erste Start von Nagios durchgeführt werden soll, sollte eine Überprüfung der Konfiguration von Nagios mit nachfolgendem Befehl durchgeführt werden:

# service nagios checkconfig
Running configuration check... OK.

Eine ausführlichere Überprüfung der Konfigurationsdatei, kann mit nachfolgendem Befehl durchgeführt werden:

# /usr/sbin/nagios -pv /etc/nagios/nagios.cfg

Nagios Core 3.4.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 05-11-2012
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
        Checked 8 services.
Checking hosts...
        Checked 1 hosts.
Checking host groups...
        Checked 1 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 1 contacts.
Checking contact groups...
        Checked 1 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 24 commands.
Checking time periods...
        Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

Abschließend kann dann Nagios mit nachfolgendem Befehl gestartet werden:

# service nagios start
Starting nagios: done.

Um Nagios auch nach einem Neustart (restart) des Nagios-Servers automatisch zu starten, sollten nachfolgende Konfiguration durchgeführt werden.

Nachfolgender Befehl, fügt das Start-Skript

  • /etc/init.d/nagios

der automatischen Ausführung (Start) beim Start oder Neustart des Servers/Knotens hinzu:

# chkconfig nagios on

Ein Überprüfung, ob dies erfolgreich war, kann mit nachfolgendem Befehl durchgeführt werden:

# chkconfig --list | grep nagios
nagios          0:off   1:off   2:on    3:on    4:on    5:on    6:off

Konfiguration Webserver

:!: HINWEIS - Bevor ein erster Start von Nagios durchgeführt werden kann, soll die Einrichtung des Webservers, hier der Apache HTTP Server, statt finden, da sonst evtl. Konfigurationen nicht im Web-Interface von Nagios dargestellt werden können!

Hier soll die Konfiguration eines virtuellen Host für den Apache HTTP Server beschrieben werden. Der Aufruf von Nagios soll über die URL

ermöglicht werden.

:!: HINWEIS - Falls Sie noch keine Erfahrungen mit virtuellen Hosts in Verbindung mit dem Apache HTTP Server haben sollten, lesen Sie bitte die Dokumentation des Apache HTTP Server Projektes, da hier nur die grundlegenden Schritte erläutert werden.

/etc/httpd/conf.d/vhost

Falls noch nicht geschehen wird im Verzeichnis /etc/httpd/conf.d eine Datei mit dem Namen vhosts.conf erstellt. Der Inhalt dieser Datei sollte minimal für einen virtuellen Host für Nagios wie folgt aussehen:

# This configuration file enables the vhosts to this
# Server
#
 
NameVirtualHost *:80
 
#
# nagios.tachtler.net (Nagios Monitoring)
#
<VirtualHost *:80>
        ServerAdmin webmaster@tachtler.net
        ServerName nagios.tachtler.net
        ServerAlias www.nagios.tachtler.net
        ServerPath /
 
        ScriptAlias /nagios/cgi-bin "/usr/lib64/nagios/cgi-bin"
 
        Alias /nagios "/usr/share/nagios/html"
 
        <Directory "/usr/lib64/nagios/cgi-bin/">
                Options ExecCGI
                AllowOverride None
                Order allow,deny
                Allow from all
                AuthName "Nagios Access"
                AuthType Basic
                AuthUserFile /etc/nagios/passwd
                Require valid-user
        </Directory>
 
        <Directory "/usr/share/nagios/html">
                Options ExecCGI
                AllowOverride None
                Order allow,deny
                Allow from all
                AuthName "Nagios Access"
                AuthType Basic
                AuthUserFile /etc/nagios/passwd
                Require valid-user
        </Directory>
 
        DirectoryIndex index.html index.php
        ErrorLog logs/nagios_error.log
        CustomLog logs/nagios_access.log combined
</VirtualHost>

:!: WICHTIG - Die mit der Installation mitgelieferte Konfigurationsdatei /etc/httpd/conf.d/nagios.conf kann entweder gelöscht, oder besser deren Inhalt „auskommentiert“ werden, damit es mit diesem neuen virtuellen Host nicht zu Überschneidungen kommen kann!

Ein erneuter oder erster Start des Apache HTTP Server mit folgenden Befehl für eine erstmaligen Start

# service httpd start
oder einen erneuten Start des Apache HTTP Server mit folgendem Befehl
# service httpd restart
macht die oben beschriebenen Konfigurationen für den Apache HTTP Server wirksam.

:!: HINWEIS - Der Benutzername ist nagiosadmin und das Passwort ist ebenfalls nagiosadmin !!!

Nach dem Erfolgreichen Aufruf des Links http://www.nagios.tachtler.net sollte folgende Standard-Startseite erscheinen:

Nagios Core Version 3.4.1

NRPE

Mit dem Nagios-Plugin

  • nagios-plugins-nrpe

und dem dazugehörigen Daemon/Dienst

  • nrpe

kann eine Überwachung auf dem Nagios-Server selbst und auf entfernten Rechnern durchgeführt werden.

Dabei dient der NRPE (Nagios Remote Plugin Executer) dem ausführen von plugins auf dem Zielrechner. Dazu ist es erforderlich den NRPE auf dem entsprechenden Zielrechner zu installieren. Nach der Installation wird ein Daemon/Dienst gestartet, welcher standardmäßig auf

  • Port 5666

lauscht, und hier Anfragen vom Nagios-Server entgegen nimmt und diese entsprechend, je nach aufgerufenen lokalen plugin, beantwortet.

Installation: Server

Nachfolgende RPM-Pakete müssen installiert werden, um auf dem Nagios-Server NRPE zu realisieren:

# yum install nrpe nagios-plugins-nrpe
Loaded plugins: priorities
1247 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nagios-plugins-nrpe.x86_64 0:2.13-1.el6 will be installed
---> Package nrpe.x86_64 0:2.13-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                    Arch          Version             Repository   Size
================================================================================
Installing:
 nagios-plugins-nrpe        x86_64        2.13-1.el6          epel         22 k
 nrpe                       x86_64        2.13-1.el6          epel        221 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 243 k
Installed size: 316 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): nagios-plugins-nrpe-2.13-1.el6.x86_64.rpm         |  22 kB     00:00
(2/2): nrpe-2.13-1.el6.x86_64.rpm                        | 221 kB     00:00
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 243 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nagios-plugins-nrpe-2.13-1.el6.x86_64                        1/2
  Installing : nrpe-2.13-1.el6.x86_64                                       2/2
  Verifying  : nrpe-2.13-1.el6.x86_64                                       1/2
  Verifying  : nagios-plugins-nrpe-2.13-1.el6.x86_64                        2/2

Installed:
  nagios-plugins-nrpe.x86_64 0:2.13-1.el6        nrpe.x86_64 0:2.13-1.el6

Complete!

Folgender Inhalt befindet sich im RPM-Paket nrpe.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil nrpe
Name        : nrpe                         Relocations: (not relocatable)
Version     : 2.13                              Vendor: Fedora Project
Release     : 1.el6                         Build Date: Mon 17 Sep 2012 01:05:00 PM CEST
Install Date: Fri 02 Nov 2012 02:22:23 PM CET      Build Host: buildvm-28.phx2.fedoraproject.org
Group       : Applications/System           Source RPM: nrpe-2.13-1.el6.src.rpm
Size        : 285184                           License: GPLv2
Signature   : RSA/8, Fri 21 Sep 2012 09:07:47 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.nagios.org
Summary     : Host/service/network monitoring agent for Nagios
Description :
Nrpe is a system daemon that will execute various Nagios plugins
locally on behalf of a remote (monitoring) host that uses the
check_nrpe plugin.  Various plugins that can be executed by the
daemon are available at:
http://sourceforge.net/projects/nagiosplug

This package provides the core agent.
/etc/nagios
/etc/nagios/nrpe.cfg
/etc/nrpe.d
/etc/rc.d/init.d/nrpe
/etc/sysconfig/nrpe
/usr/sbin/nrpe
/usr/share/doc/nrpe-2.13
/usr/share/doc/nrpe-2.13/Changelog
/usr/share/doc/nrpe-2.13/LEGAL
/usr/share/doc/nrpe-2.13/NRPE.pdf
/usr/share/doc/nrpe-2.13/README
/usr/share/doc/nrpe-2.13/README.SSL
/usr/share/doc/nrpe-2.13/SECURITY
/var/run/nrpe

Folgender Benutzer wurde ebenfalls angelegt, was mit folgende Befehl überprüft werden kann:

# cat /etc/passwd | grep nrpe
nrpe:x:399:399:NRPE user for the NRPE service:/var/run/nrpe:/sbin/nologin
Desweiteren wurden auch folgende Gruppen angelegt, was mit folgendem Befehl überprüft werden kann:
# cat /etc/group | grep nrpe
nrpe:x:399:

Folgender Inhalt befindet sich im RPM-Paket nagios-plugins-nrpe.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil nagios-plugins-nrpe
Name        : nagios-plugins-nrpe          Relocations: (not relocatable)
Version     : 2.13                              Vendor: Fedora Project
Release     : 1.el6                         Build Date: Mon 17 Sep 2012 01:05:00 PM CEST
Install Date: Fri 02 Nov 2012 02:22:22 PM CET      Build Host: buildvm-28.phx2.fedoraproject.org
Group       : Applications/System           Source RPM: nrpe-2.13-1.el6.src.rpm
Size        : 38792                            License: GPLv2
Signature   : RSA/8, Fri 21 Sep 2012 08:49:50 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.nagios.org
Summary     : Provides nrpe plugin for Nagios
Description :
Nrpe is a system daemon that will execute various Nagios plugins
locally on behalf of a remote (monitoring) host that uses the
check_nrpe plugin.  Various plugins that can be executed by the
daemon are available at:
http://sourceforge.net/projects/nagiosplug

This package provides the nrpe plugin for Nagios-related applications.
/usr/lib64/nagios/plugins/check_nrpe
/usr/share/doc/nagios-plugins-nrpe-2.13
/usr/share/doc/nagios-plugins-nrpe-2.13/Changelog
/usr/share/doc/nagios-plugins-nrpe-2.13/LEGAL
/usr/share/doc/nagios-plugins-nrpe-2.13/README

Installation: Client

Nachfolgendes RPM-Paket muss installiert werden, um alle benötigten plugins auch auf dem Client/Zielhost zur Verfügung zu haben:

# yum install nagios-plugins-all
Loaded plugins: priorities
1247 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nagios-plugins-all.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: nagios-plugins-wave for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-users for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ups for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-time for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-tcp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-swap for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ssh for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-snmp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-smtp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-sensors for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-rpc for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-real for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-procs for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ping for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-pgsql for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-overcr for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-oracle for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-nwstat for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ntp-perl for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ntp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-nt for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-nagios for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mysql for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mrtgtraf for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mrtg for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-mailq for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-log for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-load for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ldap for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ircd for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-ide_smart for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-icmp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-http for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-hpjd for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-game for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-fping for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-flexlm for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-file_age for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dummy for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dns for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-disk_smb for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-disk for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dig for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-dhcp for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-cluster for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-by_ssh for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-breeze for package: nagios-plugins-all-1.4.16-5.el6.x86_64
--> Running transaction check
---> Package nagios-plugins-breeze.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: nagios-plugins = 1.4.16-5.el6 for package: nagios-plugins-breeze-1.4.16-5.el6.x86_64
--> Processing Dependency: nagios-plugins-perl for package: nagios-plugins-breeze-1.4.16-5.el6.x86_64
---> Package nagios-plugins-by_ssh.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-cluster.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-dhcp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-dig.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-disk.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-disk_smb.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/bin/smbclient for package: nagios-plugins-disk_smb-1.4.16-5.el6.x86_64
---> Package nagios-plugins-dns.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-dummy.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-file_age.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-flexlm.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-fping.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/sbin/fping for package: nagios-plugins-fping-1.4.16-5.el6.x86_64
---> Package nagios-plugins-game.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: qstat for package: nagios-plugins-game-1.4.16-5.el6.x86_64
---> Package nagios-plugins-hpjd.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-http.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-icmp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ide_smart.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ircd.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ldap.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-load.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-log.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mailq.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mrtg.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mrtgtraf.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-mysql.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-nagios.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-nt.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ntp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ntp-perl.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-nwstat.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-oracle.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-overcr.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-pgsql.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: nagios-plugins-pgsql-1.4.16-5.el6.x86_64
---> Package nagios-plugins-ping.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-procs.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-real.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-rpc.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/sbin/rpcinfo for package: nagios-plugins-rpc-1.4.16-5.el6.x86_64
---> Package nagios-plugins-sensors.x86_64 0:1.4.16-5.el6 will be installed
--> Processing Dependency: /usr/bin/sensors for package: nagios-plugins-sensors-1.4.16-5.el6.x86_64
---> Package nagios-plugins-smtp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-snmp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ssh.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-swap.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-tcp.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-time.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-ups.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-users.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-wave.x86_64 0:1.4.16-5.el6 will be installed
--> Running transaction check
---> Package fping.x86_64 0:3.4-1.el6.rf will be installed
---> Package lm_sensors.x86_64 0:3.1.1-10.el6 will be installed
--> Processing Dependency: /usr/sbin/dmidecode for package: lm_sensors-3.1.1-10.el6.x86_64
---> Package nagios-plugins.x86_64 0:1.4.16-5.el6 will be installed
---> Package nagios-plugins-perl.x86_64 0:1.4.16-5.el6 will be installed
---> Package postgresql-libs.x86_64 0:8.4.13-1.el6_3 will be installed
---> Package qstat.x86_64 0:2.11-1.el6.rf will be installed
---> Package rpcbind.x86_64 0:0.2.0-9.el6 will be installed
--> Processing Dependency: libgssglue for package: rpcbind-0.2.0-9.el6.x86_64
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-9.el6.x86_64
--> Processing Dependency: libgssglue.so.1()(64bit) for package: rpcbind-0.2.0-9.el6.x86_64
---> Package samba-client.x86_64 0:3.5.10-125.el6 will be installed
--> Processing Dependency: samba-winbind-clients = 3.5.10-125.el6 for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: samba-common = 3.5.10-125.el6 for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: libwbclient.so.0()(64bit) for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: libtdb.so.1()(64bit) for package: samba-client-3.5.10-125.el6.x86_64
--> Processing Dependency: libtalloc.so.2()(64bit) for package: samba-client-3.5.10-125.el6.x86_64
--> Running transaction check
---> Package dmidecode.x86_64 1:2.11-2.el6 will be installed
---> Package libgssglue.x86_64 0:0.1-11.el6 will be installed
---> Package libtalloc.x86_64 0:2.0.1-1.1.el6 will be installed
---> Package libtdb.x86_64 0:1.2.1-3.el6 will be installed
---> Package libtirpc.x86_64 0:0.2.1-5.el6 will be installed
---> Package samba-common.x86_64 0:3.5.10-125.el6 will be installed
---> Package samba-winbind-clients.x86_64 0:3.5.10-125.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                      Arch       Version             Repository    Size
================================================================================
Installing:
 nagios-plugins-all           x86_64     1.4.16-5.el6        epel          13 k
Installing for dependencies:
 dmidecode                    x86_64     1:2.11-2.el6        base          71 k
 fping                        x86_64     3.4-1.el6.rf        rpmforge      47 k
 libgssglue                   x86_64     0.1-11.el6          base          23 k
 libtalloc                    x86_64     2.0.1-1.1.el6       base          19 k
 libtdb                       x86_64     1.2.1-3.el6         base          28 k
 libtirpc                     x86_64     0.2.1-5.el6         base          78 k
 lm_sensors                   x86_64     3.1.1-10.el6        base         122 k
 nagios-plugins               x86_64     1.4.16-5.el6        epel         199 k
 nagios-plugins-breeze        x86_64     1.4.16-5.el6        epel          14 k
 nagios-plugins-by_ssh        x86_64     1.4.16-5.el6        epel          35 k
 nagios-plugins-cluster       x86_64     1.4.16-5.el6        epel          29 k
 nagios-plugins-dhcp          x86_64     1.4.16-5.el6        epel          35 k
 nagios-plugins-dig           x86_64     1.4.16-5.el6        epel          33 k
 nagios-plugins-disk          x86_64     1.4.16-5.el6        epel          68 k
 nagios-plugins-disk_smb      x86_64     1.4.16-5.el6        epel          16 k
 nagios-plugins-dns           x86_64     1.4.16-5.el6        epel          34 k
 nagios-plugins-dummy         x86_64     1.4.16-5.el6        epel          26 k
 nagios-plugins-file_age      x86_64     1.4.16-5.el6        epel          14 k
 nagios-plugins-flexlm        x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-fping         x86_64     1.4.16-5.el6        epel          34 k
 nagios-plugins-game          x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-hpjd          x86_64     1.4.16-5.el6        epel          33 k
 nagios-plugins-http          x86_64     1.4.16-5.el6        epel          75 k
 nagios-plugins-icmp          x86_64     1.4.16-5.el6        epel          37 k
 nagios-plugins-ide_smart     x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-ircd          x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-ldap          x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-load          x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-log           x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-mailq         x86_64     1.4.16-5.el6        epel          17 k
 nagios-plugins-mrtg          x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-mrtgtraf      x86_64     1.4.16-5.el6        epel          30 k
 nagios-plugins-mysql         x86_64     1.4.16-5.el6        epel          41 k
 nagios-plugins-nagios        x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-nt            x86_64     1.4.16-5.el6        epel          36 k
 nagios-plugins-ntp           x86_64     1.4.16-5.el6        epel          48 k
 nagios-plugins-ntp-perl      x86_64     1.4.16-5.el6        epel          17 k
 nagios-plugins-nwstat        x86_64     1.4.16-5.el6        epel          38 k
 nagios-plugins-oracle        x86_64     1.4.16-5.el6        epel          15 k
 nagios-plugins-overcr        x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-perl          x86_64     1.4.16-5.el6        epel          14 k
 nagios-plugins-pgsql         x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-ping          x86_64     1.4.16-5.el6        epel          36 k
 nagios-plugins-procs         x86_64     1.4.16-5.el6        epel          66 k
 nagios-plugins-real          x86_64     1.4.16-5.el6        epel          32 k
 nagios-plugins-rpc           x86_64     1.4.16-5.el6        epel          16 k
 nagios-plugins-sensors       x86_64     1.4.16-5.el6        epel          13 k
 nagios-plugins-smtp          x86_64     1.4.16-5.el6        epel          69 k
 nagios-plugins-snmp          x86_64     1.4.16-5.el6        epel          69 k
 nagios-plugins-ssh           x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-swap          x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-tcp           x86_64     1.4.16-5.el6        epel          38 k
 nagios-plugins-time          x86_64     1.4.16-5.el6        epel          31 k
 nagios-plugins-ups           x86_64     1.4.16-5.el6        epel          34 k
 nagios-plugins-users         x86_64     1.4.16-5.el6        epel          28 k
 nagios-plugins-wave          x86_64     1.4.16-5.el6        epel          14 k
 postgresql-libs              x86_64     8.4.13-1.el6_3      updates      200 k
 qstat                        x86_64     2.11-1.el6.rf       rpmforge     149 k
 rpcbind                      x86_64     0.2.0-9.el6         base          51 k
 samba-client                 x86_64     3.5.10-125.el6      base          11 M
 samba-common                 x86_64     3.5.10-125.el6      base          13 M
 samba-winbind-clients        x86_64     3.5.10-125.el6      base         1.1 M

Transaction Summary
================================================================================
Install      63 Package(s)

Total download size: 28 M
Installed size: 96 M
Is this ok [y/N]: y
Downloading Packages:
(1/63): dmidecode-2.11-2.el6.x86_64.rpm                  |  71 kB     00:00
(2/63): fping-3.4-1.el6.rf.x86_64.rpm                    |  47 kB     00:00
(3/63): libgssglue-0.1-11.el6.x86_64.rpm                 |  23 kB     00:00
(4/63): libtalloc-2.0.1-1.1.el6.x86_64.rpm               |  19 kB     00:00
(5/63): libtdb-1.2.1-3.el6.x86_64.rpm                    |  28 kB     00:00
(6/63): libtirpc-0.2.1-5.el6.x86_64.rpm                  |  78 kB     00:00
(7/63): lm_sensors-3.1.1-10.el6.x86_64.rpm               | 122 kB     00:00
(8/63): nagios-plugins-1.4.16-5.el6.x86_64.rpm           | 199 kB     00:00
(9/63): nagios-plugins-all-1.4.16-5.el6.x86_64.rpm       |  13 kB     00:00
(10/63): nagios-plugins-breeze-1.4.16-5.el6.x86_64.rpm   |  14 kB     00:00
(11/63): nagios-plugins-by_ssh-1.4.16-5.el6.x86_64.rpm   |  35 kB     00:00
(12/63): nagios-plugins-cluster-1.4.16-5.el6.x86_64.rpm  |  29 kB     00:00
(13/63): nagios-plugins-dhcp-1.4.16-5.el6.x86_64.rpm     |  35 kB     00:00
(14/63): nagios-plugins-dig-1.4.16-5.el6.x86_64.rpm      |  33 kB     00:00
(15/63): nagios-plugins-disk-1.4.16-5.el6.x86_64.rpm     |  68 kB     00:00
(16/63): nagios-plugins-disk_smb-1.4.16-5.el6.x86_64.rpm |  16 kB     00:00
(17/63): nagios-plugins-dns-1.4.16-5.el6.x86_64.rpm      |  34 kB     00:00
(18/63): nagios-plugins-dummy-1.4.16-5.el6.x86_64.rpm    |  26 kB     00:00
(19/63): nagios-plugins-file_age-1.4.16-5.el6.x86_64.rpm |  14 kB     00:00
(20/63): nagios-plugins-flexlm-1.4.16-5.el6.x86_64.rpm   |  15 kB     00:00
(21/63): nagios-plugins-fping-1.4.16-5.el6.x86_64.rpm    |  34 kB     00:00
(22/63): nagios-plugins-game-1.4.16-5.el6.x86_64.rpm     |  31 kB     00:00
(23/63): nagios-plugins-hpjd-1.4.16-5.el6.x86_64.rpm     |  33 kB     00:00
(24/63): nagios-plugins-http-1.4.16-5.el6.x86_64.rpm     |  75 kB     00:00
(25/63): nagios-plugins-icmp-1.4.16-5.el6.x86_64.rpm     |  37 kB     00:00
(26/63): nagios-plugins-ide_smart-1.4.16-5.el6.x86_64.rp |  30 kB     00:00
(27/63): nagios-plugins-ircd-1.4.16-5.el6.x86_64.rpm     |  15 kB     00:00
(28/63): nagios-plugins-ldap-1.4.16-5.el6.x86_64.rpm     |  32 kB     00:00
(29/63): nagios-plugins-load-1.4.16-5.el6.x86_64.rpm     |  30 kB     00:00
(30/63): nagios-plugins-log-1.4.16-5.el6.x86_64.rpm      |  15 kB     00:00
(31/63): nagios-plugins-mailq-1.4.16-5.el6.x86_64.rpm    |  17 kB     00:00
(32/63): nagios-plugins-mrtg-1.4.16-5.el6.x86_64.rpm     |  30 kB     00:00
(33/63): nagios-plugins-mrtgtraf-1.4.16-5.el6.x86_64.rpm |  30 kB     00:00
(34/63): nagios-plugins-mysql-1.4.16-5.el6.x86_64.rpm    |  41 kB     00:00
(35/63): nagios-plugins-nagios-1.4.16-5.el6.x86_64.rpm   |  31 kB     00:00
(36/63): nagios-plugins-nt-1.4.16-5.el6.x86_64.rpm       |  36 kB     00:00
(37/63): nagios-plugins-ntp-1.4.16-5.el6.x86_64.rpm      |  48 kB     00:00
(38/63): nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64.rpm |  17 kB     00:00
(39/63): nagios-plugins-nwstat-1.4.16-5.el6.x86_64.rpm   |  38 kB     00:00
(40/63): nagios-plugins-oracle-1.4.16-5.el6.x86_64.rpm   |  15 kB     00:00
(41/63): nagios-plugins-overcr-1.4.16-5.el6.x86_64.rpm   |  32 kB     00:00
(42/63): nagios-plugins-perl-1.4.16-5.el6.x86_64.rpm     |  14 kB     00:00
(43/63): nagios-plugins-pgsql-1.4.16-5.el6.x86_64.rpm    |  32 kB     00:00
(44/63): nagios-plugins-ping-1.4.16-5.el6.x86_64.rpm     |  36 kB     00:00
(45/63): nagios-plugins-procs-1.4.16-5.el6.x86_64.rpm    |  66 kB     00:00
(46/63): nagios-plugins-real-1.4.16-5.el6.x86_64.rpm     |  32 kB     00:00
(47/63): nagios-plugins-rpc-1.4.16-5.el6.x86_64.rpm      |  16 kB     00:00
(48/63): nagios-plugins-sensors-1.4.16-5.el6.x86_64.rpm  |  13 kB     00:00
(49/63): nagios-plugins-smtp-1.4.16-5.el6.x86_64.rpm     |  69 kB     00:00
(50/63): nagios-plugins-snmp-1.4.16-5.el6.x86_64.rpm     |  69 kB     00:00
(51/63): nagios-plugins-ssh-1.4.16-5.el6.x86_64.rpm      |  31 kB     00:00
(52/63): nagios-plugins-swap-1.4.16-5.el6.x86_64.rpm     |  31 kB     00:00
(53/63): nagios-plugins-tcp-1.4.16-5.el6.x86_64.rpm      |  38 kB     00:00
(54/63): nagios-plugins-time-1.4.16-5.el6.x86_64.rpm     |  31 kB     00:00
(55/63): nagios-plugins-ups-1.4.16-5.el6.x86_64.rpm      |  34 kB     00:00
(56/63): nagios-plugins-users-1.4.16-5.el6.x86_64.rpm    |  28 kB     00:00
(57/63): nagios-plugins-wave-1.4.16-5.el6.x86_64.rpm     |  14 kB     00:00
(58/63): postgresql-libs-8.4.13-1.el6_3.x86_64.rpm       | 200 kB     00:00
(59/63): qstat-2.11-1.el6.rf.x86_64.rpm                  | 149 kB     00:00
(60/63): rpcbind-0.2.0-9.el6.x86_64.rpm                  |  51 kB     00:00
(61/63): samba-client-3.5.10-125.el6.x86_64.rpm          |  11 MB     00:00
(62/63): samba-common-3.5.10-125.el6.x86_64.rpm          |  13 MB     00:00
(63/63): samba-winbind-clients-3.5.10-125.el6.x86_64.rpm | 1.1 MB     00:00
--------------------------------------------------------------------------------
Total                                            19 MB/s |  28 MB     00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nagios-plugins-1.4.16-5.el6.x86_64                          1/63
  Installing : nagios-plugins-perl-1.4.16-5.el6.x86_64                     2/63
  Installing : libtdb-1.2.1-3.el6.x86_64                                   3/63
  Installing : libtalloc-2.0.1-1.1.el6.x86_64                              4/63
  Installing : samba-winbind-clients-3.5.10-125.el6.x86_64                 5/63
  Installing : libgssglue-0.1-11.el6.x86_64                                6/63
  Installing : libtirpc-0.2.1-5.el6.x86_64                                 7/63
  Installing : rpcbind-0.2.0-9.el6.x86_64                                  8/63
  Installing : nagios-plugins-rpc-1.4.16-5.el6.x86_64                      9/63
  Installing : samba-common-3.5.10-125.el6.x86_64                         10/63
  Installing : samba-client-3.5.10-125.el6.x86_64                         11/63
  Installing : nagios-plugins-disk_smb-1.4.16-5.el6.x86_64                12/63
  Installing : nagios-plugins-ircd-1.4.16-5.el6.x86_64                    13/63
  Installing : nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64                14/63
  Installing : nagios-plugins-wave-1.4.16-5.el6.x86_64                    15/63
  Installing : nagios-plugins-flexlm-1.4.16-5.el6.x86_64                  16/63
  Installing : nagios-plugins-mailq-1.4.16-5.el6.x86_64                   17/63
  Installing : nagios-plugins-breeze-1.4.16-5.el6.x86_64                  18/63
  Installing : nagios-plugins-file_age-1.4.16-5.el6.x86_64                19/63
  Installing : nagios-plugins-users-1.4.16-5.el6.x86_64                   20/63
  Installing : nagios-plugins-oracle-1.4.16-5.el6.x86_64                  21/63
  Installing : nagios-plugins-time-1.4.16-5.el6.x86_64                    22/63
  Installing : nagios-plugins-nt-1.4.16-5.el6.x86_64                      23/63
  Installing : nagios-plugins-mrtgtraf-1.4.16-5.el6.x86_64                24/63
  Installing : nagios-plugins-hpjd-1.4.16-5.el6.x86_64                    25/63
  Installing : nagios-plugins-icmp-1.4.16-5.el6.x86_64                    26/63
  Installing : nagios-plugins-snmp-1.4.16-5.el6.x86_64                    27/63
  Installing : nagios-plugins-ssh-1.4.16-5.el6.x86_64                     28/63
  Installing : nagios-plugins-ide_smart-1.4.16-5.el6.x86_64               29/63
  Installing : nagios-plugins-dns-1.4.16-5.el6.x86_64                     30/63
  Installing : nagios-plugins-ldap-1.4.16-5.el6.x86_64                    31/63
  Installing : nagios-plugins-mysql-1.4.16-5.el6.x86_64                   32/63
  Installing : nagios-plugins-smtp-1.4.16-5.el6.x86_64                    33/63
  Installing : nagios-plugins-swap-1.4.16-5.el6.x86_64                    34/63
  Installing : nagios-plugins-dummy-1.4.16-5.el6.x86_64                   35/63
  Installing : nagios-plugins-procs-1.4.16-5.el6.x86_64                   36/63
  Installing : nagios-plugins-nwstat-1.4.16-5.el6.x86_64                  37/63
  Installing : nagios-plugins-dhcp-1.4.16-5.el6.x86_64                    38/63
  Installing : nagios-plugins-disk-1.4.16-5.el6.x86_64                    39/63
  Installing : nagios-plugins-real-1.4.16-5.el6.x86_64                    40/63
  Installing : nagios-plugins-tcp-1.4.16-5.el6.x86_64                     41/63
  Installing : nagios-plugins-overcr-1.4.16-5.el6.x86_64                  42/63
  Installing : nagios-plugins-ping-1.4.16-5.el6.x86_64                    43/63
  Installing : nagios-plugins-log-1.4.16-5.el6.x86_64                     44/63
  Installing : nagios-plugins-ntp-1.4.16-5.el6.x86_64                     45/63
  Installing : nagios-plugins-by_ssh-1.4.16-5.el6.x86_64                  46/63
  Installing : nagios-plugins-http-1.4.16-5.el6.x86_64                    47/63
  Installing : nagios-plugins-mrtg-1.4.16-5.el6.x86_64                    48/63
  Installing : nagios-plugins-cluster-1.4.16-5.el6.x86_64                 49/63
  Installing : nagios-plugins-ups-1.4.16-5.el6.x86_64                     50/63
  Installing : nagios-plugins-dig-1.4.16-5.el6.x86_64                     51/63
  Installing : nagios-plugins-load-1.4.16-5.el6.x86_64                    52/63
  Installing : nagios-plugins-nagios-1.4.16-5.el6.x86_64                  53/63
  Installing : 1:dmidecode-2.11-2.el6.x86_64                              54/63
  Installing : lm_sensors-3.1.1-10.el6.x86_64                             55/63
  Installing : nagios-plugins-sensors-1.4.16-5.el6.x86_64                 56/63
  Installing : postgresql-libs-8.4.13-1.el6_3.x86_64                      57/63
  Installing : nagios-plugins-pgsql-1.4.16-5.el6.x86_64                   58/63
  Installing : qstat-2.11-1.el6.rf.x86_64                                 59/63
  Installing : nagios-plugins-game-1.4.16-5.el6.x86_64                    60/63
  Installing : fping-3.4-1.el6.rf.x86_64                                  61/63
  Installing : nagios-plugins-fping-1.4.16-5.el6.x86_64                   62/63
  Installing : nagios-plugins-all-1.4.16-5.el6.x86_64                     63/63
  Verifying  : nagios-plugins-ircd-1.4.16-5.el6.x86_64                     1/63
  Verifying  : nagios-plugins-users-1.4.16-5.el6.x86_64                    2/63
  Verifying  : nagios-plugins-oracle-1.4.16-5.el6.x86_64                   3/63
  Verifying  : samba-winbind-clients-3.5.10-125.el6.x86_64                 4/63
  Verifying  : nagios-plugins-time-1.4.16-5.el6.x86_64                     5/63
  Verifying  : rpcbind-0.2.0-9.el6.x86_64                                  6/63
  Verifying  : nagios-plugins-perl-1.4.16-5.el6.x86_64                     7/63
  Verifying  : nagios-plugins-nt-1.4.16-5.el6.x86_64                       8/63
  Verifying  : nagios-plugins-mrtgtraf-1.4.16-5.el6.x86_64                 9/63
  Verifying  : nagios-plugins-hpjd-1.4.16-5.el6.x86_64                    10/63
  Verifying  : nagios-plugins-icmp-1.4.16-5.el6.x86_64                    11/63
  Verifying  : nagios-plugins-snmp-1.4.16-5.el6.x86_64                    12/63
  Verifying  : nagios-plugins-ssh-1.4.16-5.el6.x86_64                     13/63
  Verifying  : nagios-plugins-game-1.4.16-5.el6.x86_64                    14/63
  Verifying  : nagios-plugins-ide_smart-1.4.16-5.el6.x86_64               15/63
  Verifying  : nagios-plugins-dns-1.4.16-5.el6.x86_64                     16/63
  Verifying  : nagios-plugins-ldap-1.4.16-5.el6.x86_64                    17/63
  Verifying  : fping-3.4-1.el6.rf.x86_64                                  18/63
  Verifying  : nagios-plugins-mysql-1.4.16-5.el6.x86_64                   19/63
  Verifying  : nagios-plugins-smtp-1.4.16-5.el6.x86_64                    20/63
  Verifying  : nagios-plugins-swap-1.4.16-5.el6.x86_64                    21/63
  Verifying  : nagios-plugins-rpc-1.4.16-5.el6.x86_64                     22/63
  Verifying  : nagios-plugins-dummy-1.4.16-5.el6.x86_64                   23/63
  Verifying  : nagios-plugins-1.4.16-5.el6.x86_64                         24/63
  Verifying  : nagios-plugins-procs-1.4.16-5.el6.x86_64                   25/63
  Verifying  : libtalloc-2.0.1-1.1.el6.x86_64                             26/63
  Verifying  : nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64                27/63
  Verifying  : qstat-2.11-1.el6.rf.x86_64                                 28/63
  Verifying  : nagios-plugins-sensors-1.4.16-5.el6.x86_64                 29/63
  Verifying  : nagios-plugins-wave-1.4.16-5.el6.x86_64                    30/63
  Verifying  : nagios-plugins-nwstat-1.4.16-5.el6.x86_64                  31/63
  Verifying  : nagios-plugins-flexlm-1.4.16-5.el6.x86_64                  32/63
  Verifying  : libtirpc-0.2.1-5.el6.x86_64                                33/63
  Verifying  : nagios-plugins-dhcp-1.4.16-5.el6.x86_64                    34/63
  Verifying  : libtdb-1.2.1-3.el6.x86_64                                  35/63
  Verifying  : nagios-plugins-mailq-1.4.16-5.el6.x86_64                   36/63
  Verifying  : nagios-plugins-all-1.4.16-5.el6.x86_64                     37/63
  Verifying  : samba-common-3.5.10-125.el6.x86_64                         38/63
  Verifying  : nagios-plugins-disk-1.4.16-5.el6.x86_64                    39/63
  Verifying  : nagios-plugins-real-1.4.16-5.el6.x86_64                    40/63
  Verifying  : nagios-plugins-tcp-1.4.16-5.el6.x86_64                     41/63
  Verifying  : nagios-plugins-overcr-1.4.16-5.el6.x86_64                  42/63
  Verifying  : nagios-plugins-ping-1.4.16-5.el6.x86_64                    43/63
  Verifying  : postgresql-libs-8.4.13-1.el6_3.x86_64                      44/63
  Verifying  : nagios-plugins-fping-1.4.16-5.el6.x86_64                   45/63
  Verifying  : nagios-plugins-log-1.4.16-5.el6.x86_64                     46/63
  Verifying  : nagios-plugins-ntp-1.4.16-5.el6.x86_64                     47/63
  Verifying  : nagios-plugins-by_ssh-1.4.16-5.el6.x86_64                  48/63
  Verifying  : libgssglue-0.1-11.el6.x86_64                               49/63
  Verifying  : nagios-plugins-disk_smb-1.4.16-5.el6.x86_64                50/63
  Verifying  : nagios-plugins-http-1.4.16-5.el6.x86_64                    51/63
  Verifying  : nagios-plugins-mrtg-1.4.16-5.el6.x86_64                    52/63
  Verifying  : samba-client-3.5.10-125.el6.x86_64                         53/63
  Verifying  : nagios-plugins-breeze-1.4.16-5.el6.x86_64                  54/63
  Verifying  : nagios-plugins-cluster-1.4.16-5.el6.x86_64                 55/63
  Verifying  : lm_sensors-3.1.1-10.el6.x86_64                             56/63
  Verifying  : nagios-plugins-ups-1.4.16-5.el6.x86_64                     57/63
  Verifying  : nagios-plugins-file_age-1.4.16-5.el6.x86_64                58/63
  Verifying  : nagios-plugins-dig-1.4.16-5.el6.x86_64                     59/63
  Verifying  : nagios-plugins-pgsql-1.4.16-5.el6.x86_64                   60/63
  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              61/63
  Verifying  : nagios-plugins-load-1.4.16-5.el6.x86_64                    62/63
  Verifying  : nagios-plugins-nagios-1.4.16-5.el6.x86_64                  63/63

Installed:
  nagios-plugins-all.x86_64 0:1.4.16-5.el6

Dependency Installed:
  dmidecode.x86_64 1:2.11-2.el6
  fping.x86_64 0:3.4-1.el6.rf
  libgssglue.x86_64 0:0.1-11.el6
  libtalloc.x86_64 0:2.0.1-1.1.el6
  libtdb.x86_64 0:1.2.1-3.el6
  libtirpc.x86_64 0:0.2.1-5.el6
  lm_sensors.x86_64 0:3.1.1-10.el6
  nagios-plugins.x86_64 0:1.4.16-5.el6
  nagios-plugins-breeze.x86_64 0:1.4.16-5.el6
  nagios-plugins-by_ssh.x86_64 0:1.4.16-5.el6
  nagios-plugins-cluster.x86_64 0:1.4.16-5.el6
  nagios-plugins-dhcp.x86_64 0:1.4.16-5.el6
  nagios-plugins-dig.x86_64 0:1.4.16-5.el6
  nagios-plugins-disk.x86_64 0:1.4.16-5.el6
  nagios-plugins-disk_smb.x86_64 0:1.4.16-5.el6
  nagios-plugins-dns.x86_64 0:1.4.16-5.el6
  nagios-plugins-dummy.x86_64 0:1.4.16-5.el6
  nagios-plugins-file_age.x86_64 0:1.4.16-5.el6
  nagios-plugins-flexlm.x86_64 0:1.4.16-5.el6
  nagios-plugins-fping.x86_64 0:1.4.16-5.el6
  nagios-plugins-game.x86_64 0:1.4.16-5.el6
  nagios-plugins-hpjd.x86_64 0:1.4.16-5.el6
  nagios-plugins-http.x86_64 0:1.4.16-5.el6
  nagios-plugins-icmp.x86_64 0:1.4.16-5.el6
  nagios-plugins-ide_smart.x86_64 0:1.4.16-5.el6
  nagios-plugins-ircd.x86_64 0:1.4.16-5.el6
  nagios-plugins-ldap.x86_64 0:1.4.16-5.el6
  nagios-plugins-load.x86_64 0:1.4.16-5.el6
  nagios-plugins-log.x86_64 0:1.4.16-5.el6
  nagios-plugins-mailq.x86_64 0:1.4.16-5.el6
  nagios-plugins-mrtg.x86_64 0:1.4.16-5.el6
  nagios-plugins-mrtgtraf.x86_64 0:1.4.16-5.el6
  nagios-plugins-mysql.x86_64 0:1.4.16-5.el6
  nagios-plugins-nagios.x86_64 0:1.4.16-5.el6
  nagios-plugins-nt.x86_64 0:1.4.16-5.el6
  nagios-plugins-ntp.x86_64 0:1.4.16-5.el6
  nagios-plugins-ntp-perl.x86_64 0:1.4.16-5.el6
  nagios-plugins-nwstat.x86_64 0:1.4.16-5.el6
  nagios-plugins-oracle.x86_64 0:1.4.16-5.el6
  nagios-plugins-overcr.x86_64 0:1.4.16-5.el6
  nagios-plugins-perl.x86_64 0:1.4.16-5.el6
  nagios-plugins-pgsql.x86_64 0:1.4.16-5.el6
  nagios-plugins-ping.x86_64 0:1.4.16-5.el6
  nagios-plugins-procs.x86_64 0:1.4.16-5.el6
  nagios-plugins-real.x86_64 0:1.4.16-5.el6
  nagios-plugins-rpc.x86_64 0:1.4.16-5.el6
  nagios-plugins-sensors.x86_64 0:1.4.16-5.el6
  nagios-plugins-smtp.x86_64 0:1.4.16-5.el6
  nagios-plugins-snmp.x86_64 0:1.4.16-5.el6
  nagios-plugins-ssh.x86_64 0:1.4.16-5.el6
  nagios-plugins-swap.x86_64 0:1.4.16-5.el6
  nagios-plugins-tcp.x86_64 0:1.4.16-5.el6
  nagios-plugins-time.x86_64 0:1.4.16-5.el6
  nagios-plugins-ups.x86_64 0:1.4.16-5.el6
  nagios-plugins-users.x86_64 0:1.4.16-5.el6
  nagios-plugins-wave.x86_64 0:1.4.16-5.el6
  postgresql-libs.x86_64 0:8.4.13-1.el6_3
  qstat.x86_64 0:2.11-1.el6.rf
  rpcbind.x86_64 0:0.2.0-9.el6
  samba-client.x86_64 0:3.5.10-125.el6
  samba-common.x86_64 0:3.5.10-125.el6
  samba-winbind-clients.x86_64 0:3.5.10-125.el6

Complete!

Folgender Inhalt befindet sich im RPM-Paket nagios-plugins-all.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil nagios-plugins-all
Name        : nagios-plugins-all           Relocations: (not relocatable)
Version     : 1.4.16                            Vendor: Fedora Project
Release     : 5.el6                         Build Date: Fri 17 Aug 2012 03:39:07
 PM CEST
Install Date: Fri 02 Nov 2012 10:04:19 AM CET      Build Host: buildvm-23.phx2.f
edoraproject.org
Group       : Applications/System           Source RPM: nagios-plugins-1.4.16-5.
el6.src.rpm
Size        : 0                                License: GPLv2+
Signature   : RSA/8, Fri 17 Aug 2012 05:52:11 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://nagiosplug.sourceforge.net/
Summary     : Nagios Plugins - All plugins
Description :
This package provides all Nagios plugins.
(contains no files)

Nachfolgendes RPM-Paket muss installiert werden, um auf dem Client/Zielhost NRPE zu realisieren:

# yum install nrpe
Loaded plugins: priorities, refresh-packagekit
1252 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nrpe.x86_64 0:2.13-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch              Version                Repository       Size
================================================================================
Installing:
 nrpe            x86_64            2.13-1.el6             epel            221 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 221 k
Installed size: 278 k
Is this ok [y/N]: y
Downloading Packages:
nrpe-2.13-1.el6.x86_64.rpm                               | 221 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nrpe-2.13-1.el6.x86_64                                       1/1
  Verifying  : nrpe-2.13-1.el6.x86_64                                       1/1

Installed:
  nrpe.x86_64 0:2.13-1.el6

Complete!

Folgender Inhalt befindet sich im RPM-Paket nrpe.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil nrpe
Name        : nrpe                         Relocations: (not relocatable)
Version     : 2.13                              Vendor: Fedora Project
Release     : 1.el6                         Build Date: Mon 17 Sep 2012 01:05:00 PM CEST
Install Date: Fri 02 Nov 2012 02:22:23 PM CET      Build Host: buildvm-28.phx2.fedoraproject.org
Group       : Applications/System           Source RPM: nrpe-2.13-1.el6.src.rpm
Size        : 285184                           License: GPLv2
Signature   : RSA/8, Fri 21 Sep 2012 09:07:47 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.nagios.org
Summary     : Host/service/network monitoring agent for Nagios
Description :
Nrpe is a system daemon that will execute various Nagios plugins
locally on behalf of a remote (monitoring) host that uses the
check_nrpe plugin.  Various plugins that can be executed by the
daemon are available at:
http://sourceforge.net/projects/nagiosplug

This package provides the core agent.
/etc/nagios
/etc/nagios/nrpe.cfg
/etc/nrpe.d
/etc/rc.d/init.d/nrpe
/etc/sysconfig/nrpe
/usr/sbin/nrpe
/usr/share/doc/nrpe-2.13
/usr/share/doc/nrpe-2.13/Changelog
/usr/share/doc/nrpe-2.13/LEGAL
/usr/share/doc/nrpe-2.13/NRPE.pdf
/usr/share/doc/nrpe-2.13/README
/usr/share/doc/nrpe-2.13/README.SSL
/usr/share/doc/nrpe-2.13/SECURITY
/var/run/nrpe

Folgender Benutzer wurde ebenfalls angelegt, was mit folgende Befehl überprüft werden kann:

# cat /etc/passwd | grep nrpe
nrpe:x:399:399:NRPE user for the NRPE service:/var/run/nrpe:/sbin/nologin
Desweiteren wurden auch folgende Gruppen angelegt, was mit folgendem Befehl überprüft werden kann:
# cat /etc/group | grep nrpe
nrpe:x:399:

Konfiguration: /etc/nagios/nrpe.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/nagios/nrpe.cfg

ist die Konfigurationsdatei für den NRPE und dessen lokale plugins.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/nagios/nrpe.cfg - (gesamt)

#############################################################################
# Sample NRPE Config File
# Written by: Ethan Galstad (nagios@nagios.org)
#
# Last Modified: 11-23-2007
#
# NOTES:
# This is a sample configuration file for the NRPE daemon.  It needs to be
# located on the remote host that is running the NRPE daemon, not the host
# from which the check_nrpe client is being executed.
#############################################################################
 
 
# LOG FACILITY
# The syslog facility that should be used for logging purposes.
 
log_facility=daemon
 
 
 
# PID FILE
# The name of the file in which the NRPE daemon should write it's process ID
# number.  The file is only written if the NRPE daemon is started by the root
# user and is running in standalone mode.
 
pid_file=/var/run/nrpe/nrpe.pid
 
 
 
# PORT NUMBER
# Port number we should wait for connections on.
# NOTE: This must be a non-priviledged port (i.e. > 1024).
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
server_port=5666
 
 
 
# SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all interfaces.
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
#server_address=127.0.0.1
 
 
 
# NRPE USER
# This determines the effective user that the NRPE daemon should run as.
# You can either supply a username or a UID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
nrpe_user=nrpe
 
 
 
# NRPE GROUP
# This determines the effective group that the NRPE daemon should run as.
# You can either supply a group name or a GID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
nrpe_group=nrpe
 
 
 
# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon. Network addresses with a bit mask
# (i.e. 192.168.1.0/24) are also supported. Hostname wildcards are not currently
# supported.
#
# Note: The daemon only does rudimentary checking of the client's IP
# address.  I would highly recommend adding entries in your /etc/hosts.allow
# file to allow only the specified host to connect to the port
# you are running this daemon on.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
allowed_hosts=127.0.0.1
 
 
 
# COMMAND ARGUMENT PROCESSING
# This option determines whether or not the NRPE daemon will allow clients
# to specify arguments to commands that are executed.  This option only works
# if the daemon was configured with the --enable-command-args configure script
# option.
#
# *** ENABLING THIS OPTION IS A SECURITY RISK! ***
# Read the SECURITY file for information on some of the security implications
# of enabling this variable.
#
# Values: 0=do not allow arguments, 1=allow command arguments
 
dont_blame_nrpe=0
 
 
 
# COMMAND PREFIX
# This option allows you to prefix all commands with a user-defined string.
# A space is automatically added between the specified prefix string and the
# command line from the command definition.
#
# *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION! ***
# Usage scenario:
# Execute restricted commmands using sudo.  For this to work, you need to add
# the nagios user to your /etc/sudoers.  An example entry for alllowing
# execution of the plugins from might be:
#
# nagios          ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/
#
# This lets the nagios user run all commands in that directory (and only them)
# without asking for a password.  If you do this, make sure you don't give
# random users write access to that directory or its contents!
 
# command_prefix=/usr/bin/sudo
 
 
 
# DEBUGGING OPTION
# This option determines whether or not debugging messages are logged to the
# syslog facility.
# Values: 0=debugging off, 1=debugging on
 
debug=0
 
 
 
# COMMAND TIMEOUT
# This specifies the maximum number of seconds that the NRPE daemon will
# allow plugins to finish executing before killing them off.
 
command_timeout=60
 
 
 
# CONNECTION TIMEOUT
# This specifies the maximum number of seconds that the NRPE daemon will
# wait for a connection to be established before exiting. This is sometimes
# seen where a network problem stops the SSL being established even though
# all network sessions are connected. This causes the nrpe daemons to
# accumulate, eating system resources. Do not set this too low.
 
connection_timeout=300
 
 
 
# WEEK RANDOM SEED OPTION
# This directive allows you to use SSL even if your system does not have
# a /dev/random or /dev/urandom (on purpose or because the necessary patches
# were not applied). The random number generator will be seeded from a file
# which is either a file pointed to by the environment valiable $RANDFILE
# or $HOME/.rnd. If neither exists, the pseudo random number generator will
# be initialized and a warning will be issued.
# Values: 0=only seed from /dev/[u]random, 1=also seed from weak randomness
 
#allow_weak_random_seed=1
 
 
 
# INCLUDE CONFIG FILE
# This directive allows you to include definitions from an external config file.
 
#include=<somefile.cfg>
 
 
 
# INCLUDE CONFIG DIRECTORY
# This directive allows you to include definitions from config files (with a
# .cfg extension) in one or more directories (with recursion).
 
include_dir=/etc/nrpe.d/
 
 
 
# COMMAND DEFINITIONS
# Command definitions that this daemon will run.  Definitions
# are in the following format:
#
# command[<command_name>]=<command_line>
#
# When the daemon receives a request to return the results of <command_name>
# it will execute the command specified by the <command_line> argument.
#
# Unlike Nagios, the command line cannot contain macros - it must be
# typed exactly as it should be executed.
#
# Note: Any plugins that are used in the command lines must reside
# on the machine that this daemon is running on!  The examples below
# assume that you have plugins installed in a /usr/local/nagios/libexec
# directory.  Also note that you will have to modify the definitions below
# to match the argument format the plugins expect.  Remember, these are
# examples only!
 
 
# The following examples use hardcoded command arguments...
 
# Tachtler - default start -
#command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
#command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
#command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
#command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
#command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200
# Tachtler - default stopp -
 
 
# The following examples allow user-supplied arguments and can
# only be used if the NRPE daemon was compiled with support for
# command arguments *AND* the dont_blame_nrpe directive in this
# config file is set to '1'.  This poses a potential security risk, so
# make sure you read the SECURITY file before doing this.
 
#command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$
#command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c $ARG2$
#command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
#command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
 
# Tachtler
command[check_sys_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20

Erklärung:
Nachfolgende Änderungen deaktivieren alle standard Überprüfungen und fügen eine einzige hinzu. (check_sys_load).
Dies ist NUR als erste Beispielkonfguration zu sehen !!!

...
# Tachtler - default start -
#command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
#command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
#command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
#command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
#command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200
# Tachtler - default stopp -
 
 
# The following examples allow user-supplied arguments and can
# only be used if the NRPE daemon was compiled with support for
# command arguments *AND* the dont_blame_nrpe directive in this
# config file is set to '1'.  This poses a potential security risk, so
# make sure you read the SECURITY file before doing this.
 
#command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$
#command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c $ARG2$
#command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
#command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
 
# Tachtler
command[check_sys_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
...

Installation: xinetd

Der xinetd (extended internet daemon) ist ein Superserver, der unter anderem verschiedene Dienste wie z.B. NRPE und andere verwaltet. Der xinetd ist eine sicherere Version des inetd beziehungsweise eine Erweiterung von diesem.

:!: WICHTIG - Zum Betrieb des NRPE (Nagios Remote Plugin Executer), soll hier auf dem

und dem

  • Client/Zielhost

nachfolgendes RPM-Paket installiert werden !!!

Nachfolgender Befehl installiert den xinetd:

# yum install xinetd
Loaded plugins: priorities
1247 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xinetd.x86_64 2:2.3.14-35.el6_3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch           Version                    Repository       Size
================================================================================
Installing:
 xinetd         x86_64         2:2.3.14-35.el6_3          updates         121 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 121 k
Installed size: 259 k
Is this ok [y/N]: y
Downloading Packages:
xinetd-2.3.14-35.el6_3.x86_64.rpm                        | 121 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 2:xinetd-2.3.14-35.el6_3.x86_64                              1/1
  Verifying  : 2:xinetd-2.3.14-35.el6_3.x86_64                              1/1

Installed:
  xinetd.x86_64 2:2.3.14-35.el6_3

Complete!

Folgender Inhalt befindet sich im RPM-Paket xinetd.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

]# rpm -qil xinetd
Name        : xinetd                       Relocations: (not relocatable)
Version     : 2.3.14                            Vendor: CentOS
Release     : 35.el6_3                      Build Date: Mon 13 Aug 2012 11:26:16 AM CEST
Install Date: Fri 02 Nov 2012 03:14:22 PM CET      Build Host: c6b8.bsys.dev.centos.org
Group       : System Environment/Daemons    Source RPM: xinetd-2.3.14-35.el6_3.src.rpm
Size        : 265405                           License: xinetd
Signature   : RSA/SHA1, Mon 13 Aug 2012 03:41:16 PM CEST, Key ID 0946fca2c105b9de
Packager    : CentOS BuildSystem <http://bugs.centos.org>
URL         : http://www.xinetd.org
Summary     : A secure replacement for inetd
Description :
Xinetd is a secure replacement for inetd, the Internet services
daemon. Xinetd provides access control for all services based on the
address of the remote host and/or on time of access and can prevent
denial-of-access attacks. Xinetd provides extensive logging, has no
limit on the number of server arguments, and lets you bind specific
services to specific IP addresses on your host machine. Each service
has its own specific configuration file for Xinetd; the files are
located in the /etc/xinetd.d directory.
/etc/rc.d/init.d/xinetd
/etc/sysconfig/xinetd
/etc/xinetd.conf
/etc/xinetd.d/chargen-dgram
/etc/xinetd.d/chargen-stream
/etc/xinetd.d/daytime-dgram
/etc/xinetd.d/daytime-stream
/etc/xinetd.d/discard-dgram
/etc/xinetd.d/discard-stream
/etc/xinetd.d/echo-dgram
/etc/xinetd.d/echo-stream
/etc/xinetd.d/tcpmux-server
/etc/xinetd.d/time-dgram
/etc/xinetd.d/time-stream
/usr/sbin/xinetd
/usr/share/doc/xinetd-2.3.14
/usr/share/doc/xinetd-2.3.14/CHANGELOG
/usr/share/doc/xinetd-2.3.14/COPYRIGHT
/usr/share/doc/xinetd-2.3.14/INSTALL
/usr/share/doc/xinetd-2.3.14/README
/usr/share/doc/xinetd-2.3.14/empty.conf
/usr/share/doc/xinetd-2.3.14/sample.conf
/usr/share/man/man5/xinetd.conf.5.gz
/usr/share/man/man5/xinetd.log.5.gz
/usr/share/man/man8/xinetd.8.gz

Konfiguration: /etc/xinetd/nrpe

Nachfolgend genannte Konfigurationsdatei

  • /etc/xinetd/nrpe

ist die Konfigurationsdatei für den xinetd und dem NRPE-Daemon/Dienst welcher durch den xinetd gestartet wird.

:!: WICHTIG - Die Konfigurationsdatei ist neu zu erstellen !!!

Konfigurationsdatei: /etc/xinetd/nrpe - (gesamt)

# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
        flags           = REUSE
        type		= UNLISTED
        port		= 5666
        socket_type     = stream
        wait            = no
        user            = nrpe
        group           = nrpe
        server          = /usr/sbin/nrpe
        server_args     = -c /etc/nagios/nrpe.cfg --inetd
        log_on_failure  += USERID
        disable         = no
        only_from       = 127.0.0.1 192.168.0.90
}

Erklärung:
Mit nachfolgender Konfigurationszeile wird geregelt, von welchem IP-Adressen des Nagios-Server auf diesen Client/Zielhost zugegriffen werden darf!

...
        only_from       = 127.0.0.1 192.168.0.90
...

Starten: xinetd

Abschließend kann dann xinetd mit nachfolgendem Befehl gestartet werden:

# service xinetd start
Starting xinetd:                                           [  OK  ]

Um xinetd auch nach einem Neustart (restart) des Nagios-Servers oder des Client/Zielhosts automatisch zu starten, sollten nachfolgende Konfiguration durchgeführt werden.

Nachfolgender Befehl, fügt das Start-Skript

  • /etc/init.d/xinetd

der automatischen Ausführung (Start) beim Start oder Neustart des Servers hinzu:

# chkconfig xinetd on

Ein Überprüfung, ob dies erfolgreich war, kann mit nachfolgendem Befehl durchgeführt werden:

# chkconfig --list | tail -n 13
xinetd based services:
        chargen-dgram:  off
        chargen-stream: off
        daytime-dgram:  off
        daytime-stream: off
        discard-dgram:  off
        discard-stream: off
        echo-dgram:     off
        echo-stream:    off
        nrpe:           on
        tcpmux-server:  off
        time-dgram:     off
        time-stream:    off

Ein weitere Überprüfung kann mit nachfolgendem Befehl durchgeführt werden, welcher zeigen soll, ob der NRPE-Daemon/Dienst auch wirklich auf dem angegeben Port lauscht:

# netstat -tulpen | grep xinetd
tcp        0      0 0.0.0.0:5666         0.0.0.0:*         LISTEN      0        15907123   15515/xinetd

PNP4nagios

PNP4nagios ist ein Addon für Nagios, das es ermöglicht, die von Nagios Plugins gelieferten Performancedaten zu analysieren und automatisch in RRD Datenbanken zu speichern.

Ab hier werden root-Rechte zur Ausführung der nachfolgenden Befehle benötigt. Um root zu werden geben Sie bitte folgenden Befehl ein:

$ su -
Password: 

Installation

Folgender Befehl kann (nach Einbindung des EPEL-Repository) zu Installation von PNP4nagios angewendet werden:

# yum install pnp4nagios
Loaded plugins: priorities
1247 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pnp4nagios.x86_64 0:0.6.16-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch            Version                Repository     Size
================================================================================
Installing:
 pnp4nagios          x86_64          0.6.16-4.el6           epel          2.5 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 2.5 M
Installed size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
pnp4nagios-0.6.16-4.el6.x86_64.rpm                       | 2.5 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : pnp4nagios-0.6.16-4.el6.x86_64                               1/1
  Verifying  : pnp4nagios-0.6.16-4.el6.x86_64                               1/1

Installed:
  pnp4nagios.x86_64 0:0.6.16-4.el6

Complete!

Folgender Inhalt befindet sich im RPM-Paket pnp4nagios.x86_64, welcher mit nachfolgendem Befehl aufgelistet werden kann:

# rpm -qil pnp4nagios
Name        : pnp4nagios                   Relocations: (not relocatable)
Version     : 0.6.16                            Vendor: Fedora Project
Release     : 4.el6                         Build Date: Mon 03 Sep 2012 09:30:23AM CEST
Install Date: Fri 02 Nov 2012 06:17:39 PM CET      Build Host: buildvm-01.phx2.fedoraproject.org
Group       : Applications/System           Source RPM: pnp4nagios-0.6.16-4.el6.src.rpm
Size        : 5129226                          License: GPLv2
Signature   : RSA/8, Mon 03 Sep 2012 06:15:09 PM CEST, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.pnp4nagios.org/
Summary     : Nagios performance data analysis tool
Description :
PNP is an addon to nagios which analyzes performance data provided by plugins
and stores them automatically into RRD-databases.
/etc/httpd/conf.d/pnp4nagios.conf
/etc/logrotate.d/pnp4nagios
/etc/pnp4nagios
/etc/pnp4nagios/background.pdf
/etc/pnp4nagios/check_commands
/etc/pnp4nagios/check_commands/check_all_local_disks.cfg
/etc/pnp4nagios/check_commands/check_nrpe.cfg
/etc/pnp4nagios/check_commands/check_nwstat.cfg
/etc/pnp4nagios/config.php
/etc/pnp4nagios/misccommands.cfg
/etc/pnp4nagios/nagios.cfg
/etc/pnp4nagios/npcd.cfg
/etc/pnp4nagios/pages
/etc/pnp4nagios/pages/web_traffic.cfg
/etc/pnp4nagios/pnp4nagios_release
/etc/pnp4nagios/process_perfdata.cfg
/etc/pnp4nagios/rra.cfg
/etc/rc.d/init.d/npcd
/usr/lib64/nagios/brokers/npcdmod.o
/usr/libexec/pnp4nagios
/usr/libexec/pnp4nagios/check_pnp_rrds.pl
/usr/libexec/pnp4nagios/process_perfdata.pl
/usr/libexec/pnp4nagios/rrd_convert.pl
/usr/sbin/npcd
/usr/share/doc/pnp4nagios-0.6.16
/usr/share/doc/pnp4nagios-0.6.16/AUTHORS
/usr/share/doc/pnp4nagios-0.6.16/COPYING
/usr/share/doc/pnp4nagios-0.6.16/ChangeLog
/usr/share/doc/pnp4nagios-0.6.16/INSTALL
/usr/share/doc/pnp4nagios-0.6.16/README
/usr/share/doc/pnp4nagios-0.6.16/README.fedora
/usr/share/doc/pnp4nagios-0.6.16/THANKS
/usr/share/doc/pnp4nagios-0.6.16/contrib
/usr/share/doc/pnp4nagios-0.6.16/contrib/pnp4nagios.spec
/usr/share/doc/pnp4nagios-0.6.16/contrib/ssi
/usr/share/doc/pnp4nagios-0.6.16/contrib/ssi/status-header.ssi
/usr/share/doc/pnp4nagios-0.6.16/contrib/ssi/status-header.ssi.in
/usr/share/man/man8/npcd.8.gz
/usr/share/nagios/html/pnp4nagios
/usr/share/nagios/html/pnp4nagios/application
/usr/share/nagios/html/pnp4nagios/application/cache
/usr/share/nagios/html/pnp4nagios/application/config
/usr/share/nagios/html/pnp4nagios/application/config/config.php
/usr/share/nagios/html/pnp4nagios/application/config/locale.php
/usr/share/nagios/html/pnp4nagios/application/config/routes.php
/usr/share/nagios/html/pnp4nagios/application/config/session.php
/usr/share/nagios/html/pnp4nagios/application/controllers
/usr/share/nagios/html/pnp4nagios/application/controllers/ajax.php
/usr/share/nagios/html/pnp4nagios/application/controllers/debug.php
/usr/share/nagios/html/pnp4nagios/application/controllers/docs.php
/usr/share/nagios/html/pnp4nagios/application/controllers/graph.php
/usr/share/nagios/html/pnp4nagios/application/controllers/image.php
/usr/share/nagios/html/pnp4nagios/application/controllers/json.php
/usr/share/nagios/html/pnp4nagios/application/controllers/mobile.php
/usr/share/nagios/html/pnp4nagios/application/controllers/page.php
/usr/share/nagios/html/pnp4nagios/application/controllers/pdf.php
/usr/share/nagios/html/pnp4nagios/application/controllers/popup.php
/usr/share/nagios/html/pnp4nagios/application/controllers/special.php
/usr/share/nagios/html/pnp4nagios/application/controllers/start.php
/usr/share/nagios/html/pnp4nagios/application/controllers/system.php
/usr/share/nagios/html/pnp4nagios/application/controllers/xml.php
/usr/share/nagios/html/pnp4nagios/application/controllers/xport.php
/usr/share/nagios/html/pnp4nagios/application/controllers/zoom.php
/usr/share/nagios/html/pnp4nagios/application/helpers
/usr/share/nagios/html/pnp4nagios/application/helpers/nagios.php
/usr/share/nagios/html/pnp4nagios/application/helpers/pnp.php
/usr/share/nagios/html/pnp4nagios/application/helpers/rrd.php
/usr/share/nagios/html/pnp4nagios/application/hooks
/usr/share/nagios/html/pnp4nagios/application/i18n
/usr/share/nagios/html/pnp4nagios/application/i18n/de_DE
/usr/share/nagios/html/pnp4nagios/application/i18n/de_DE/common.php
/usr/share/nagios/html/pnp4nagios/application/i18n/de_DE/error.php
/usr/share/nagios/html/pnp4nagios/application/i18n/en_US
/usr/share/nagios/html/pnp4nagios/application/i18n/en_US/common.php
/usr/share/nagios/html/pnp4nagios/application/i18n/en_US/error.php
/usr/share/nagios/html/pnp4nagios/application/i18n/es_ES
/usr/share/nagios/html/pnp4nagios/application/i18n/es_ES/common.php
/usr/share/nagios/html/pnp4nagios/application/i18n/es_ES/error.php
/usr/share/nagios/html/pnp4nagios/application/i18n/fr_FR
/usr/share/nagios/html/pnp4nagios/application/i18n/fr_FR/common.php
/usr/share/nagios/html/pnp4nagios/application/i18n/fr_FR/error.php
/usr/share/nagios/html/pnp4nagios/application/i18n/ru_RU
/usr/share/nagios/html/pnp4nagios/application/i18n/ru_RU/common.php
/usr/share/nagios/html/pnp4nagios/application/i18n/ru_RU/error.php
/usr/share/nagios/html/pnp4nagios/application/lib
/usr/share/nagios/html/pnp4nagios/application/lib/json.php
/usr/share/nagios/html/pnp4nagios/application/lib/jsonwrapper.php
/usr/share/nagios/html/pnp4nagios/application/lib/jsonwrapper_inner.php
/usr/share/nagios/html/pnp4nagios/application/models
/usr/share/nagios/html/pnp4nagios/application/models/auth.php
/usr/share/nagios/html/pnp4nagios/application/models/config.php
/usr/share/nagios/html/pnp4nagios/application/models/data.php
/usr/share/nagios/html/pnp4nagios/application/models/rrdtool.php
/usr/share/nagios/html/pnp4nagios/application/models/system.php
/usr/share/nagios/html/pnp4nagios/application/vendor
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/filters
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/filters/FilterASCII85.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/filters/FilterASCII85_FPDI.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/filters/FilterLZW.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/filters/FilterLZW_FPDI.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/courier.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/helvetica.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/helveticab.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/helveticabi.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/helveticai.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/symbol.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/times.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/timesb.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/timesbi.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/timesi.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/font/zapfdingbats.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/fpdf.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/fpdf_tpl.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/fpdi.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/fpdi2tcpdf_bridge.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/fpdi_pdf_parser.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/pdf_context.php
/usr/share/nagios/html/pnp4nagios/application/vendor/fpdf/pdf_parser.php
/usr/share/nagios/html/pnp4nagios/application/views
/usr/share/nagios/html/pnp4nagios/application/views/basket_box.php
/usr/share/nagios/html/pnp4nagios/application/views/debug.php
/usr/share/nagios/html/pnp4nagios/application/views/docs.php
/usr/share/nagios/html/pnp4nagios/application/views/docs_box.php
/usr/share/nagios/html/pnp4nagios/application/views/graph.php
/usr/share/nagios/html/pnp4nagios/application/views/graph_content.php
/usr/share/nagios/html/pnp4nagios/application/views/graph_content_special.php
/usr/share/nagios/html/pnp4nagios/application/views/header.php
/usr/share/nagios/html/pnp4nagios/application/views/host_box.php
/usr/share/nagios/html/pnp4nagios/application/views/icon_box.php
/usr/share/nagios/html/pnp4nagios/application/views/kohana_error_page.php
/usr/share/nagios/html/pnp4nagios/application/views/logo_box.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_about.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_graph.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_graph_special.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_home.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_host.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_overview.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_pages.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_search.php
/usr/share/nagios/html/pnp4nagios/application/views/mobile_special.php
/usr/share/nagios/html/pnp4nagios/application/views/multisite_box.php
/usr/share/nagios/html/pnp4nagios/application/views/page.php
/usr/share/nagios/html/pnp4nagios/application/views/pages_box.php
/usr/share/nagios/html/pnp4nagios/application/views/popup.php
/usr/share/nagios/html/pnp4nagios/application/views/search_box.php
/usr/share/nagios/html/pnp4nagios/application/views/service_box.php
/usr/share/nagios/html/pnp4nagios/application/views/special_templates_box.php
/usr/share/nagios/html/pnp4nagios/application/views/status_box.php
/usr/share/nagios/html/pnp4nagios/application/views/template.php
/usr/share/nagios/html/pnp4nagios/application/views/timerange_box.php
/usr/share/nagios/html/pnp4nagios/application/views/timerange_select.php
/usr/share/nagios/html/pnp4nagios/application/views/widget_graph.sample.php
/usr/share/nagios/html/pnp4nagios/application/views/widget_menu.sample.php
/usr/share/nagios/html/pnp4nagios/application/views/zoom.php
/usr/share/nagios/html/pnp4nagios/application/views/zoom_header.php
/usr/share/nagios/html/pnp4nagios/documents
/usr/share/nagios/html/pnp4nagios/documents/_media
/usr/share/nagios/html/pnp4nagios/documents/_media/bulk-npcd.png
/usr/share/nagios/html/pnp4nagios/documents/_media/bulk-npcdmod.png
/usr/share/nagios/html/pnp4nagios/documents/_media/bulk.png
/usr/share/nagios/html/pnp4nagios/documents/_media/gearman.png
/usr/share/nagios/html/pnp4nagios/documents/_media/mobile-graphs.png
/usr/share/nagios/html/pnp4nagios/documents/_media/mobile-home.png
/usr/share/nagios/html/pnp4nagios/documents/_media/mobile-hostlist.png
/usr/share/nagios/html/pnp4nagios/documents/_media/mobile-loading.png
/usr/share/nagios/html/pnp4nagios/documents/_media/mobile-servicelist.png
/usr/share/nagios/html/pnp4nagios/documents/_media/nagiospowered-72x72.png
/usr/share/nagios/html/pnp4nagios/documents/_media/pnp-preview-05-08-2009.png
/usr/share/nagios/html/pnp4nagios/documents/_media/popup.png
/usr/share/nagios/html/pnp4nagios/documents/_media/srv_info.png
/usr/share/nagios/html/pnp4nagios/documents/_media/synchronous.png
/usr/share/nagios/html/pnp4nagios/documents/de_DE
/usr/share/nagios/html/pnp4nagios/documents/de_DE/about.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/advanced.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/config.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/doc_complete.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/dwnld.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/install.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/mobile.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/modes.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/new-features.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/npcd.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/pages.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/perfdata_format.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/rrd_convert.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/rrdcached.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/start.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/timeranges.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/tpl.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/tpl_custom.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/tpl_helper.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/tpl_helper_pnp.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/tpl_special.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/upgrade.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/verify.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/verify_pnp_config.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/webfe.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/webfe_cfg.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/wrapper.html
/usr/share/nagios/html/pnp4nagios/documents/de_DE/xport.html
/usr/share/nagios/html/pnp4nagios/documents/en_US
/usr/share/nagios/html/pnp4nagios/documents/en_US/about.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/advanced.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/config.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/doc_complete.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/dwnld.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/install.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/mobile.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/modes.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/new-features.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/npcd.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/pages.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/perfdata_format.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/rrd_convert.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/rrdcached.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/start.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/timeranges.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/tpl.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/tpl_custom.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/tpl_helper.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/tpl_helper_pnp.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/tpl_special.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/upgrade.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/verify.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/verify_pnp_config.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/webfe.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/webfe_cfg.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/wrapper.html
/usr/share/nagios/html/pnp4nagios/documents/en_US/xport.html
/usr/share/nagios/html/pnp4nagios/documents/images
/usr/share/nagios/html/pnp4nagios/documents/images/smileys
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/delete.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/fixme.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_arrow.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_biggrin.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_confused.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_cool.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_cry.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_doubt.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_doubt2.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_eek.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_evil.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_exclaim.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_frown.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_fun.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_idea.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_kaddi.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_lol.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_mrgreen.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_neutral.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_question.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_razz.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_redface.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_rolleyes.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_sad.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_silenced.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_smile.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_smile2.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_surprised.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_twisted.gif
/usr/share/nagios/html/pnp4nagios/documents/images/smileys/icon_wink.gif
/usr/share/nagios/html/pnp4nagios/index.php
/usr/share/nagios/html/pnp4nagios/kohana
/usr/share/nagios/html/pnp4nagios/kohana/system
/usr/share/nagios/html/pnp4nagios/kohana/system/config
/usr/share/nagios/html/pnp4nagios/kohana/system/config/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/cache_memcache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/cache_sqlite.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/cache_xcache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/cookie.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/credit_cards.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/email.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/encryption.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/http.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/inflector.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/locale.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/mimes.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/routes.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/sql_types.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/user_agents.php
/usr/share/nagios/html/pnp4nagios/kohana/system/config/view.php
/usr/share/nagios/html/pnp4nagios/kohana/system/controllers
/usr/share/nagios/html/pnp4nagios/kohana/system/controllers/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/controllers/template.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core
/usr/share/nagios/html/pnp4nagios/kohana/system/core/Benchmark.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/Bootstrap.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/Event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/Kohana.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/from_unicode.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/ltrim.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/ord.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/rtrim.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/str_ireplace.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/str_pad.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/str_split.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strcasecmp.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strcspn.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/stristr.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strlen.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strpos.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strrev.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strrpos.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strspn.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strtolower.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/strtoupper.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/substr.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/substr_replace.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/to_unicode.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/transliterate_to_ascii.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/trim.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/ucfirst.php
/usr/share/nagios/html/pnp4nagios/kohana/system/core/utf8/ucwords.php
/usr/share/nagios/html/pnp4nagios/kohana/system/fonts
/usr/share/nagios/html/pnp4nagios/kohana/system/fonts/DejaVuSerif.ttf
/usr/share/nagios/html/pnp4nagios/kohana/system/fonts/LICENSE
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/arr.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/cookie.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/date.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/download.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/email.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/expires.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/feed.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/file.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/form.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/format.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/html.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/inflector.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/num.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/remote.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/request.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/security.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/text.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/url.php
/usr/share/nagios/html/pnp4nagios/kohana/system/helpers/valid.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/de_DE/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/en_US/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/es_ES/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/fr_FR/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/it_IT/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/nl_NL/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/core.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/errors.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/orm.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/swift.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/upload.php
/usr/share/nagios/html/pnp4nagios/kohana/system/i18n/ru_RU/validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Calendar_Event.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Controller.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Database_Expression.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Encrypt.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Event_Observer.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Event_Subject.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Input.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Model.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/ORM.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/ORM_Iterator.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/ORM_Tree.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/ORM_Versioned.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Pagination.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Profiler_Table.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Router.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Tagcloud.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/URI.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/Validation.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/View.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache/Apc.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache/Eaccelerator.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache/File.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache/Memcache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache/Sqlite.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Cache/Xcache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha/Alpha.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha/Basic.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha/Black.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha/Math.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha/Riddle.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Captcha/Word.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database/Mssql.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database/Mysql.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database/Mysqli.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database/Pdosqlite.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Database/Pgsql.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Image
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Image.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Image/GD.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Image/GraphicsMagick.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Image/ImageMagick.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Session
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Session.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Session/Cache.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Session/Cookie.php
/usr/share/nagios/html/pnp4nagios/kohana/system/libraries/drivers/Session/Database.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana/template.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_calendar.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_error_disabled.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_error_page.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_errors.css
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_profiler.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_profiler_table.css
/usr/share/nagios/html/pnp4nagios/kohana/system/views/kohana_profiler_table.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/pagination
/usr/share/nagios/html/pnp4nagios/kohana/system/views/pagination/classic.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/pagination/digg.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/pagination/extended.php
/usr/share/nagios/html/pnp4nagios/kohana/system/views/pagination/punbb.php
/usr/share/nagios/html/pnp4nagios/media
/usr/share/nagios/html/pnp4nagios/media/css
/usr/share/nagios/html/pnp4nagios/media/css/autocomplete.css
/usr/share/nagios/html/pnp4nagios/media/css/border-h.gif
/usr/share/nagios/html/pnp4nagios/media/css/border-v.gif
/usr/share/nagios/html/pnp4nagios/media/css/common.css
/usr/share/nagios/html/pnp4nagios/media/css/images
/usr/share/nagios/html/pnp4nagios/media/css/images/ajax-loader.png
/usr/share/nagios/html/pnp4nagios/media/css/images/icon-search-black.png
/usr/share/nagios/html/pnp4nagios/media/css/images/icons-18-black.png
/usr/share/nagios/html/pnp4nagios/media/css/images/icons-18-white.png
/usr/share/nagios/html/pnp4nagios/media/css/images/icons-36-black.png
/usr/share/nagios/html/pnp4nagios/media/css/images/icons-36-white.png
/usr/share/nagios/html/pnp4nagios/media/css/imgareaselect-default.css
/usr/share/nagios/html/pnp4nagios/media/css/jquery.mobile.min.css
/usr/share/nagios/html/pnp4nagios/media/css/mobile.css
/usr/share/nagios/html/pnp4nagios/media/css/shadow.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_flat_0_aaaaaa_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_flat_75_ffffff_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_glass_55_fbf9ee_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_glass_75_dadada_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_glass_75_e6e6e6_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_glass_95_fef1ec_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-icons_222222_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-icons_2e83ff_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-icons_454545_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-icons_888888_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/images/ui-icons_cd0a0a_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-lightness/jquery-ui.css
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/contentframe_background.jpg
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_flat_0_aaaaaa_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_flat_75_709aa5_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_glass_55_fbf9ee_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_glass_65_709aa5_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_glass_75_709aa5_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_highlight-soft_75_8eaeb8_1x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-bg_inset-soft_95_fef1ec_1x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-icons_222222_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-icons_2e83ff_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-icons_454545_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-icons_888888_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/images/ui-icons_cd0a0a_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-multisite/jquery-ui.css
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_flat_75_ffffff_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_glass_55_fbf9ee_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_glass_65_ffffff_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_glass_75_dadada_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_glass_75_e6e6e6_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_glass_95_fef1ec_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-bg_highlight-soft_75_cccccc_1x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-icons_222222_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-icons_2e83ff_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-icons_454545_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-icons_888888_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/images/ui-icons_cd0a0a_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-redmond/jquery-ui.css
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_flat_75_ffffff_40x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_glass_65_ffffff_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_glass_75_dadada_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-icons_222222_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-icons_2e83ff_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-icons_454545_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-icons_888888_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/images/ui-icons_cd0a0a_256x240.png
/usr/share/nagios/html/pnp4nagios/media/css/ui-smoothness/jquery-ui.css
/usr/share/nagios/html/pnp4nagios/media/images
/usr/share/nagios/html/pnp4nagios/media/images/1x1.gif
/usr/share/nagios/html/pnp4nagios/media/images/add.png
/usr/share/nagios/html/pnp4nagios/media/images/back.png
/usr/share/nagios/html/pnp4nagios/media/images/calendar.png
/usr/share/nagios/html/pnp4nagios/media/images/de_DE.png
/usr/share/nagios/html/pnp4nagios/media/images/docs.png
/usr/share/nagios/html/pnp4nagios/media/images/en_US.png
/usr/share/nagios/html/pnp4nagios/media/images/favicon.ico
/usr/share/nagios/html/pnp4nagios/media/images/go-left.png
/usr/share/nagios/html/pnp4nagios/media/images/go-now.png
/usr/share/nagios/html/pnp4nagios/media/images/go-right.png
/usr/share/nagios/html/pnp4nagios/media/images/graph.png
/usr/share/nagios/html/pnp4nagios/media/images/home.png
/usr/share/nagios/html/pnp4nagios/media/images/int.gif
/usr/share/nagios/html/pnp4nagios/media/images/int2.gif
/usr/share/nagios/html/pnp4nagios/media/images/loader.gif
/usr/share/nagios/html/pnp4nagios/media/images/notify.gif
/usr/share/nagios/html/pnp4nagios/media/images/pages.png
/usr/share/nagios/html/pnp4nagios/media/images/pdf.png
/usr/share/nagios/html/pnp4nagios/media/images/pnp.png
/usr/share/nagios/html/pnp4nagios/media/images/remove.png
/usr/share/nagios/html/pnp4nagios/media/images/rrdtool.png
/usr/share/nagios/html/pnp4nagios/media/images/special.png
/usr/share/nagios/html/pnp4nagios/media/images/stats.png
/usr/share/nagios/html/pnp4nagios/media/images/trends.gif
/usr/share/nagios/html/pnp4nagios/media/images/view-calendar.png
/usr/share/nagios/html/pnp4nagios/media/images/xml.png
/usr/share/nagios/html/pnp4nagios/media/images/zoom.png
/usr/share/nagios/html/pnp4nagios/media/js
/usr/share/nagios/html/pnp4nagios/media/js/jquery-min.js
/usr/share/nagios/html/pnp4nagios/media/js/jquery-ui-timepicker-addon.js
/usr/share/nagios/html/pnp4nagios/media/js/jquery-ui.min.js
/usr/share/nagios/html/pnp4nagios/media/js/jquery.cluetip.js
/usr/share/nagios/html/pnp4nagios/media/js/jquery.imgareaselect.min.js
/usr/share/nagios/html/pnp4nagios/media/js/jquery.mobile.min.js
/usr/share/nagios/html/pnp4nagios/templates
/usr/share/nagios/html/pnp4nagios/templates.dist
/usr/share/nagios/html/pnp4nagios/templates.dist/check-host-alive.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_apachestatus.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_dell_bladechassis.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_disk.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_dns.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_esx3.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_fping.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_gearman.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_hp_bladechassis.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_hpasm.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_http.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_icmp.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_iftraffic_counter.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_iftraffic_pct.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_hp_bladechassis.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_hpasm.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_http.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_icmp.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_iftraffic_counter.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_iftraffic_pct.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_load.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_local_disk.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_local_load.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_messpc_temp.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_mssql_health.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_multi.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_multi_nagiostats.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_mysql_health.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nt_cpu.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nt_disk.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nt_mem.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_ntp_time.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nwstat_CONNS.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nwstat_LOAD.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nwstat_LOAD1.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nwstat_LOAD15.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nwstat_LOAD5.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_nwstat_ofiles.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_openmanage.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_connection-time.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_health.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_health_connection-time.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_health_pga-in-memory-sort-ratio.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_health_redo-io-traffic.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_health_switch-interval.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_oracle_health_tablespace-usage.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_ping.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_ping_tick.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_pnp_rrds.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_smtp.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_snmp_int-bits.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_snmp_int.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_swap.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_tcp.php
/usr/share/nagios/html/pnp4nagios/templates.dist/check_users.php
/usr/share/nagios/html/pnp4nagios/templates.dist/default.php
/usr/share/nagios/html/pnp4nagios/templates.dist/integer.php
/usr/share/nagios/html/pnp4nagios/templates.dist/nagiostats.php
/usr/share/nagios/html/pnp4nagios/templates.dist/pnp-runtime.php
/usr/share/nagios/html/pnp4nagios/templates.dist/response.php
/usr/share/nagios/html/pnp4nagios/templates.special
/usr/share/nagios/html/pnp4nagios/templates.special/README
/usr/share/nagios/html/pnp4nagios/templates.special/advanced_loop.php-sample
/usr/share/nagios/html/pnp4nagios/templates.special/loop.php-sample
/usr/share/nagios/html/pnp4nagios/templates.special/static.php-sample
/var/lib/pnp4nagios
/var/log/pnp4nagios
/var/log/pnp4nagios/kohana
/var/log/pnp4nagios/stats
/var/spool/pnp4nagios

RAM-Disk-Einrichten

Um eine RAM-Disk einzurichten sind, in diesem Beispiel, nachfolgende Schritte notwendig. Es soll hier als Beispiel eine RAM-Disk in der größe von 256 MB erstellt werden, auf die der Besitzer nagios, die Gruppe nagios und sonstige Nutzer, Zugriff haben.

Zuerst soll ein Verzeichnis mit dem Namen

  • /var/lib/pnpram

mit nachfolgendem Befehl angelegt werden:

# mkdir /var/lib/pnpram

Anschließend werden die benötigten Besitzrechte mit nachfolgendem Befehl gesetzt:

# chown -R nagios.nagios /var/lib/pnpram

Nachfolgend sollten die Dateirechte mit nachfolgendem Befehl (falls diese nicht schon richtig gesetzte sind) angepasst werden:

# chmod -R 755 /var/lib/pnpram

Um das neue erstellte Verzeichnis als RAM-Disk bei jedem Systemstart automatisch zu mounten, muss die Konfigurationsdatei

  • /etc/fstab

um nachfolgende Zeile erweitert werden (nur relevanter Ausschnitt):

...
tmpfs                   /var/lib/pnpram         tmpfs   defaults,size=256m,mode=755,uid=400,gid=400     0 0
...

Abschließend kann dann mit nachfolgendem Befehl - manuell - der mount ausgeführt werden, der sonst automatisch bei jedem Systemstart ausgeführt wird.

# mount -a

Zur Überprüfung kann nachfolgender Befehl genutzt werden und sollte nachfolgendes Ergebnis zeigen:

# df -h | grep pnpram
tmpfs                 256M  210M   47M  82% /var/lib/pnpram

:!: HINWEIS - In oben gezeigter Ausgabe ist die RAM-Disk bereits in Benutzung und zu 82% ausgelastet!

Konfiguration: /etc/nagios/nagios.cfg

:!: HINWIES - PNP4nagios soll in diesem Beispiel im Bulk Mode mit NPCD und npcdmod betrieben werden!

Der Bulk-Mode reduziert die Last auf dem Nagios Server im Vergleich zum Synchronous-Mode merklich, da hier der Datensammler process_perfdata.pl nicht mehr für jeden Service bzw. Host zusätzlich gestartet werden muss.

Im Bulk Mode mit NPCD und npcdmod kommt das Eventbroker-Modul npcdmod.o zu Einsatz. Die internen Perfdata-Routinen von Nagios, die über die „*_perf_data_*“ Optionen in der /etc/nagios/nagios.cfg konfiguriert werden, kommen NICHT mehr zu Einsatz.

Das Modul npcdmod.o kümmert sich um die für PNP4nagios nötige Aufbereitung der Daten.

Bulk Mode mit NPCD und npcdmod

Nachfolgende Anpassungen müssen in der Konfigurationsdatei

  • /etc/nagios/nagios.cfg

von Nagios durchgeführt werden, falls nicht schon geschehen (nur relevante Ausschnitte):

...
# PROCESS PERFORMANCE DATA OPTION
# This determines whether or not Nagios will process performance
# data returned from service and host checks.  If this option is
# enabled, host performance data will be processed using the
# host_perfdata_command (defined below) and service performance
# data will be processed using the service_perfdata_command (also
# defined below).  Read the HTML docs for more information on
# performance data.
# Values: 1 = process performance data, 0 = do not process performance data
 
# Tachtler
# default: process_performance_data=0
process_performance_data=1
...
und
...
# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# by loaded by Nagios at startup.  Use multiple directives if you want
# to load more than one module.  Arguments that should be passed to
# the module at startup are seperated from the module path by a space.
#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
# Do NOT overwrite modules while they are being used by Nagios or Nagios
# will crash in a fiery display of SEGFAULT glory.  This is a bug/limitation
# either in dlopen(), the kernel, and/or the filesystem.  And maybe Nagios...
#
# The correct/safe way of updating a module is by using one of these methods:
#    1. Shutdown Nagios, replace the module file, restart Nagios
#    2. Delete the original module file, move the new module file into place, restart Nagios
#
# Example:
#
#   broker_module=<modulepath> [moduleargs]
 
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
 
# Tachtler
broker_module=/usr/lib64/nagios/brokers/npcdmod.o config_file=/etc/pnp4nagios/npcd.cfg
...

und

:!: WICHTIG - Nachfolgende Änderung verhindert diesen Fehler beim generieren der RRD-Graphen aus der LOG-Datei

  • /var/log/pnp4nagios/perfdata.log:

...RRDs::update ERROR /var/lib/pnpram/rechner/check_irgendwas.rrd: illegal attempt to update using time
1353259506 when last update time is 1353259506 (minimum one second step)...

Nachfogend die Einstellung, um oben genannten Fehler zu vermeiden:

...
# CHILD PROCESS FORKING BEHAVIOR
# This option determines how Nagios will fork child processes
# (used to execute system commands and host/service checks).  Normally
# child processes are fork()ed twice, which provides a very high level
# of isolation from problems.  Fork()ing once is probably enough and will
# save a great deal on CPU usage (in large installs), so you might
# want to consider using this.  If you specify a value here, it will
# program defaults.
# Value: 1 - Child processes fork() twice
#        0 - Child processes fork() just once

# Tachtler 
# default: #child_processes_fork_twice=1
child_processes_fork_twice=0
...

Konfiguration: /etc/pnp4nagios/npcd.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/pnp4nagios/npcd.cfg

ist die Konfiguratiosndatei des NPCD-Daemons/Dienstes von PNP4nagios

Die nachfolgend gezeigten Anpassungen sind optional und dienen dazu, die Performance zu optimieren.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/pnp4nagios/npcd.cfg - (gesamt)

# NPCD.cfg - sample configuration file for PNPs NPCD
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation;
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
# Privilege Options
 
user = nagios
group = nagios
 
#########################
#                       #
# Logging Options       #
#                       #
#########################
 
# log_type - define if you want your logs to
# 'syslog' or to a 'file'
#
# log_type = <value>
#
 
#log_type = file
log_type = syslog
 
 
# log_file - define a path to your logfile
# needed if 'log_type'='file'
#
# log_file = </path/to/logpath/filename>
#
 
log_file = /var/log/pnp4nagios/npcd.log
 
 
# max_logfile_size - defines the maximum filesize (bytes)
# before the logfile will rotated.
#
# max_logfile_size = <value> (default 10Mbyte)
#
 
max_logfile_size = 10485760
 
 
# log_level - how much should we log?
#
# log_level = <integer value>
#
#  0 = No logging - except errors
#  1 = Small logging - some few more output
#  2 = More Logging (actual ALL logs)
# -1 = DEBUG Mode - ALL Logging and slower processing
#
 
log_level = 0
 
#########################
#                       #
# NEEDED OPTIONS        #
#                       #
#########################
 
# perfdata_spool_dir - where we can find the
# performance data files
#
# perfdata_spool_dir = </path/to/directory/>
#
 
perfdata_spool_dir = /var/spool/pnp4nagios/
 
 
# Execute following command for each found file
# in 'perfdata_spool_dir'
#
# perfdata_file_run_cmd = </path/to/command>
#
# Must be executable by user/group from above
#
# perfdata_file_run_cmd = </path/to/filename>
#
 
perfdata_file_run_cmd = /usr/libexec/pnp4nagios/process_perfdata.pl
 
 
# perfdata_file_run_cmd_args (optional)
#
# If you wish, you can apply more arguments to the
# perfdata_file_run_cmd
#
# Hint:
# NPCD will create a command line like this:
# '<perfdata_file_run_cmd> <perfdata_file_run_cmd_args> <filename_from_spool_dir>'
#
 
perfdata_file_run_cmd_args = -b
 
 
# identify_npcd (optional)
#
# If set to one (by default) npcd will append
# '-n' to the perfdata_file_run_cmd
#
# identify_npcd = 0|1 (default: 1)
 
identify_npcd = 1
 
 
# npcd_max_threads - define how many parallel threads we
# should start
 
npcd_max_threads = 5
 
# sleep_time - how many seconds npcd should wait between dirscans
#
# sleep_time = 15 (default)
 
sleep_time = 15
 
 
# EXPERIMENTAL
#
# load_threshold - npcd won't start new threads
# if your system load is above this threshold
#
# load_threshold = <float value> (default: 0.0)
#
# Hint: Do not use "," as decimal delimiter
#
# 07/15/2008: Every value above 0.0 will
#             enable this feature
 
# Tachtler
# default: load_threshold = 0.0
load_threshold = 8.0
 
 
# location of your pid file
 
pid_file=/var/run/npcd.pid
 
 
#########################
#                       #
# NPCDMOD OPTIONS       #
#                       #
#########################
 
 
# perfdata_file - where should the npcdmod.o
# write the performance data
#
# must not be within the same directory as
# perfdata_spool_dir
#
# perfdata_file = </path/to/file>
#
 
perfdata_file = /var/log/pnp4nagios/perfdata.dump
 
 
# perfdata_spool_filename - declare the destination
# filename for the spooled files
#
# This option allows you a customized filename.
# Usefull if you own different nagios servers
# which write their data to a shared storage.
#
# perfdata_spool_filename = <filename>
#
# Hint:
# The final files will be moved to
#  'perfdata_spool_dir/perfdata_spool_filename-TIMESTAMP'
#
# Example:
#
# perfdata_spool_filename = perfdata-NY
# perfdata_spool_filename = perfdata-LA
 
perfdata_spool_filename = perfdata
 
#
# perfdata_file_processing_interval
#
perfdata_file_processing_interval = 15
 
# We have to end with a newline

Erklärung:
Falls die Load des Servers einen Schwellwert erreicht, sollen keine weiteren Performancedaten durch PNP4nagios erhoben werden.

...
# EXPERIMENTAL
#
# load_threshold - npcd won't start new threads
# if your system load is above this threshold
#
# load_threshold = <float value> (default: 0.0)
#
# Hint: Do not use "," as decimal delimiter
#
# 07/15/2008: Every value above 0.0 will
#             enable this feature
 
# Tachtler
# default: load_threshold = 0.0
load_threshold = 8.0
...

Konfiguration: /etc/pnp4nagios/process_perfdata.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/pnp4nagios/process_perfdata.cfg

ist die Konfiguratiosndatei zur Generierung der Graphen von PNP4nagios

Die nachfolgend gezeigten Anpassungen sind optional und dienen dazu, die Performance zu optimieren.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/pnp4nagios/process_perfdata.cfg - (gesamt)

# pnp4nagiosâ0.6.16
# Config File for process_perfdata.pl
#
# More info on RRDtool can be found at www.rrdtool.org
 
#
# process_perfdata.pl Timeout in seconds
#
TIMEOUT = 15
 
#
# Use RRDs Perl module
#
USE_RRDs = 1
 
#
# Path to XML/RRD files
#
# Tachtler
# default: RRDPATH = /var/lib/pnp4nagios
RRDPATH = /var/lib/pnpram
 
#
# Location of RRDtool binary
#
RRDTOOL = /usr/bin/rrdtool
 
#
# Location of PNP config files
#
CFG_DIR = /etc/pnp4nagios
 
#
# Use a single RRD database per service
# one or more datasources per RRD database
# RRD_STORAGE_TYPE = SINGLE
#
# Use multiple RRD databases per service
# one RRD Database per Datasource.
# RRD_STORAGE_TYPE = MULTIPLE
#
RRD_STORAGE_TYPE = SINGLE
 
#
# max. interval between samples/updates
#
RRD_HEARTBEAT = 8460
 
#
# file with RRA options used to create new RRD files
#
RRA_CFG = /etc/pnp4nagios/rra.cfg
 
#
# interval at which PDPs are generated
#
RRA_STEP = 60
 
#
# name of the log file
#
LOG_FILE = /var/log/pnp4nagios/perfdata.log
 
#
# Loglevel 0=silent 1=normal 2=debug
#
LOG_LEVEL = 0
 
#
# XML encoding
# The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
# http://www.php.net/xml-parser-create
#
XML_ENC = UTF-8
 
#
# XML update delay in seconds
# 0 = Update XML Files everytime new data arrives
#
# Use this option to reduce disk I/O
#
# Tachtler
# default: XML_UPDATE_DELAY = 0
XML_UPDATE_DELAY = 300
 
#
# Use only with rrdtool svn revision 1511+
#
# RRD_DAEMON_OPTS = unix:/tmp/rrdcached.sock
RRD_DAEMON_OPTS =
 
#
# Spool Directory used for internal statistic
#
STATS_DIR = /var/log/pnp4nagios/stats
 
#########################################################
# Gearman Worker Config
# Only used while running as gearman worker
#
# How many child processes
#
PREFORK = 1
 
#
# Gearman server to connect to
#
GEARMAN_HOST = localhost:4730
 
#
# Restart child process after a given count of requests
#
REQUESTS_PER_CHILD = 10000
 
# enables or disables encryption. It is strongly
# advised to not disable encryption. Anybody will be
# able to inject packages to your worker.
# Encryption is enabled by default and you have to
# explicitly disable it.
# When using encryption, you will either have to
# specify a shared password with KEY = ...
# Default is 1.
#
ENCRYPTION = 1
 
# A shared password which will be used for
# encryption of data pakets. Should be at least 8
# bytes long. Maximum length is 32 characters.
#
# Tachtler
# default: KEY = should_be_changed
KEY = my_key
 
# The shared password will be read from this file.
# Use either key or keyfile. Only the first 32
# characters will be used.
# KEY_FILE = /etc/pnp4nagios/secret.key

Erklärung:
Pfad zur Ablage der generierten Dateien. Hier kann auch eine RAM-Disk verwendet werden, welche ab und an auf die Festplatte gesichert werden muss. Dies kann die Performance steigern !!!

...
#
# Path to XML/RRD files
#
# Tachtler
# default: RRDPATH = /var/lib/pnp4nagios
RRDPATH = /var/lib/pnpram
...

Erklärung:
Schreibt die Daten nur in gewissen Abständen auf den gewählten Datenträger, um die I/O-Performace zu verbessern.

...
#
# XML update delay in seconds
# 0 = Update XML Files everytime new data arrives
#
# Use this option to reduce disk I/O
#
# Tachtler
# default: XML_UPDATE_DELAY = 0
XML_UPDATE_DELAY = 300
...

Erklärung:
Nicht wirklich aktuelle relevant, aber für einen späteren Einsatz, sollte zumindest hier ein eigene Passwort vergeben werden.

...
# A shared password which will be used for
# encryption of data pakets. Should be at least 8
# bytes long. Maximum length is 32 characters.
#
# Tachtler
# default: KEY = should_be_changed
KEY = my_key
...

Konfiguration: /etc/pnp4nagios/config.cfg

Nachfolgend genannte Konfigurationsdatei

  • /etc/pnp4nagios/config.cfg

ist die Hauptkonfigurationsdatei von PNP4nagios

Die nachfolgend gezeigten Anpassungen sind optional und dienen dazu, die Performance zu optimieren.

Änderungen an der Konfigurationsdatei, sind am Anfang mit nachfolgend gezeigter Zeile gekennzeichnet:

# Tachtler

Konfigurationsdatei: /etc/pnp4nagios/config.cfg - (gesamt)

<?php
##
## Program: pnp4nagios-0.6.16 , Performance Data Addon for Nagios(r)
## License: GPL
## Copyright (c) 2005-2010 Joerg Linge (http://www.pnp4nagios.org)
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
##
# Credit:  Tobi Oetiker, http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
#
 
# URL rewriting is used by default to create friendly URLs.
# Set this value to '0' if URL rewriting is not available on your system.
#
$conf['use_url_rewriting'] = 1;
#
# Location of rrdtool binary
#
$conf['rrdtool'] = "/usr/bin/rrdtool";
#
# RRDTool image size of graphs
#
$conf['graph_width'] = "500";
$conf['graph_height'] = "100";
#
# RRDTool image size of graphs in zoom window
#
$conf['zgraph_width'] = "500";
$conf['zgraph_height'] = "100";
#
# Right zoom box offset.
# rrdtool 1.3.x = 30px
# rrdtool 1.4.x = 22px
#
$conf['right_zoom_offset'] = 30;
 
#
# RRDTool image size of PDFs
#
$conf['pdf_width']        = "675";
$conf['pdf_height']       = "100";
$conf['pdf_page_size']    = "A4";   # A4 or Letter
$conf['pdf_margin_top']   = "30";
$conf['pdf_margin_left']  = "17.5";
$conf['pdf_margin_right'] = "10";
#
# Additional options for RRDTool
#
# Example: White background and no border
# "--watermark 'Copyright by example.com' --slope-mode --color BACK#FFF --color SHADEA#FFF --color SHADEB#FFF"
#
$conf['graph_opt'] = "";
#
# Additional options for RRDTool used while creating PDFs
#
$conf['pdf_graph_opt'] = "";
#
# Directory where the RRD Files will be stored
#
#Tachtler
# default: $conf['rrdbase'] = "/var/lib/pnp4nagios/";
$conf['rrdbase'] = "/var/lib/pnpram/";
#
# Location of "page" configs
#
$conf['page_dir'] = "/etc/pnp4nagios/pages/";
#
# Site refresh time in seconds
#
# Tachtler
# default: $conf['refresh'] = "90";
$conf['refresh'] = "60";
#
# Max age for RRD files in seconds
#
$conf['max_age'] = 60*60*6;
#
# Directory for temporary files used for PDF creation
#
$conf['temp'] = "/var/tmp";
#
# Link back to Nagios or Thruk ( www.thruk.org )
#
$conf['nagios_base'] = "/nagios/cgi-bin";
 
#
# Link back to check_mk´s multisite ( http://mathias-kettner.de/checkmk_multisite.html )
#
$conf['multisite_base_url'] = "/check_mk";
#
# Multisite Site ID this PNP installation is linked to
# This is the same value as defined in etc/multisite.mk
#
$conf['multisite_site'] = "";
 
#
# check authorization against mk_livestatus API
# Available since 0.6.10
#
$conf['auth_enabled'] = FALSE;
 
#
# Livestatus socket path
#
#$conf['livestatus_socket'] = "tcp:localhost:6557";
$conf['livestatus_socket'] = "unix:/usr/local/nagios/var/rw/live";
 
#
# Which user is allowed to see all services or all hosts?
# Keywords: <USERNAME>
# Example: conf['allowed_for_all_services'] = "nagiosadmin,operator";
# This option is used while $conf['auth_enabled'] = TRUE
$conf['allowed_for_all_services'] = "";
$conf['allowed_for_all_hosts'] = "";
 
# Which user is allowed to see additional service links ?
# Keywords: EVERYONE NONE <USERNAME>
# Example: conf['allowed_for_service_links'] = "nagiosadmin,operator";
#
$conf['allowed_for_service_links'] = "EVERYONE";
 
#
# Who can use the host search function ?
# Keywords: EVERYONE NONE <USERNAME>
#
$conf['allowed_for_host_search'] = "EVERYONE";
 
#
# Who can use the host overview ?
# This function is called if no Service Description is given.
#
$conf['allowed_for_host_overview'] = "EVERYONE";
 
#
# Who can use the Pages function?
# Keywords: EVERYONE NONE <USERNAME>
# Example: conf['allowed_for_pages'] = "nagiosadmin,operator";
#
$conf['allowed_for_pages'] = "EVERYONE";
 
#
# Which timerange should be used for the host overview site ?
# use a key from array $views[]
#
$conf['overview-range'] = 1 ;
 
#
# Scale the preview images used in /popup
#
$conf['popup-width'] = "300px";
 
#
# jQuery UI Theme
# http://jqueryui.com/themeroller/
# Possible values are: lightness, smoothness, redmond, multisite
$conf['ui-theme'] = 'smoothness';
 
# Language definitions to use.
# valid options are en_US, de_DE, es_ES, ru_RU, fr_FR
#
# Tachtler
# default: $conf['lang'] = "en_US";
$conf['lang'] = "de_DE";
 
#
# Date format
#
# Tachtler
# default: $conf['date_fmt'] = "d.m.y G:i";
$conf['date_fmt'] = "d.m.Y G:i";
 
#
# This option breaks down the template name based on _ and then starts to
# build it up and check the different template directories for a suitable template.
#
# Example:
#
# Template to be used: check_esx3_host_net_usage you create a check_esx3.php
#
# It will find and match on check_esx3 first in templates dir then in templates.dist
#
$conf['enable_recursive_template_search'] = 1;
 
#
# Direct link to the raw XML file.
#
$conf['show_xml_icon'] = 1;
 
#
# Use FPDF Lib for PDF creation ?
#
$conf['use_fpdf'] = 1;
 
#
# Use this file as PDF background.
#
$conf['background_pdf'] = '/etc/pnp4nagios/background.pdf' ;
 
#
# Enable Calendar
#
$conf['use_calendar'] = 1;
 
#
# Define default views with title and start timerange in seconds
#
# remarks: required escape on " with backslash
#
#$views[] = array('title' => 'One Hour',  'start' => (60*60) );
$views[] = array('title' => '4 Hours',   'start' => (60*60*4) );
$views[] = array('title' => '25 Hours',  'start' => (60*60*25) );
$views[] = array('title' => 'One Week',  'start' => (60*60*25*7) );
$views[] = array('title' => 'One Month', 'start' => (60*60*24*32) );
$views[] = array('title' => 'One Year',  'start' => (60*60*24*380) );
 
#
# rrdcached support
# Use only with rrdtool svn revision 1511+
#
# $conf['RRD_DAEMON_OPTS'] = 'unix:/tmp/rrdcached.sock';
$conf['RRD_DAEMON_OPTS'] = '';
 
# A list of directories to search for templates
# /usr/share/nagios/html/pnp4nagios/templates.dist is always the last directory to be searched for templates
#
# Add your own template directories here
# First match wins!
#$conf['template_dirs'][] = '/usr/local/check_mk/pnp-templates';
$conf['template_dirs'][] = '/usr/share/nagios/html/pnp4nagios/templates';
$conf['template_dirs'][] = '/usr/share/nagios/html/pnp4nagios/templates.dist';
 
#
# Directory to search for special templates
#
$conf['special_template_dir'] = '/usr/share/nagios/html/pnp4nagios/templates.special';
 
#
# Regex to detect mobile devices
# This regex is evaluated against the USER_AGENT String
#
$conf['mobile_devices'] = 'iPhone|iPod|iPad|android';
?>

Erklärung:
Pfad zur Ablage der generierten Dateien. Hier kann auch eine RAM-Disk verwendet werden, welche ab und an auf die Festplatte gesichert werden muss. Dies kann die Performance steigern !!!

...
#
# Directory where the RRD Files will be stored
#
#Tachtler
# default: $conf['rrdbase'] = "/var/lib/pnp4nagios/";
$conf['rrdbase'] = "/var/lib/pnpram/";
...

Erklärung:
Aktualisierungsintervall für die Web-Anwendung.

...
#
# Site refresh time in seconds
#
# Tachtler
# default: $conf['refresh'] = "90";
$conf['refresh'] = "60";
...

Erklärung:
Einstellung der gewünschten Sprache.

...
# Language definitions to use.
# valid options are en_US, de_DE, es_ES, ru_RU, fr_FR
#
# Tachtler
# default: $conf['lang'] = "en_US";
$conf['lang'] = "de_DE";
...

Erklärung:
Einstellung des Datum-Formates.

...
#
# Date format
#
# Tachtler
# default: $conf['date_fmt'] = "d.m.y G:i";
$conf['date_fmt'] = "d.m.Y G:i";
...

Konfiguration: /etc/httpd/conf.d/vhost

:!: HINWEIS - Bevor ein erster Start von PNP4agios durchgeführt werden kann, soll die Einrichtung des Webservers, hier der Apache HTTP Server, statt finden, da sonst evtl. Konfigurationen nicht im Web-Interface von PNP4nagios dargestellt werden können!

Hier soll die Konfiguration eines virtuellen Host für den Apache HTTP Server beschrieben werden. Der Aufruf von PNP4nagios soll über die URL

ermöglicht werden.

:!: HINWEIS - Falls Sie noch keine Erfahrungen mit virtuellen Hosts in Verbindung mit dem Apache HTTP Server haben sollten, lesen Sie bitte die Dokumentation des Apache HTTP Server Projektes, da hier nur die grundlegenden Schritte erläutert werden.

Falls noch nicht geschehen wird im Verzeichnis /etc/httpd/conf.d eine Datei mit dem Namen vhosts.conf erstellt. Der Inhalt dieser Datei sollte minimal für einen virtuellen Host für PNP4nagios wie folgt aussehen:

# This configuration file enables the vhosts to this
# Server
#
 
NameVirtualHost *:80
 
#
# nagios.tachtler.net (Nagios Monitoring)
#
<VirtualHost *:80>
        ServerAdmin webmaster@tachtler.net
        ServerName pnp4nagios.tachtler.net
        ServerAlias www.pnp4nagios.tachtler.net
        ServerPath /
 
        Alias /pnp4nagios "/usr/share/nagios/html/pnp4nagios"
 
        <Directory "/usr/share/nagios/html/pnp4nagios">
                AllowOverride None
                Order allow,deny
                Allow from all
                #
                # Use the same value as defined in nagios.conf
                #
                AuthName "PNP4nagios Access"
                AuthType Basic
                AuthUserFile /etc/nagios/passwd
                Require valid-user
                <IfModule mod_rewrite.c>
                        # Turn on URL rewriting
                        RewriteEngine On
                        Options FollowSymLinks
                        # Installation directory
                        RewriteBase /pnp4nagios/
                        # Protect application and system files from being viewed
                        RewriteRule ^(application|modules|system) - [F,L]
                        # Allow any files or directories that exist to be displayed directly
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteCond %{REQUEST_FILENAME} !-d
                        # Rewrite all other URLs to index.php/URL
                        RewriteRule .* index.php/$0 [PT,L]
                </IfModule>
        </Directory>
 
        DirectoryIndex index.html index.php
        ErrorLog logs/pnp4nagios_error.log
        CustomLog logs/pnp4nagios_access.log combined
</VirtualHost>

:!: WICHTIG - Die mit der Installation mitgelieferte Konfigurationsdatei /etc/httpd/conf.d/nagios.conf kann entweder gelöscht, oder besser deren Inhalt „auskommentiert“ werden, damit es mit diesem neuen virtuellen Host nicht zu Überschneidungen kommen kann!

Ein erneuter oder erster Start des Apache HTTP Server mit folgenden Befehl für eine erstmaligen Start

# service httpd start
oder einen erneuten Start des Apache HTTP Server mit folgendem Befehl
# service httpd restart
macht die oben beschriebenen Konfigurationen für den Apache HTTP Server wirksam.

:!: HINWEIS - Der Benutzername ist nagiosadmin und das Passwort ist ebenfalls nagiosadmin !!!

Nach dem Erfolgreichen Aufruf des Links http://www.pnp4nagios.tachtler.net sollte folgende Standard-Startseite erscheinen:

PNP4nagios - Performance Daten Übersicht

Starten: npcd

Abschließend kann dann npcd mit nachfolgendem Befehl gestartet werden:

# service npcd start
Starting npcd:                                             [  OK  ]

Um npcd auch nach einem Neustart (restart) des Nagios-Servers automatisch zu starten, sollten nachfolgende Konfiguration durchgeführt werden.

Nachfolgender Befehl, fügt das Start-Skript

  • /etc/init.d/npcd

der automatischen Ausführung (Start) beim Start oder Neustart des Servers hinzu:

# chkconfig npcd on

Ein Überprüfung, ob dies erfolgreich war, kann mit nachfolgendem Befehl durchgeführt werden:

# chkconfig --list | grep npcd
npcd            0:off   1:off   2:on    3:on    4:on    5:on    6:off

Nagios Mobile

Nagios Mobile ist eine mobiles Webinterface für Nagios.

Die Installation erfolgt nicht durch den Paketmanager yum, sondern wie in nachfolgend beschriebenen Schritten.

Voraussetzungen

  • PHP in der Version 5.1 oder höher
  • Nagios ab der Version 3.x und lauffähig
  • Nachfolgende Dateien der Nagios-Installation müssen verfügbar sein und entsprechend, je nach dem wie Nagios installiert wurde, Nagios Mobile zugänglich gemacht werden:
    • status.dat'
    • objects.cache
    • cgi.cfg
    • nagios.cmd
    • optional: htpasswd.users
  • Für größere Nagios-Installation sind evtl. die PHP-Module erforderlich:
    • php-apc oder php-pear-apc
    • apc.enabled=1 in der Konfigurationsdatei php.ini, inklusive Neustart des Apache HTTPD Webserver

Herunterladen

Um Nagios Mobile herunterzuladen, sollte auf dem entsprechendem Server, wo auch sich auch die Nagios-Installation befindet. in das z.B. Verzeichnis /tmp mit nachfolgendem Befehl gewechselt werden.

# cd /tmp

Anschließend kann mit nachfolgendem Befehl Nagios Mobile heruntergeladen werden:

# wget http://assets.nagios.com/downloads/exchange/nagiosmobile/nagiosmobile.tar.gz
--2013-07-23 10:50:18--  http://assets.nagios.com/downloads/exchange/nagiosmobile/nagiosmobile.tar.gz
Resolving assets.nagios.com... 72.14.181.71
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 118348 (116K) [application/x-gzip]
Saving to: “nagiosmobile.tar.gz”

100%[======================================================================>] 118,348      238K/s   in 0.5s    

2013-07-23 10:50:19 (238 KB/s) - “nagiosmobile.tar.gz” saved [118348/118348]

Zum Abschluss kann mit nachfolgendem Befehl Nagios Mobile entpackt werden:

# tar zxfv nagiosmobile.tar.gz
nagiosmobile/
nagiosmobile/CHANGES
nagiosmobile/class/
nagiosmobile/class/index.html
nagiosmobile/class/NagiosData.php
nagiosmobile/class/NagiosUser.php
nagiosmobile/footer.inc.php
nagiosmobile/header.inc.php
nagiosmobile/include.inc.php
nagiosmobile/includes/
nagiosmobile/includes/displayfunctions.inc.php
nagiosmobile/includes/functions.inc.php
nagiosmobile/includes/index.html
nagiosmobile/includes/main.inc.php
nagiosmobile/includes/parse_cgi_file.inc.php
nagiosmobile/includes/parse_objects_file.inc.php
nagiosmobile/includes/parse_status_file.inc.php
nagiosmobile/index.php
nagiosmobile/INSTALL.php
nagiosmobile/jquery.mobile-1.0/
nagiosmobile/jquery.mobile-1.0/images/
nagiosmobile/jquery.mobile-1.0/images/ajax-loader.png
nagiosmobile/jquery.mobile-1.0/images/icons-18-black.png
nagiosmobile/jquery.mobile-1.0/images/icons-18-white.png
nagiosmobile/jquery.mobile-1.0/images/icons-36-black.png
nagiosmobile/jquery.mobile-1.0/images/icons-36-white.png
nagiosmobile/jquery.mobile-1.0/jquery.mobile-1.0.css
nagiosmobile/jquery.mobile-1.0/jquery.mobile-1.0.min.css
nagiosmobile/jquery.mobile-1.0/jquery.mobile-1.0.min.js
nagiosmobile/jquery.mobile-1.0/jquery.mobile.structure-1.0.min.css
nagiosmobile/js/
nagiosmobile/js/index.html
nagiosmobile/js/jquery-1.5.2.min.js
nagiosmobile/js/nagiosmobile.js
nagiosmobile/nagios.png
nagiosmobile/nagiosmobile.css
nagiosmobile/nagiosmobile_apache.conf
nagiosmobile/README
nagiosmobile/TODO.txt

Installation

Bevor mit der eigentlichen Installation begonnen werden kann, müssen noch einige Konfigurationsschritte durchgeführt werden.

Dazu soll zuerst in das Verzeichnis gewechselt werden, in dem Nagios Mobile entpackt wurde, was mit nachfolgendem Befehl durchgeführt werden kann:

# cd /tmp/nagiosmobile

Anschließend sollte die Installationsdatei entsprechende der verwendeten Nagios-Installation angepasst werden.

Siehe auch nachfolgende interne Links:

Die nachfolgend gezeigten Einstellungen beziehen sich auf die Installation via

Nachfolgende Einstellungen/Veränderungen müssen in der Installationsdatei

# /tmp/nagiosmobile/INSTALL.php
durchgeführt werden.

:!: HINWEIS - Nachfolgend sind NUR die relevanten Änderungen aufgelistet:

# cat /tmp/nagiosmobile/INSTALL.php | grep -A 2 Tachtler
// Tachtler
// default: define('TARGETDIR',"/usr/local/nagiosmobile");
define('TARGETDIR',"/usr/share/nagios/html/nagiosmobile");
--
// Tachtler
// default: elseif(file_exists('/var/nagios/objects.cache'))  //yum installs 
elseif(file_exists('/var/log/nagios/objects.cache'))  //yum installs 
--
	// Tachtler
	// default: $objectfile = '/var/nagios/objects.cache';
	$objectfile = '/var/log/nagios/objects.cache';
--
// Tachtler
// default: elseif(file_exists('/var/nagios/status.dat'))  //yum installs 
elseif(file_exists('/var/log/nagios/status.dat'))  //yum installs 
--
	// Tachtler
	// default: $statusfile = '/var/nagios/status.dat';
	$statusfile = '/var/log/nagios/status.dat';
--
// Tachtler
// default: elseif(file_exists('/var/nagios/rw/nagios.cmd'))  //yum install 
elseif(file_exists('/var/spool/nagios/cmd/nagios.cmd'))  //yum install 
--
	// Tachtler
	// default: $cgifile = '/var/nagios/rw/nagios.cmd';
	$cgifile = '/var/spool/nagios/cmd/nagios.cmd';

Zusammengefasst sind dies nachfolgende Einstellungen:

  • TARGETDIR –> /usr/share/nagios/html/nagiosmobile
  • $objectfile –> /var/log/nagios/objects.cache
  • $statusfile –> /var/log/nagios/status.dat
  • $cgifile –> /etc/nagios/cgi.cfg
  • $nagcmd –> /var/spool/nagios/cmd/nagios.cmd

Nachfolgend die komplette Installationsdatei /tmp/nagiosmobile/INSTALL.php:

#!/usr/bin/php
<?php
// Nagios Mobile 
// Copyright (c) 2010-2011 Nagios Enterprises, LLC.
// Install script written by Mike Guthrie <mguthrie@nagios.com>
//
 
// ***********MODIFY THE DIRECTORY LOCATIONS BELOW TO MATCH YOUR NAGIOS INSTALL*********************
 
//target directory where nagiosmobile's web files will be stored  
// Tachtler
// default: define('TARGETDIR',"/usr/local/nagiosmobile");
define('TARGETDIR',"/usr/share/nagios/html/nagiosmobile");
//target directory where your current apache configuration directory is located
define('APACHECONF',"/etc/httpd/conf.d"); 
//default for ubuntu/debian installs 
//define('APACHECONF',"/etc/apache2/conf.d"); 
 
 
 
 
 
/////////////////////////////////DO NOT EDIT BELOW THIS LINE////////////////////////
require('include.inc.php'); 
 
 
if(isset($_SESSION)) die("You cannot run this from a web browser!");
 
$errors = 0; 
$errorstring = ''; 
 
// @TODO: modify this script to find and parse the main nagios.cfg file for all relevant information.  
 
 
////////////////////////////////////////////////apache config 
echo "Copying apache configuration file...\n"; 
$output = system('/bin/mv -f nagiosmobile_apache.conf '.APACHECONF.'/nagiosmobile.conf', $code);
if($code > 0) 
{
	$errorstring .= "Failed to move apache configuration file nagiosmobile_apache.conf to ".APACHECONF."\n $output\n";	
	$errors++; 
}
/*  //////////////XXX TODO: conf file for nagiosmobile
 
//main nagiosmobile config 
echo "Copying nagiosmobile configuration file...\n"; 		
$output = system('/bin/cp config/nagiosmobile.conf /etc/',$code); 
if($code > 0)
{
	$errors++;
	$errorstring.="Failed to copy config/nagiosmobile.conf file to /etc directory \n$output\n"; 
}
*/ 
//////////////////////////making web directory
echo "Creating web directory...\n"; 
$output = file_exists(TARGETDIR) ? $code=0 : system('/bin/mkdir '.TARGETDIR,$code); 
if($code > 0)
{
	$errors++;
	$errorstring.="ERROR: Failed to create ".TARGETDIR." directory \n$output\n"; 
}
 
echo "Copying files...\n"; 
$output = system('/bin/cp -rf * '.TARGETDIR.'/',$code); 
if($code > 0)
{
	$errors++;
	$errorstring.="ERROR: Failed to copy files to ".TARGETDIR." directory \n$output\n"; 
}
echo "Cleaning up...\n"; 
$output = system('/bin/rm -f '.TARGETDIR.'/INSTALL.php',$code);
if($code > 0)
{
	$errors++;
	$errorstring.="ERROR: Failed to delete install script from web directory \n$output\n"; 
}
system('/bin/rm -f '.TARGETDIR.'/README',$code);
 
 
$service = ''; 
////////////////////////look for apache init script 
if(file_exists('/etc/init.d/httpd'))
	$service = '/etc/init.d/httpd'; 
elseif(file_exists('/etc/init.d/apache2'))
	$service = '/etc/init.d/apache2';
else 	
	$service =false; 
 
if($service)
{
	echo "Restarting apache...\n"; 
	$output = system($service." restart",$code); 
	if($code > 0)
	{
		$errors++;
		$errorstring.="ERROR: Failed to restart apache, please restart apache manually \n$output\n"; 
	}
}
else 
{
	$errors++;
	$errorstring.="ERROR: Failed to restart apache, please restart apache manually \n$output\n"; 
}
 
echo "Checking for file locations...\n"; 
 
$change = "***Update this location in your ".TARGETDIR."/include.inc.php file***\n"; 
////////////////////////////////look for object.cache file
$objectfile = $OBJECTS_FILE; //source installs 
if(file_exists($objectfile))
{
	//echo "Objects file found at: $objectfile\n"; 
}
// Tachtler
// default: elseif(file_exists('/var/nagios/objects.cache'))  //yum installs 
elseif(file_exists('/var/log/nagios/objects.cache'))  //yum installs 
{
	// Tachtler
	// default: $objectfile = '/var/nagios/objects.cache';
	$objectfile = '/var/log/nagios/objects.cache';
	echo "NOTICE: Objects file found at: $objectfile\n" . $change;	
}
elseif(file_exists('/var/cache/nagios3/objects.cache'))  //ubuntu debian nagios3 installs 
{
	$objectfile = '/var/cache/nagios3/objects.cache';
	echo "NOTICE: Objects file found at: $objectfile\n" . $change;	
}
else
{
	echo "NOTICE: objects.cache file not found.  Please specify the location of this file in your ".TARGETDIR."/include.inc.php file\n"; 
	$objectfile = false; 
}
 
/////////////////////look for status.dat file
$statusfile = $STATUS_FILE; //source installs 
if(file_exists($statusfile))
{
	//echo "Status file found at: $statusfile\n"; 
}
// Tachtler
// default: elseif(file_exists('/var/nagios/status.dat'))  //yum installs 
elseif(file_exists('/var/log/nagios/status.dat'))  //yum installs 
{
	// Tachtler
	// default: $statusfile = '/var/nagios/status.dat';
	$statusfile = '/var/log/nagios/status.dat';
	echo "NOTICE: Status file found at: $statusfile\n" . $change;
 
}
elseif(file_exists('/var/cache/nagios3/status.dat'))  //ubuntu debian nagios3 installs 
{
	$statusfile = '/var/cache/nagios3/status.dat';
	echo "NOTICE: Status file found at: $statusfile\n" . $change;	
}
else
{
	echo "NOTICE: status.dat file not found.  Please specify the location of this file in your ".TARGETDIR."/include.inc.php file\n"; 
	$statusfile = false; 
}
 
/////////////////look for cgi.cfg file
$cgifile = $CGI_FILE;  //source installs 
if(file_exists($cgifile))
{
	//echo "cgi.cfg file found at: $cgifile\n"; 
}
elseif(file_exists('/etc/nagios/cgi.cfg'))  //yum installs 
{
	$cgifile = '/etc/nagios/cgi.cfg';
	echo "NOTICE: cgi.cfg file found at: $cgifile\n" . $change;	
}
elseif(file_exists('/etc/nagios3/cgi.cfg'))  //ubuntu/debian nagios3 installs 
{
	$cgifile = '/etc/nagios3/cgi.cfg';
	echo "NOTICE: cgi.cfg file found at: $cgifile\n" . $change;	
}
else
{
	echo "NOTICE: cgi.cfg file not found.  Please specify the location of this file in your ".TARGETDIR."/include.inc.php file\n"; 
	$objectfile = false; 
}
 
 
////////////////////////////////////look for nagios.cmd file 
$nagcmd = $COMMAND_FILE;  //source install
if(file_exists($nagcmd)) 
{
	//echo "Nagios cmd file found at: $nagcmd\n"; 
}
// Tachtler
// default: elseif(file_exists('/var/nagios/rw/nagios.cmd'))  //yum install 
elseif(file_exists('/var/spool/nagios/cmd/nagios.cmd'))  //yum install 
{
        // Tachtler
	// default: $cgifile = '/var/nagios/rw/nagios.cmd';
	$cgifile = '/var/spool/nagios/cmd/nagios.cmd';
	echo "NOTICE: Nagios cmd file found at: $nagcmd\n". $change;	
}
elseif(file_exists('/var/lib/nagios3/rw/nagios.cmd'))  //ubuntu/debian nagios3 
{
	$nagcmd = '/var/lib/nagios3/rw/nagios.cmd';
	echo "NOTICE: Nagios cmd file found at: $nagcmd\n". $change;	
}
else
{
	echo "NOTICE: nagios.cmd file not found.  Please specify the location of this file in your ".TARGETDIR."/include.inc.php file\n"; 
	$nagcmd = false; 
}
 
 
 
//all done
echo "Script Complete!\n"; 
exit($errors); 
 
 
?>

Abschließend kann nun die eigentliche Installation durchgeführt werden.

Hierbei werden nachfolgende Schritte automatisch durch die Installationsdatei ausgeführt:

  • Anlegen des Ziel-Verzeichnisses
  • Kopieren der benötigten Dateien, in das neu angelegte Ziel-Verzeichnis
  • Erstellen und kopieren einer vhost-Konfigurationsdatei für den Apache HTTPD Webserver

Falls einer dieser Schritte unerwünscht sein sollte, kann die Installationsdatei entsprechend angepasst werden.

:!: HINWEIS - Nachfolgend wurde der Neustart des Apache HTTPD Webserver auskommentiert!

Nachfolgender Befehl, führt die Installation aus:

# /tmp/nagiosmobile/INSTALL.php 
Copying apache configuration file...
Creating web directory...
Copying files...
Cleaning up...
Checking for file locations...
NOTICE: Objects file found at: /var/log/nagios/objects.cache
***Update this location in your /usr/share/nagios/html/nagiosmobile/include.inc.php file***
NOTICE: Status file found at: /var/log/nagios/status.dat
***Update this location in your /usr/share/nagios/html/nagiosmobile/include.inc.php file***
NOTICE: cgi.cfg file found at: /etc/nagios/cgi.cfg
***Update this location in your /usr/share/nagios/html/nagiosmobile/include.inc.php file***
NOTICE: Nagios cmd file found at: /usr/local/nagios/var/rw/nagios.cmd
***Update this location in your /usr/share/nagios/html/nagiosmobile/include.inc.php file***
Script Complete!

Konfiguration: /usr/share/nagios/html/nagiosmobile/include.inc.php

Nach der erfolgreichen Installation durch die Installationsdatei /tmp/nagiosmobile/INSTALL.php, kann mit nachfolgendem Befehl in des Installationsverzeichnis gewechselt werden

# cd /usr/share/nagios/html/nagiosmobile
und der Inhalt des nue entstandenen Verzeichnisses mit nachfolgendem Befehl aufgelistet werden:
# ls -la /usr/share/nagios/html/nagiosmobile
total 68
drwxr-xr-x  6 root root 4096 Jul 23 14:03 .
drwxrwxr-x 12 root root 4096 Jul 23 14:03 ..
-rwxr-xr-x  1 root root  493 Jul 23 14:03 CHANGES
drwxr-xr-x  2 root root 4096 Jul 23 14:03 class
-rwxr-xr-x  1 root root   68 Jul 23 14:03 footer.inc.php
-rwxr-xr-x  1 root root 4978 Jul 23 14:03 header.inc.php
-rwxr-xr-x  1 root root 4448 Jul 23 14:03 include.inc.php
drwxr-xr-x  2 root root 4096 Jul 23 14:03 includes
-rwxr-xr-x  1 root root 5385 Jul 23 14:03 index.php
drwxr-xr-x  3 root root 4096 Jul 23 14:03 jquery.mobile-1.0
drwxr-xr-x  2 root root 4096 Jul 23 14:03 js
-rwxr-xr-x  1 root root 1423 Jul 23 14:03 nagiosmobile.css
-rwxr-xr-x  1 root root 3631 Jul 23 14:03 nagios.png
-rwxr-xr-x  1 root root 2984 Jul 23 14:03 TODO.txt

Hier befindet sich die Konfigurationsdatei

  • /usr/share/nagios/html/nagiosmobile/include.inc.php

Hier müssen, leider nochmals einige Pfade angepasst werden.

  • $STATUS_FILE = /var/log/nagios/status.dat
  • $COMMAND_FILE = /var/spool/nagios/cmd/nagios.cmd
  • $CGI_FILE = /etc/nagios/cgi.cfg
  • $OBJECTS_FILE = /var/log/nagios/objects.cache

:!: HINWEIS - Nachfolgend sind NUR die relevanten Änderungen aufgelistet:

# cat /usr/share/nagios/html/nagiosmobile/include.inc.php | grep -A 2 Tachtler
// Tachtler
// default: $STATUS_FILE  = "/usr/local/nagios/var/status.dat";
$STATUS_FILE  = "/var/log/nagios/status.dat";
// Tachtler
// default: $COMMAND_FILE = "/usr/local/nagios/var/rw/nagios.cmd";
$COMMAND_FILE = "/var/spool/nagios/cmd/nagios.cmd";
// Tachtler
// default: $CGI_FILE = "/usr/local/nagios/etc/cgi.cfg";
$CGI_FILE = "/etc/nagios/cgi.cfg";
// Tachtler
// default: $OBJECTS_FILE = "/usr/local/nagios/var/objects.cache"; 
$OBJECTS_FILE = "/var/log/nagios/objects.cache";

Nachfolgend die komplette Konfigurationsdatei /usr/share/nagios/html/nagiosmobile/include.inc.php:

<?php 
// include.inc.php 
// main include file for all global variables, constants, and script includes
// @author Mike Guthrie
// @author Hirose Masaaki
 
 
//////////////////FILE LOCATIONS:  EDIT THESE TO MATCH YOUR NAGIOS INSTALLATION//////
////////////////////////////////////////////////////////////////////////////////////
// Tachtler
// default: $STATUS_FILE  = "/usr/local/nagios/var/status.dat";
$STATUS_FILE  = "/var/log/nagios/status.dat";
// Tachtler
// default: $COMMAND_FILE = "/usr/local/nagios/var/rw/nagios.cmd";
$COMMAND_FILE = "/var/spool/nagios/cmd/nagios.cmd";
// Tachtler
// default: $CGI_FILE = "/usr/local/nagios/etc/cgi.cfg";
$CGI_FILE = "/etc/nagios/cgi.cfg";
// Tachtler
// default: $OBJECTS_FILE = "/usr/local/nagios/var/objects.cache"; 
$OBJECTS_FILE = "/var/log/nagios/objects.cache"; 
$BASE_URL = '/nagiosmobile';
$TTL = 30; //Time to live for cached data parsed from status and objects file 
$USER = ''; //you can hard-code the 'nagiosadmin' if you don't want any authentication: NOT RECOMMENDED!! 
///////////////////////////////////////////////////////////////////////////////////
////////////////////DO NOT MAKE CHANGES BELOW THIS LINE/////////////////////////////
 
 
// Nagios Mobile 1.0
// Copyright (c) 2011 Nagios Enterprises, LLC
// Web: http://www.nagios.com/products/nagiosmobile
// Developed by Mike Guthrie and Wesley Zhao.  
// Based on Teeny Nagios by HIROSE Masaaki. 
 
// LICENSE:
//
// This work is made available to you under the terms of Version 2 of
// the GNU General Public License. A copy of that license should have
// been provided with this software, but in any event can be obtained
// from http://www.fsf.org.
// 
// This work is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
// 02110-1301 or visit their web page on the internet at
// http://www.fsf.org.
//
//
// CONTRIBUTION POLICY:
//
// (The following paragraph is not intended to limit the rights granted
// to you to modify and distribute this software under the terms of
// licenses that may apply to the software.)
//
// Contributions to this software are subject to your understanding and acceptance of
// the terms and conditions of the Nagios Contributor Agreement, which can be found 
// online at:
//
// http://www.nagios.com/legal/contributoragreement/
//
//
// DISCLAIMER:
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
// PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
// HOLDERS BE LIABLE FOR ANY CLAIM FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
// OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 
// GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, STRICT LIABILITY, TORT (INCLUDING 
// NEGLIGENCE OR OTHERWISE) OR OTHER ACTION, ARISING FROM, OUT OF OR IN CONNECTION 
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 
//////////INCLUDES
require_once('includes/functions.inc.php'); 
require_once('includes/displayfunctions.inc.php');
require_once('includes/parse_cgi_file.inc.php'); 
require_once('includes/parse_objects_file.inc.php');
require_once('includes/parse_status_file.inc.php');
require_once('class/NagiosUser.php');
require_once('class/NagiosData.php');
 
///////////CONSTANTS
define("TN_VERSION", "1.03");
define("HOST_UP",          0);
define("HOST_DOWN",        1);
define("HOST_UNREACHABLE", 2);
define("STATE_OK",       0);
define("STATE_WARNING",  1);
define("STATE_CRITICAL", 2);
define("STATE_UNKNOWN",  3);
define("CHILD_PROBLEM", 99); 
 
$HOST_STATUS_BY = array(
                        HOST_UP          => "Up",
                        HOST_DOWN        => "Down",
                        HOST_UNREACHABLE => "Unreachable",
                        );
$SERVICE_STATUS_BY = array(
                           STATE_OK       => "OK",
                           STATE_WARNING  => "Warning",
                           STATE_CRITICAL => "Critical",
                           STATE_UNKNOWN  => "Unknown",
                           );
 
//////APC
//use apc if we've got it 
$APC = (function_exists('apc_add') && function_exists('apc_fetch') && function_exists('apc_exists')) ? true : false; 
 
 
 
?>

Konfiguration: /etc/httpd/conf.d/vhost

:!: HINWEIS - Bevor ein erster Start von Nagios Mobile durchgeführt werden kann, soll die Einrichtung des Webservers, hier der Apache HTTP Server, statt finden, da sonst evtl. Konfigurationen nicht im Web-Interface von Nagios Mobile dargestellt werden können!

Hier soll die Konfiguration eines virtuellen Host für den Apache HTTP Server beschrieben werden. Der Aufruf von Nagios Mobile soll über die URL

ermöglicht werden.

:!: HINWEIS - Falls Sie noch keine Erfahrungen mit virtuellen Hosts in Verbindung mit dem Apache HTTP Server haben sollten, lesen Sie bitte die Dokumentation des Apache HTTP Server Projektes, da hier nur die grundlegenden Schritte erläutert werden.

Falls noch nicht geschehen wird im Verzeichnis /etc/httpd/conf.d eine Datei mit dem Namen vhosts.conf erstellt. Der Inhalt dieser Datei sollte minimal für einen virtuellen Host für Nagios Mobile wie folgt aussehen:

# This configuration file enables the vhosts to this
# Server
#
 
NameVirtualHost *:80
 
#
# nagiosmobile.tachtler.net (Nagios Monitoring)
#
<VirtualHost *:80>
        ServerAdmin webmaster@tachtler.net
        ServerName nagiosmobile.tachtler.net
        ServerAlias www.nagiosmobile.tachtler.net
        ServerPath /
 
        Alias /nagiosmobile "/usr/share/nagios/html/nagiosmobile"
 
        <Directory "/usr/share/nagios/html/nagiosmobile">
                AllowOverride None
                Order allow,deny
                Allow from all
                #
                # Use the same value as defined in nagios.conf
                #
                AuthName "Nagios Mobile Access"
                AuthType Basic
                AuthUserFile /etc/nagios/passwd
                Require valid-user
        </Directory>
 
        DirectoryIndex index.html index.php
        ErrorLog logs/nagiosmobile_error.log
        CustomLog logs/nagiosmobile_access.log combined
</VirtualHost>

:!: WICHTIG - Die mit der Installation mitgelieferte Konfigurationsdatei /etc/httpd/conf.d/nagiosmobile.conf kann entweder gelöscht, oder besser deren Inhalt „auskommentiert“ werden, damit es mit diesem neuen virtuellen Host nicht zu Überschneidungen kommen kann!

Ein erneuter oder erster Start des Apache HTTP Server mit folgenden Befehl für eine erstmaligen Start

# service httpd start
oder einen erneuten Start des Apache HTTP Server mit folgendem Befehl
# service httpd restart
macht die oben beschriebenen Konfigurationen für den Apache HTTP Server wirksam.

Nach dem Erfolgreichen Aufruf des Links http://www.nagiosmobile.tachtler.net sollte folgende Standard-Startseite erscheinen:

Nagios Mobile - Bildschirmkopie

Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
tachtler/nagios_-_epel_installation.txt · Zuletzt geändert: 2013/07/23 22:52 von klaus