You can check the 67/udp and 68/udp ports on the dhcp server using
generic test. The udp has however limited generic
It could be also possible to implement the specific DHCP protocol test.
The instructions for modules implementation are in monit source code
distribution: "protocols/NOTES".
There are many protocol modules implemented which can serve as template:
[EMAIL PROTECTED] # ls -1 protocols/*c
protocols/apache_status.c
protocols/clamav.c
protocols/default.c
protocols/dns.c
protocols/dwp.c
protocols/ftp.c
protocols/generic.c
protocols/http.c
protocols/imap.c
protocols/ldap2.c
protocols/ldap3.c
protocols/mysql.c
protocols/nntp.c
protocols/ntp3.c
protocols/pgsql.c
protocols/pop.c
protocols/postfix_policy.c
protocols/rdate.c
protocols/rsync.c
protocols/smtp.c
protocols/ssh.c
protocols/tns.c
Martin
Javi Roman wrote:
Is there any way to test DHCP servers with Monit?
Monit don't have built-in DHCP protocol support (... CMIIAW), and I'm
curious about it. Would it be very difficult add it?
Thaks you and regards.
Javi
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general