Ticket #209 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 weeks ago

nsca relay feature

Reported by: Mobster Owned by: MickeM
Priority: 1 Milestone: 0.4.0
Component: Core Version: 0.3.3
Severity: Feature Requests Keywords: nsca relay forward
Cc:

Description

Currently, the following setup with nsclient++ seems feasible:

[nsclient++1] ==nrpe==> [nsclient++2]

and then have nsclient++1 report the results to a nagios host.

This requires three "per check" type configs, namely that due to the use of nrpe, nrpe checks have to be defined on nsclient++1 and nsclient++2, in addition to the configs on the nagios host.

If nsclient++1 could act as a nsca relay (with some type of store and forward type of capability perhaps), then per check type configs on nsclient++1 could be eliminated.

I have looked at the sources of send_nsca and the nsca daemon - and can get send_nsca to compile fine on win32 and the nsca daemon to compile on win32 with cygwin fine ... I am thinking something along the lines of an "nsca listener" that gets incoming nsca requests and queues them, and then forwards them on after some user defined interval.

Even something along the lines of a netcat listener queuing to file and then another periodic netcat talker sending the contents of the file to the nagios host should work - something like this, a "blind forwarder" if you will, might be a better idea since then nsclient++ will not have to worry about encryption/decrytpion/passwords - with all that being configured only on nsclient++2.

Thanks, --Moby

Change History

comment:1 Changed 3 weeks ago by mickem

  • Status changed from new to closed
  • Resolution set to fixed

Can be done with 0.4.0

Note: See TracTickets for help on using tickets.