NRDP update only when the state changes?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

NRDP update only when the state changes?

Post by eloyd »

Using the built-in NRDP outbound transfers, it would be nice to make NRDP a little less chatty. Maybe an option to only send an NRDP update only when the state changes?

We've got customers with remote satellite-based connections that are not always working. We're thinking of a way to queue up those requests and send them in "batch" mode. That got us to thinking that maybe we only need to know about state changes to begin with, and couldn't find an easy way to do it.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP update only when the state changes?

Post by scottwilkerson »

The outbound transfer is designed to send everything for every service check.

For what you describe, I would recommend writing a script and using the Global event handler to in fact call /usr/local/nrdp/clients/send_nrdp.sh to accomplish your goal

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

You would need 2 handlers, one for hosts and one for services
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: NRDP update only when the state changes?

Post by eloyd »

Yes, I'm aware of how it works today. That's why I was asking if there could be an option added that would only have it send for state changes. Thanks.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP update only when the state changes?

Post by scottwilkerson »

I will mention it as a possible addition in the future.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked