From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description= Test ABRT Cron usage. This is usefull for example for periodical log scanners. |actions= Edit config file /etc/abrt/abrt.conf, where you should fi...')
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{admon/warning|This test is outdated|It was used a time ago and is now obsolete.}}
{{QA/Test_Case
{{QA/Test_Case
|description=
|description=
Line 14: Line 16:


Try to add activation of other action plugin in particular time.
Try to add activation of other action plugin in particular time.
<pre>
[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
10 = KerneloopsScanner # every 10 second the KerneloopsScanner is activated
10 = RunApp("ls", "ls-output")
</pre>
* this should run ls every 10 sec and save it's output to /var/cache/abrt


|results=Plugins are activated once per selected interval
|results=Plugins are activated once per selected interval


}}
}}
[[Category:ABRT_Test_Cases]]
[[Category:Package_abrt_test_cases]]

Latest revision as of 15:48, 22 September 2011

Warning.png
This test is outdated
It was used a time ago and is now obsolete.


Description

Test ABRT Cron usage. This is usefull for example for periodical log scanners.


How to test

Edit config file /etc/abrt/abrt.conf, where you should find lines:

[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
10 = KerneloopsScanner # every 10 second the KerneloopsScanner is activated

Try to add activation of other action plugin in particular time.

[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
10 = KerneloopsScanner # every 10 second the KerneloopsScanner is activated
10 = RunApp("ls", "ls-output")
  • this should run ls every 10 sec and save it's output to /var/cache/abrt

Expected Results

Plugins are activated once per selected interval