check_dhcp.c merged patch from #752 (#1375)

Oliver Skibbe notifications at github.com
Wed Oct 7 10:20:36 CEST 2015


Merged patch from #752

Sample output with exclusive/desired mode (-x):
```
# second dhcp server is detected as rogue
./check_dhcp -s 192.168.1.1 -x
CRITICAL: Received 2 DHCPOFFER(s), Rogue DHCP Server detected! Server
192.168.1.2 offered 192.168.1.100

# support for multiple dhcp servers as well
./check_dhcp -s 192.168.1.1 -s 192.168.1.50 -x
CRITICAL: Received 2 DHCPOFFER(s), Rogue DHCP Server detected! Server
192.168.1.2 offered 192.168.1.100

# both dhcp servers are correct
./check_dhcp -s 192.168.1.1 -s 192.168.1.2 -x
OK: Received 2 DHCPOFFER(s), 2 of 2 requested servers responded, max lease
time = 691200 sec.
```
You can view, comment on, or merge this pull request online at:

  https://github.com/monitoring-plugins/monitoring-plugins/pull/1375

-- Commit Summary --

  * * check_dhcp.c added patch from #752

-- File Changes --

    M plugins-root/check_dhcp.c (89)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1375.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1375.diff

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1375
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20151007/56b4b899/attachment.html>


More information about the Devel mailing list