Distributed Infrastructure Setup

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
danjoh
Posts: 73
Joined: Mon Dec 07, 2015 10:43 am
Location: Zürich, Switzerland
Contact:

Distributed Infrastructure Setup

Post by danjoh »

Hi, I'm new to Nagios and this Board, so please do not be to harsh ;)

Today we have a setup like this

Code: Select all

            Firewall
               //
+--------+     //     +--------+       +-----------------+
| Nagios |     //     | Nagios |       |     Client-1    |
| Master | <--NSCA--- | Slave  |------>| "active" checks |
| (NSCA) |     //     |        |       |                 |
+--------+     //     +--------+       +-----------------+
               //
(with more than one "Slave")

What we now want to implement is something like this

Code: Select all

            Firewall
               //
+--------+     //     +--------+       +-----------------+
| Nagios |     //     | Nagios |       |     Client-1    |
| Master | <--NSCA--- | Slave  |------>| "active" checks |
| (NSCA) |     //     | (NRDP) |       |                 |
+--------+     //     +--------+       +-----------------+
               //         ^
                          |
                          |            +-----------------+
                          |            |     Client-2    |
                          +----NRDP----| passive checks  |
                                       |    send_nrdp    |
                                       +-----------------+
(No, we do not want the "NRDP-client" to talk directly to the "Master).

Is a setup like this possible?

KR
--
Dan
--
D/\N
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Distributed Infrastructure Setup

Post by tmcdonald »

At first glance this should work, but it will depend on how specifically you are sending things via NRDP to the slave, and via NSCA to the master. How exactly are you sending that data over? OCSP commands, event handlers, notifications, or something else?
Former Nagios employee
danjoh
Posts: 73
Joined: Mon Dec 07, 2015 10:43 am
Location: Zürich, Switzerland
Contact:

Re: Distributed Infrastructure Setup

Post by danjoh »

We are using ocsp_sweeper to send the data from the Slave to the Master.

TNX for you Feedback.
--
D/\N
--
D/\N
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Distributed Infrastructure Setup

Post by tmcdonald »

OCSP is probably going to work here, but I am not familiar with the ocsp_sweeper tool so I can't speak to its effectiveness.
Former Nagios employee
danjoh
Posts: 73
Joined: Mon Dec 07, 2015 10:43 am
Location: Zürich, Switzerland
Contact:

Re: Distributed Infrastructure Setup

Post by danjoh »

OK, TNX for your feedback. I'll have a try next week.

KR
--
D/\N
--
D/\N
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Distributed Infrastructure Setup

Post by hsmith »

Let us know how it goes. Thanks!
Former Nagios Employee.
me.
danjoh
Posts: 73
Joined: Mon Dec 07, 2015 10:43 am
Location: Zürich, Switzerland
Contact:

Re: Distributed Infrastructure Setup

Post by danjoh »

Everything looks great.
Service status is show and gets correctly updated (including "missing" data) and the performance-graphs gets correctly displayed.

I only had two major issues while setting this up.
1) Truncated performance data "delivered" to PNP4Nagios (has really nothing to do with this thread).
2) Some send_nrdp.sh issues (syntax errors in the script and some issues when running it from cron).

Once again, TNX
--
D/\N
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Distributed Infrastructure Setup

Post by tmcdonald »

Glad to hear it! I'll close this up now, but if you need anything in the future please don't hesitate to ask!
Former Nagios employee
Locked