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
|