nagios master slave configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pkrk
Posts: 27
Joined: Tue Sep 05, 2017 8:12 am

nagios master slave configuration

Post by pkrk »

Hi,

I would like to install nagios in 1 server and have 2 other servers, as slaves from the master.

Do you know how can i do that?
is there some tutorial?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: nagios master slave configuration

Post by dwhitfield »

It depends on what you mean by a slave. Can you expand on what you are trying to do?

You may find https://assets.nagios.com/downloads/gen ... r_MSPs.pdf useful.

If you are looking for HA, then please see https://assets.nagios.com/downloads/nag ... ios-XI.pdf
pkrk
Posts: 27
Joined: Tue Sep 05, 2017 8:12 am

Re: nagios master slave configuration

Post by pkrk »

I pretend to do Master server in one server,
then having two slaves server , 1 for linux hosts and 1 for windows hosts
also because of the load on the master server i want to have this two slaves
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: nagios master slave configuration

Post by mcapra »

Most master/slave setups I've seen are using passive checks to pass [slave check results] up to the master server. The setup will require some Nagios knowledge, is non-trivial, and doesn't have nice neat HowToForge style step-by-step instructions (to my knowledge).

Refer to the "Federated Monitoring" section of this document for pretty pictures and high-level overviews:
https://assets.nagios.com/downloads/gen ... utions.pdf

Some more resources on passive checks:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... hecks.html

NRDP is a very common tool used in such setups:
https://exchange.nagios.org/directory/A ... or/details

In this setup, the "master" Nagios XI server acts as a bucket of sorts to collect all the results from the slave Nagios Core and Nagios XI machines.
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: nagios master slave configuration

Post by dwhitfield »

Thanks @mcapra!

@pkrk, did you have any additional questions?
pkrk
Posts: 27
Joined: Tue Sep 05, 2017 8:12 am

Re: nagios master slave configuration

Post by pkrk »

what about Mod-Gearman ?

or other load balancer solution with 2 nodes of nagios sharing the load?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios master slave configuration

Post by scottwilkerson »

pkrk wrote:what about Mod-Gearman ?

or other load balancer solution with 2 nodes of nagios sharing the load?
Mod gearman is possible as well, here is a doc on utilizing that
https://support.nagios.com/kb/article/n ... rkers.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked