dhcp new lease notification
Hari Sekhon
hpsekhon at googlemail.com
Mon Aug 24 13:54:46 CEST 2009
Tobias Exner wrote:
> I would like to know when my dhcp-server leases a new ip-adress.
>
> The check_dhcp plugin seems to be not the right tool for that.
> Is there a easy way to do that with nagios
Nagios isn't the best/right/ideal tool for this really, you would want
log based alerting which is entirely different and more real time as well.
You can try this dhcp leases plugin that I wrote which will display all
current leases and macs in the nagios interface if you want:
http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1450.html;d=1
You could make Nagios do what you asked via a nagios check of the
logfile for a string indicating a lease grant or something similar but I
don't consider this to be a very good solution.
-h
--
Hari Sekhon
http://www.linkedin.com/in/harisekhon
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list