Nagios-Update durchführen (Basis Ubuntu):

Von der Nagios-Homepage die entsprechenden Pakete (Core und Plugins) herunteraden

wget <URL>

enpacken der Pakete in einem temp. Ordner.

tar -xvzf nagios-3.x.tar.gz
tar -xvzf nagios-plugins.tar.gz

Update von Nagios:

ins Verzeichnis /nagios wechseln und mit

./configure --with-command-group=nagcmd
das Update durchführen. Quellcode compilieren mit:
make all

Installation der neuen Bibliotheken:

make install

Konfigurationsdateien auf Fehler prüfen:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Auszug: 
Running pre-flight check on configuration data... Checking services...         Checked 30 services. Checking hosts...         Checked 14 hosts. Checking host groups...         Checked 2 host groups. Checking service groups...         Checked 0 service groups. Checking contacts...         Checked 1 contacts. Checking contact groups...         Checked 2 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 58 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 danach den Nagios-Dienst neu starten: /etc/init.d/nagios restart

 
© 2024 ziggymania.de Designed S.Wommer