Ich will die Raspberry Pi mit Nagios (Icinga) überwachen, dazu muss nrpe installiert sein. Eine Installation von nrpe mit apt-get scheitert daran, dass eine unübersehbare Menge an Software mitinstalliert werden soll. Das ist nicht einzusehen. Also muss nrpe und Plugins aus den Quellen gebaut werden.
# Voraussetzungen installieren apt-get install libssl-dev xinetd cd /usr/src # Herunterladen der Quellpakete wget http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.13.tar.gz wget http://sourceforge.net/projects/nagiosplug/files/nagiosplug/1.4.16/nagios-plugins-1.4.16.tar.gz # Auspacken tar -xzvf nagios/nrpe-2.13.tar.gz tar -xzvf nagios-plugins-1.4.16.tar.gz # Plugins kompilieren cd nagios-plugins-1.4.16/ ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios make make install # # nrpe kompilieren cd /usr/src/nrpe-2.13/ # zur Vermeidung von "Cannot find SSL Libraries ln -s /usr/lib/arm-linux-gnueabihf/libssl.so /usr/lib/libssl.so ./configure --enable-command-args make all make install-plugin make install-daemon make install-daemon-config
Installation von nrpe und Plugins