Re: [Nagios-users] Can I run both Nagios V2 and V3 in parallel while I migrate?

2010-02-18 Thread Jim Avery
On 18 February 2010 02:29, Lylex Ryan  wrote:
>
> In upgrading from nagios (v2) to nagios3, I'd like to do a fresh install of 
> nagios3 and start with a clean sheet of  (config) "paper".  But can I do this 
> while V2 is running production?
>
> Since the packages have different names, I thought it might work.  But they 
> probably would both have /etc/nagios and other default directories in 
> common.  Maybe if I installed from the tar-ball, I could specify new 
> directories for V3, but I'm also trying to avoid that learning-process and 
> use a pre-packaged rpm.
>
> Maybe installing V3 on a different server all-together, then moving it to the 
> production machine would be a way.

I think the standard advice is no you can't run more than one instance
on a single operating-system (of course you probably can if you put
enough effort in to it).

I would recommend against installing your new Nagios 3 install with
non-standard install paths - it could make installing add-ons in the
future (for example PNP graphing, NagVis dashboards etc,) difficult if
everything is in the wrong place.

Personally, when I upgraded from 2 to 3, I put the 3 install on a new
server and 'migrated' hosts and services across from old to new
gradually over a period of a couple of months.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can I run both Nagios V2 and V3 in parallel while I migrate?

2010-02-18 Thread Marc Powell

On Feb 17, 2010, at 8:29 PM, Lylex Ryan wrote:

> In upgrading from nagios (v2) to nagios3, I'd like to do a fresh install of 
> nagios3 and start with a clean sheet of  (config) "paper".  But can I do this 
> while V2 is running production?

Yes, I've run instances of all three versions on a single box at once.

> Since the packages have different names, I thought it might work.  But they 
> probably would both have /etc/nagios and other default directories in common. 
>  

Clearly if the packages install components to common directories then that 
isn't going to work. Compiling and installing from tarball is not difficult at 
all and you have control over where things get put (by default everything is 
under /usr/local/nagios). You'll need to set up a second http vhost with a 
different name for the second instance and either modify the nagios init script 
to start the second instance or add the startup to rc.local.

Once you're confident in the success of your transition, you could uninstall 
the v2 package, install the v3 package and copy over your etc and var 
directories from your transition install...

--
Marc


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can I run both Nagios V2 and V3 in parallel while I migrate?

2010-02-17 Thread Morris, Patrick
Lylex Ryan wrote:
> In upgrading from nagios (v2) to nagios3, I'd like to do a fresh 
> install of nagios3 and start with a clean sheet of  (config) "paper".  
> But can I do this while V2 is running production?
>
> Since the packages have different names, I thought it might work.  But 
> they probably would both have /etc/nagios and other default 
> directories in common.  Maybe if I installed from the tar-ball, I 
> could specify new directories for V3, but I'm also trying to avoid 
> that learning-process and use a pre-packaged rpm.
>
> Maybe installing V3 on a different server all-together, then moving it 
> to the production machine would be a way.
>
> Any advice is appreciated.  Thanks...Lyle
>
>
>
>
Might work, might not. Really depends on your config, and how the 
packages are laid out.  You've given us details about neither, so 
"maybe" is about the best answer I can give you.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null