Two instances of nagios on one machine

Subhendu Ghosh sghosh at sghosh.org
Fri Feb 20 01:58:02 CET 2004


On Wed, 18 Feb 2004, C. Bensend wrote:

> 
> > I don't think the same binary (specially the cgis, not nagios-daemon)
> > behave if running two instances
> >
> > You have to either recompile each instance or apply Russell Scibetti's
> > patch and set location info using Apache environment.
> 
> Not sure I follow you...
> 
> Both instances of Nagios (1.1 and 2.0) are running from their own
> namespace (/home/nagios and /home/nagios2), both were compiled using
> configure flags to specify the URLs, etc, and the nagios v2.0 binary
> was renamed to nagios2.  The Nagios v2 wasn't recompiled, it was just
> compiled with the right flags for my environment.  :)
> 
> And of course Apache needed to be configured, but that was a simple
> matter.  Each instance has its correct CGI binaries.
> 
> Am I missing something, Subhendu?
> 

Nope - you are running v1.1 and v2.0 and had to compile them individually 
into their locations. - that works...

What doesn't work - compile v1.x for location 1, copy files to location2 
and run instance 2

-- 
-sg



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list