Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple instances with nagios
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Tue Sep 29, 2009 5:03 pm    Post subject: Multiple instances with nagios Reply with quote

Hello all. Does anyone have a guide to installing multiple instances of nagios on one server. It does not seem like it is that hard. Any help is greatly appreciated.
_________________
Brent Weaver
Back to top
View user's profile Send private message
ursusca
Apprentice
Apprentice


Joined: 10 Sep 2008
Posts: 284
Location: Toronto ON, CANADA

PostPosted: Thu Oct 01, 2009 3:34 pm    Post subject: Reply with quote

Hello,

I've found only this guide:

Description:

User would like to install and run multiple instances of Nagios on a single machine.


Solution:

You can run multiple instances of Nagios on the same machine, if you ensure that the following variables are unique for each instance of Nagios...

* Main configuration file
* Status file
* External command file
* Log file
* Log archive path
* Lock file
* Comment file
* Downtime file
* Retention file

If you are using the web interface, you will have to setup separate directories to hold the CGIs for each instance of Nagios and create appropriate script aliases in your web server configuration file. This is necessary because the CGI configuration file must be unique for each setup of CGIs, as it contains a reference to which main configuration file the CGIs should read.

One last thing you should check is your init script (if you're using one). The init script should start, stop, restart, and reload all copies of Nagios (if that's what you want it to do).


You need multiple configuration directories. Each configuraition directory should hold a complete configuration. Be sure to have various spool directories as well. Each nagios environment should be started from their own config directory. The location of the config directory can be specified on startup of the daemon. I think it's very difficult to find step by step instructions. The best way is to ask more questions during progress.
_________________
You deserve free software!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum