Page 1 of 1

plugins-root/check_dhcp

Posted: Wed Jan 25, 2017 5:59 am
by Oliver Blaschke
I have modified the plugin plugins-root/check_dhcp. I have added the option -o (--oneoffer). This option stops waiting after the first valid dhcp offer is received and prints out the roundtriptime for dhcp-request.
We need this function in our company.
It would be nice for me if this option will be added to the official release, because it will be available than within all new versions of nagios plugins and I donĀ“t need to readd the option after a update.
How can I upload my check_dhcp.c to the official release or contact the developer to add it for me if he acepts my changes?

Kind regards
Oliver Blaschke

Re: plugins-root/check_dhcp

Posted: Wed Jan 25, 2017 11:09 am
by rkennedy
Hi Oliver - our plugins are maintained on GitHub. Feel free to submit a pull request for your change, and one of our developers will be able to review / push it in. https://github.com/nagios-plugins/nagios-plugins