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:15] olemb |
servicemon [2020/04/09 19:32] megachip [dhcp] typo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | See also [[devel:servicemon]] | ||
- | |||
===== Setting up a checker ===== | ===== Setting up a checker ===== | ||
Line 13: | 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 ===== | ||
+ | |||
+ | See [[devel:servicemon|Writing a Servicemon checker]] | ||
===== Config file ===== | ===== Config file ===== | ||
Line 30: | Line 32: | ||
==== dhcp ==== | ==== dhcp ==== | ||
+ | |||
+ | Not released yet. (Will be included in 3.6?) | ||
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: |