maybe as note: i've tested with the same config that failed with the original package...
also, this still works, too:
/usr/lib/nagios/plugins/check_dhcp -s 192.168.101.249 OK: 1 DHCPOFFER(s) erhalten, 1 of 1 requested servers responded, maximale Lease-Dauer = 691200 sec
error case works, too:
/usr/lib/nagios/plugins/check_dhcp -s 192.168.101.250 CRITICAL: 1 DHCPOFFER(s) erhalten, 0 of 1 requested servers responded, maximale Lease-Dauer = 691200 sec.
(critical is fine, as the dhcp-server is 192.168.101.249)
maybe as note: i've tested with the same config that failed with the original package...
also, this still works, too:
/usr/lib/ nagios/ plugins/ check_dhcp -s 192.168.101.249
OK: 1 DHCPOFFER(s) erhalten, 1 of 1 requested servers responded, maximale Lease-Dauer = 691200 sec
error case works, too:
/usr/lib/ nagios/ plugins/ check_dhcp -s 192.168.101.250
CRITICAL: 1 DHCPOFFER(s) erhalten, 0 of 1 requested servers responded, maximale Lease-Dauer = 691200 sec.
(critical is fine, as the dhcp-server is 192.168.101.249)