NSClient++ Help (#1) - send_nsca or using nsclient nsca (#648) - Message List

send_nsca or using nsclient nsca

Here is our situation. We are migrating from a mature vendor solution to nagios. Right now to monitor services we have a perl script, which is called by the vendor solution. That script will then send messages for each failure. Instead of rewriting logic we want to continue to use that script. I just need to migrate that "send" to something like a send_nsca. Is the send_nsca which is used by nsclient available for calling like send_nsca is on linux (using nsca.cfg, etc). Or should I just find a send_nsca.exe, drop it in <nsclient>/scripts dir and roll with that?

Hope this isn't dumb question... Thx Ryan A.

  • Message #1933

    Nothing built in, could be possible in 0.4.x but not at the moment.

    There is I think send_nsca binaries for windows though... (and if not it would be fairly simple to build one)

    Michael Medin

    • Message #1939

      I will get that send_nsca binary and just utilize that. If you think it makes sense to include that binary in 4.x that would be great. It seems like the only significant benefit is not having to duplicate that nsca.cfg information in both the ini and nsca.cfg.

      Thanks! Ryan

      • Message #1940

        Well...

        The NSCA module in 0.4.x is different from the one in 0.3.x. in 0.3.x the NSCA server execute commands and sends the results.

        in 0.4.x it instead only forwards commands to the server (from an incoming the channel). The channel is then populated from the scheduler plugin. But it could easily be populated from any plugin or script.

        Michael Medin

Subscriptions