source: trunk/include/sh_log_evalrule.h@ 217

Last change on this file since 217 was 183, checked in by katerina, 16 years ago

Support for logfile monitoring (ticket #122). Also improved some configure error messages.

File size: 893 bytes
RevLine 
[183]1#ifndef SH_EVALRULE_H
2#define SH_EVALRULE_H
3
4/* Clean up everything.
5 */
6void sh_eval_cleanup();
7
8/* Define a new reporting queue, str := label:interval:(report|sum):severity
9 */
10int sh_eval_qadd (const char * str);
11
12/* Add a new rule, str := queue:regex
13 * If there is an open group, add it to its rules.
14 * ..else, add it to the currently open host (open the
15 * default host, if there is no open one)
16 */
17int sh_eval_radd (const char * str);
18
19/* Open a new host group definition.
20 */
21int sh_eval_hadd (const char * str);
22/*
23 * End the host definition
24 */
25int sh_eval_hend (const char * str);
26
27
28/* Open a new group definition. If a host is currently open,
29 * the new group will automatically be added to that host.
30 */
31int sh_eval_gadd (const char * str);
32/*
33 * End the group definition
34 */
35int sh_eval_gend (const char * str);
36
37int sh_eval_process_msg(struct sh_logrecord * record);
38#endif
Note: See TracBrowser for help on using the repository browser.