1--------------------------------------------------------------------- 2Watchdog PLUGIN FOR OLSRD 3by Henning Rogge <hrogge@googlemail.com> 4--------------------------------------------------------------------- 5 6This plugin is used for detecting a total freeze of the OLSRd daemon by an 7external script. Once per timeinterval (configurable) it writes the current 8time into a file. 9 10--------------------------------------------------------------------- 11PLUGIN PARAMETERS (PlParam) 12--------------------------------------------------------------------- 13 14PlParam "file" "/tmp/olsrd.watchdog" 15 Name of the "still alive" file written by the watchdog 16PlParam "interval" "5" 17 Overwrite the file every X seconds 18 19 20--------------------------------------------------------------------- 21SAMPLE CONFIG 22--------------------------------------------------------------------- 23 24add in /etc/olsrd/olsrd.conf: 25 26LoadPlugin "olsrd_watchdog.so.0.1" 27{ 28 PlParam "file" "/tmp/olsrd.watchdog" 29 PlParam "interval" "5" 30} 31 32 33--------------------------------------------------------------------- 34EOF / 26.05.2005 35