This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
servicemon [2010/05/18 10:45] olemb |
servicemon [2020/04/09 19:32] (current) megachip [dhcp] typo |
||
---|---|---|---|
Line 11: | Line 11: | ||
* report page | * report page | ||
- | Most checkers have a timeout option. The default value is set in servicemon.conf (5 seconds out in the dist version.) | + | Most checkers have a timeout option. The default value is set in servicemon.conf (5 seconds in the dist version.) |
===== Writing a new checker ===== | ===== Writing a new checker ===== | ||
Line 37: | Line 37: | ||
Checks if a DHCP server is up by sending a DHCPINFORM packet and checking if it got a reply. | Checks if a DHCP server is up by sending a DHCPINFORM packet and checking if it got a reply. | ||
- | Requires dhcping (apt-get install dhping) which must be setuid root (chmod +s /usb/sbin/dhcping). (It's probably best to install it in /usr/local/bin/ to keep APT from reverting the setuid bit.) | + | Requires dhcping (apt-get install dhping) which must be setuid root (''chmod +s /usr/sbin/dhcping''). (It's probably best to install it in ''/usr/local/bin/'' to keep APT from reverting the setuid bit.) |
Optional: | Optional: |