Changes

Jump to navigation Jump to search
1,385 bytes removed ,  21:59, 26 October 2013
no edit summary
Line 1: Line 1: −
==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:
  −
<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>
  −
  −
I also needed to restore the cusomized logos I had created to /usr/share/nagios/images/logos/
  −
  −
[[User:Mmccarn|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.
  −
  −
[[User:Mmccarn|Mmccarn]] 21:46, 25 October 2008 (UTC)
  −
  −
--[[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 13:37, 26 October 2013 (MDT)
   
{{Languages}}
 
{{Languages}}
{{WIP box|--[[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 13:56, 26 October 2013 (MDT) please raise a bug against the documentation is something is wrong}}
+
{{WIP box| --[[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 13:59, 26 October 2013 (MDT) }}
 
{{Note box|This contrib was only applied and used on fresh SME (server only mode) install. Conflicts with other installed packages were not examined. The author strongly recommend to install this monitoring system on a dedicated server. It is entirely possible to run it on a virtualized system, which monitors the host itself. In this case you should set up a second Nagios server (acting as a watchdog) on an independent hardware (physically or virtualized) to monitor the main Nagios system}}
 
{{Note box|This contrib was only applied and used on fresh SME (server only mode) install. Conflicts with other installed packages were not examined. The author strongly recommend to install this monitoring system on a dedicated server. It is entirely possible to run it on a virtualized system, which monitors the host itself. In this case you should set up a second Nagios server (acting as a watchdog) on an independent hardware (physically or virtualized) to monitor the main Nagios system}}
  

Navigation menu