Two instances of nagios on one machine

Subhendu Ghosh sghosh at sghosh.org
Thu Feb 19 01:28:24 CET 2004


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

> 
> > Cool, that's with 2 instances of Nagios installed on a machine.  Would it
> > be
> > possible with only one instance installed?  I am currently running 1.1. so
> > what I want to do is start services like this
> >
> > /usr/sbin/nagios -c /etc/nagios1/nagios.cfg
> > /usr/sbin/nagios -c /etc/nagios2/nagios.cfg
> 
> Depending on your setup, sure.
> 
> Currently I run two dual installs, with each machine running 1.1 in
> production, and 2.0a for testing/migration purposes.  I simply have
> each of them running in their own namespace, and have two aliases set
> up in Apache:  http://hostname/nagios and http://hostname/nagios2
> 
> Works like a champ.  :)
> 

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.

--

-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