Code

Add timeout to plugin execution
authorSven Velt <sven@velt.de>
Tue, 27 Jul 2010 11:57:42 +0000 (13:57 +0200)
committerSven Velt <sven@velt.de>
Tue, 27 Jul 2010 11:57:42 +0000 (13:57 +0200)
commit8df1882e9db666887a5b97ffb2befc969e904087
treee0da5170aa04c8d5dd3320869dba0c7ea1b94626
parent409cfd6ed1ee280fcb0abde4a8538460778ea24c
Add timeout to plugin execution

It's now possible to terminate plugins after a few seconds. Just set
"plugin_timeout" and maybe "plugin_timeout_returncode" in "[nagixsc]"
section in the conf file. Sample config "timeout.conf" included in
"sample-configs/conf/".

Signed-off-by: Sven Velt <sven@velt.de>
nagixsc/__init__.py
sample-configs/conf/timeout.conf [new file with mode: 0644]