This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:blueprints:dhcp-checker [2010/05/21 12:20] olemb |
devel:blueprints:dhcp-checker [2010/05/21 12:22] (current) olemb |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== DHCP checker for Servicemon ====== | ====== DHCP checker for Servicemon ====== | ||
- | Write a DCHP service checker for NAV. | + | A new DCHP service checker for NAV. |
- | ===== | + | ===== Status ===== |
+ | |||
+ | The checker is written and has been in service at UiTø since 10. May 2010. | ||
+ | |||
+ | ===== Arguments ===== | ||
+ | |||
+ | The checker takes one optional argument: timeout (in seconds). | ||
===== Inner workings ===== | ===== Inner workings ===== | ||
- | The checker uses [[http://c3rb3r.openwall.net/dhcping/|dhcping]] to do the checking, with this command line: | + | The DHCP checker uses [[http://c3rb3r.openwall.net/dhcping/|dhcping]] to do the checking, with this command line: |
dhcping -i -s IPADDR -t TIMEOUT | dhcping -i -s IPADDR -t TIMEOUT | ||
Line 18: | Line 24: | ||
The checker code includes two functions find_cmd() and is_setuid_root(). These should be moved to a library, and can then be used in other checkers to fix [[https://bugs.launchpad.net/nav/+bug/545029|LP#545029]] (Servicemon/SmbChecker runs out of available file descriptors) | The checker code includes two functions find_cmd() and is_setuid_root(). These should be moved to a library, and can then be used in other checkers to fix [[https://bugs.launchpad.net/nav/+bug/545029|LP#545029]] (Servicemon/SmbChecker runs out of available file descriptors) | ||
- | |||
- | ===== Current status ===== | ||
- | |||
- | The checker is written and has been in service at UiTø since 10. May 2010. | ||
===== Source code ===== | ===== Source code ===== |