Vor Kurzem wurden die offiziellen Nagios Plugins auf Version 2.1.3 aktualisiert. Zeit für ein kleines Upgrade How-To.
Neuerungen
- Added SNI support in check_tcp
- Added support for -k for kerberos authentication in
- check_file_age now allows wildcard matching
- check_tcp.c: tools/build_perl_modules hardcodes the perl used
- Fix for check_game reporting ‚ping‘ as number of players
- Fix some gcc5 warnings
- check_nagios could not locate a running nagios process
- check_swap will now accept threshold of zero and not allow negative thresholds
- In check_snmp, the –offset parameter didn’t do anything
- Several checks that use SSL had a first line of „SSL Version: xxxxxx“ (bug introduced in last release)
- When using ssh with ControlMaster/ControlPersist, nagios will no longer time out the first time or get zombie processes
Update durchführen
Download
wget http://nagios-plugins.org/download/nagios-plugins-2.1.3.tar.gz tar xzf nagios-plugins-2.1.3.tar.gz cd nagios-plugins-2.1.3/
Je nachdem welche Monitoring Engine zum Einsatz kommt, muss die Konfiguration entsprechend angepasst werden.
Konfiguration für Nagios
./configure \ --with-nagios-user=nagios \ --with-nagios-group=nagios
Konfiguration für Centreon-Engine
./configure \ --with-nagios-user=centreon-engine \ --with-nagios-group=centreon-engine \ --prefix=/usr/lib/nagios/plugins \ --libexecdir=/usr/lib/nagios/plugins \ --enable-perl-modules \ --with-openssl=/usr/bin/openssl
Kompilieren und installieren
make make install
Fertig. Die Nagios Plugins sind nun erfolgreich aktualiert.
Schreibe einen Kommentar