Carl Friend wrote:
that it what I previously mentioned as a good idea to implement, making sure that the from address matches. This could easily be supplied as a command line flag.Hari Sekhon wrote:[...] raise the warning code if more than 1 offer was received [...]The pitfall here is that if you're running redundant DHCP servers it's possible to receive two offers. ISC DHCPD can function in this way. A regular client would see the first offer, accept it, and ignore the second one; the monitoring script would have to be aware of the network architecture to account for that.One thing you could do is record the IP address(es) of your real DHCP server(s) and if you see anything come in from *anywhere else* raise the alarm. The other idea regarding the number of offers is also taken into account, in the same way you should be able to specify how many offers you should receive with another command line flag. Wish I knew C (a lot) better, I'd add the code and send it back... If nobody has done it by next year then I will re-learn C properly and write it. -h |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null