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.
NRDP update only when the state changes?
NRDP update only when the state changes?
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?
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
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
Re: NRDP update only when the state changes?
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.
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?
I will mention it as a possible addition in the future.