i've tried ./check_dhcp -s 192.168.101.249 OK: 1 DHCPOFFER(s) erhalten, 1 of 1 requested servers responded, maximale Lease-Dauer = 691200 sec. ./check_dhcp -s 192.168.101.248 CRITICAL: 1 DHCPOFFER(s) erhalten, 0 of 1 requested servers responded, maximale Lease-Dauer = 691200 sec. ./check_dhcp OK: 1 DHCPOFFER(s) erhalten, maximale Lease-Dauer = 691200 sec.
(192.168.101.249 is the dhcp server, so it has to fail in the second run) works like a charm, thanks! :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1119145 Title: check_dhcp -s <hostaddress> doesn't work if dhcp-server answers with different next-server ip To manage notifications about this bug go to: https://bugs.launchpad.net/nagios-plugins/+bug/1119145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs