Talk:Nagios

From SME Server
Jump to navigation Jump to search

Updating from 2.12 to 3.05

I was able to successfully update a simple Nagios installation from 2.12 to 3.05 using the following commands:

# 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

Mmccarn 23:23, 16 November 2008 (UTC)

Problem with pre-existing group named 'nagios'

The install scripts failed on my system due to a pre-existing group named 'nagios'.

During install, I got some errors about "nagios doesn't exist, using root".

I deleted the nagios group, removed and reinstalled the packages, and that worked.

Mmccarn 21:46, 25 October 2008 (UTC)