Difference between revisions of "Talk:Nagios"
From SME Server
Jump to navigationJump to searchLine 22: | Line 22: | ||
service nagiosgrapher restart | service nagiosgrapher restart | ||
service nagios restart</nowiki> | 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) | [[User:Mmccarn|Mmccarn]] 23:23, 16 November 2008 (UTC) |
Revision as of 01:06, 17 November 2008
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)