User Tools

Site Tools


devel:blueprints:dhcp-checker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
devel:blueprints:dhcp-checker [2010/05/21 12:17]
olemb created
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 19: Line 25:
 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 ​=====+===== Source code =====
  
-The checker ​is written and has been in service at UiTø since 10May 2010.+https://​heimdal.uit.no/​hg/​olemb/​dhcpchecker/​ 
 + 
 +The two new files: 
 +  * https://​heimdal.uit.no/​hg/​olemb/​dhcpchecker/​file/​tip/​subsystem/​statemon/​nav/​statemon/​checker/​DhcpChecker.py 
 +  * https://​heimdal.uit.no/​hg/​olemb/​dhcpchecker/​file/​tip/​subsystem/​statemon/​nav/​statemon/​checker/​DhcpChecker.descr
  
devel/blueprints/dhcp-checker.1274444221.txt.gz · Last modified: 2010/05/21 12:17 by olemb