Hi;
I am using the check_dhcp plugin as follows
./check_dhcp -i ens224 -s 111.222.333.444 -s 555.666.777.888
when offers aren't received would it be possible to include the addresses of the servers in the output? currently it just returns the following
WARNING: Received 1 DHCPOFFER(s), only 1 of 2 requested servers responded, max lease time = 1800 sec.
check_dhcp plugin
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: check_dhcp plugin
You could write a wrapper script to do that. It seems like you've been around the forums long enough to know how to setup a plugin, but for anyone else who doesn't know how this would work, I'll leave https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Alternatively (or additionally), you can file a feature request at https://github.com/nagios-plugins/nagio ... issues/new
Alternatively (or additionally), you can file a feature request at https://github.com/nagios-plugins/nagio ... issues/new
Re: check_dhcp plugin
fair enough, check_multi would probably work as well, I will put in a feature request. Thanks for the link, you can close the thread