xref: /OK3568_Linux_fs/buildroot/package/watchdogd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_WATCHDOGD
2	bool "watchdogd"
3	depends on BR2_USE_MMU # fork()
4	select BR2_PACKAGE_LIBCONFUSE
5	select BR2_PACKAGE_LIBITE
6	select BR2_PACKAGE_LIBUEV
7	help
8	  Extended version of uClinux-dist watchdogd.  Monitors loadavg,
9	  file descriptors and memory leaks, and capable of supervising
10	  your processes main loop using an instrumentation API.
11
12	  A reset reason is saved for power loss, CPU overload, or any
13	  of the monitored conditions (above).	The full capabilities
14	  are limited by the kernel watchdog driver, but even the basic
15	  "softdog" driver is supported.  See /etc/watchdogd.conf for
16	  details, and try watchdogctl for system status and available
17	  commands.
18
19	  https://github.com/troglobit/watchdogd/
20
21if BR2_PACKAGE_WATCHDOGD
22
23config BR2_PACKAGE_WATCHDOGD_TEST_SUITE
24	bool "Enable watchdogctl test cases"
25	help
26	  The watchdogctl program comes with a suite of tests built-in.
27	  They can be used to verify correct operation of watchdogd and
28	  the kernel watchdog driver.
29
30config BR2_PACKAGE_WATCHDOGD_GENERIC_POLL
31	int "Generic script monitor poll interval (sec)"
32	default "300"
33	help
34	  Poll interval for generic script monitor, in seconds.  A value
35	  of zero (0) disables the monitor.
36
37config BR2_PACKAGE_WATCHDOGD_LOADAVG_POLL
38	int "CPU load average monitor poll interval (sec)"
39	default "300"
40	help
41	  Poll interval for CPU load average monitor, in seconds.  A
42	  value of zero (0) disables the monitor.
43
44config BR2_PACKAGE_WATCHDOGD_FILENR_POLL
45	int "File descriptor leak monitor poll interval (sec)"
46	default "300"
47	help
48	  Poll interval for file descriptor leak monitor, in seconds.  A
49	  value of zero (0) disables the monitor.
50
51config BR2_PACKAGE_WATCHDOGD_MEMINFO_POLL
52	int "Memory leak monitor poll interval (sec)"
53	default "300"
54	help
55	  Poll interval for memory leak monitor, in seconds.  A value of
56	  zero (0) disables the monitor.
57
58endif
59