File: README_WATCHDOG

package info (click to toggle)
olsrd 0.6.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,904 kB
  • sloc: ansic: 53,886; cpp: 2,655; yacc: 1,188; makefile: 830; sh: 728; lisp: 360; pascal: 227; perl: 169
file content (34 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---------------------------------------------------------------------
Watchdog PLUGIN FOR OLSRD
by Henning Rogge <hrogge@googlemail.com>
---------------------------------------------------------------------

This plugin is used for detecting a total freeze of the olsrd by an external script.
Once per timeinterval (configurable) it writes the current time into
a file.

---------------------------------------------------------------------
PLUGIN PARAMETERS (PlParam)
---------------------------------------------------------------------

PlParam "file" "/tmp/olsrd.watchdog"
	Name of the "still alive" file written by the watchdog
PlParam "interval" "5"
	Overwrite the file every X seconds


---------------------------------------------------------------------
SAMPLE CONFIG
---------------------------------------------------------------------

add in /etc/olsrd/olsrd.conf:

LoadPlugin "olsrd_watchdog.so.0.1"
{
  PlParam "file" "/tmp/olsrd.watchdog"
  PlParam "interval" "5"
}


---------------------------------------------------------------------
EOF / 26.05.2005