TWO instances of Nagios on one server - possible?

Arno Lehmann al at its-lehmann.de
Wed Jan 24 22:56:57 CET 2007


Hi,

On 1/24/2007 10:29 PM, Semir H. wrote:
> Hi everyone,
> 
> Would it be possible to run two instances on Nagios on one machine?

Yes

> The server would be Debian (with Apache).
> I want one Nagios instance to monitor one lot of hosts and the other to 
> monitor a different lot of computers and they should be independent of 
> each other.
> How would I go about doing this?
> Simply installing Nagios in two different locations and making Apache 
> server each?

One location for Nagios is sufficient, but configuration and state files 
must be separate.

You'll probably need two different sets of CGIs, compiled with their 
respective paths. IIRC, there is an environment vraiable you can set to 
point the CGIs at their state file, but setting this in an apache CGI 
environment is not something I know how to do :-)

Also, one apache is enough, just set up two locations for Naegios.

Of course the machine you run all this on should offer enough 
performance - Nagios can use lots of power.

Arno

> Thanks
> Semir
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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