Page 1 of 1

Distributed Infrastructure Setup

Posted: Mon Dec 07, 2015 11:06 am
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

Re: Distributed Infrastructure Setup

Posted: Mon Dec 07, 2015 2:57 pm
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?

Re: Distributed Infrastructure Setup

Posted: Thu Dec 10, 2015 4:30 am
by danjoh
We are using ocsp_sweeper to send the data from the Slave to the Master.

TNX for you Feedback.
--
D/\N

Re: Distributed Infrastructure Setup

Posted: Thu Dec 10, 2015 6:02 pm
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.

Re: Distributed Infrastructure Setup

Posted: Fri Dec 11, 2015 2:45 am
by danjoh
OK, TNX for your feedback. I'll have a try next week.

KR
--
D/\N

Re: Distributed Infrastructure Setup

Posted: Fri Dec 11, 2015 10:22 am
by hsmith
Let us know how it goes. Thanks!

Re: Distributed Infrastructure Setup

Posted: Thu Dec 17, 2015 10:23 am
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

Re: Distributed Infrastructure Setup

Posted: Thu Dec 17, 2015 11:49 am
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!