Difference between revisions of "Talk:Nagios"

From SME Server
Jump to navigationJump to search
Line 35: Line 35:
  
 
[[User:Mmccarn|Mmccarn]] 21:46, 25 October 2008 (UTC)
 
[[User:Mmccarn|Mmccarn]] 21:46, 25 October 2008 (UTC)
 +
 +
==http://www.nagvis.org/==
 +
Michael, have you looked at this add-on for nagios please? Seems interesting.
 +
 +
[[User:RequestedDeletion|RequestedDeletion]]

Revision as of 21:42, 15 March 2009

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

I also needed to restore the cusomized logos I had created to /usr/share/nagios/images/logos/

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)

http://www.nagvis.org/

Michael, have you looked at this add-on for nagios please? Seems interesting.

RequestedDeletion