Alten Watchdog entfernen !|test.util.CallScript| |call script|mysql -usysal -psysal sysal <<<"delete from rem_wdog where inst_addr_val = 'Testhund';"| Watchdog anmelden !|test.util.CallScript| |call script|curl -X POST -d'free_form/Testhundfree_form/watchdog_timeout5' http://localhost/sysal/rest/AlarmInterface/RemoteWatchdog >curl.out| |call script|grep "free_form/Testhund" curl.out| |set script directory|/usr/share/php/SysAl/AlarmInterface| |call script|checkWatchdog.php| Watchdog #- Ablaufzeit reduzieren - ablaufen lassen - prüfen |set script directory|/usr/share/php/SysAl/AlarmInterface| #|call script|mysql -usysal -psysal sysal <<<"update rem_wdog set min_int = 5 where inst_addr_val = 'Testhund';"| |call script|sleep 6| |call script|checkWatchdog.php| !|test.util.CallPhp| |php interface|AlarmManagement| |php procedure|getMonitorAlarms| |set parameter|ABM_ID|1| |execute action| |result contains|Testhund|2| Watchdog erneut triggern !|test.util.CallScript| |call script|curl -X POST -d'free_form/Testhundfree_form/watchdog_timeout' http://localhost/sysal/rest/AlarmInterface/RemoteWatchdog| Watchdog prüfen |set script directory|/usr/share/php/SysAl/AlarmInterface| |call script|checkWatchdog.php| |call script|!-rm alarm || true-!| |call script|wget http://localhost/sysal/rest/balmon/1/alarm| |call script|! grep Testhund alarm|