Switching updates to automatic

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Switching updates to automatic

Postby mfriedman1 » Thu Jul 12, 2018 2:52 pm

I'd like to set up my Nagios (pretty straightforward CentOS 6) so that it receives updates from automatically from the repository instead of having to build them from source.

Can I just set up the repository and go ahead? There are instructions on how to switch from repo to source, but not the other way around. Thanks.
mfriedman1
 
Posts: 1
Joined: Wed Jul 11, 2018 10:21 am

Re: Switching updates to automatic

Postby jomann » Fri Jul 13, 2018 1:05 pm

Where were you looking to install the repo from? The issue is going to be that they they tend to package the rpm or deb or whatever type of file dependent on the operating system. So it's likely that if you install Nagios Core from a repo it will end up in /opt instead of /usr/local.

If you do this I would recommend you backup the whole /usr/local/nagios directory somewhere (not in /tmp) just in case.

IF you create a backup of your configs, perfdata (if you have any) and remove Nagios Core, install the new repo, install Nagios Core, and then move your configs and any other items you backed up into the new etc and share directories you should be good to go.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
jomann
Development Lead / Senior Developer
 
Posts: 544
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 19 guests