Changes

From SME Server
Jump to navigationJump to search
771 bytes added ,  00:23, 17 November 2008
no edit summary
Line 1: Line 1:  +
==Updating from 2.12 to 3.05==
 +
I was able to successfully update a simple Nagios installation using the following commands:
 +
<nowiki># save the existing nagios config
 +
cd /etc
 +
tar -cvf nagios.tar nagios/*
 +
 +
# remove nagios 2.12 and install nagios 3.05
 +
rpm --nodeps -e nagios
 +
yum --enablerepo=dag install nagios
 +
 +
# restore the nagios 2.12 config folder
 +
cd /etc
 +
mv nagios nagios.org
 +
tar xvf nagios.tar
 +
 +
# comment out the only nagios 2.12 directive that nagios 3.05 complained about
 +
cd /etc/nagios
 +
mv nagios.cfg nagios.cfg.org
 +
sed s/"check_result_buffer_slots"/"# check_result_buffer_slots"/ nagios.cfg.org > nagios.cfg
 +
 +
# restart nagios and nagiosgrapher
 +
service nagiosgrapher restart
 +
service nagios restart</nowiki>
 +
 +
[[User:Mmccarn|Mmccarn]] 23:23, 16 November 2008 (UTC)
 +
 
==Problem with pre-existing group named 'nagios'==
 
==Problem with pre-existing group named 'nagios'==
 
The install scripts failed on my system due to a pre-existing group named 'nagios'.
 
The install scripts failed on my system due to a pre-existing group named 'nagios'.

Navigation menu