Last change
on this file since 242 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
|
Rev | Line | |
---|
[183] | 1 | #ifndef SH_EVALRULE_H
|
---|
| 2 | #define SH_EVALRULE_H
|
---|
| 3 |
|
---|
| 4 | /* Clean up everything.
|
---|
| 5 | */
|
---|
| 6 | void sh_eval_cleanup();
|
---|
| 7 |
|
---|
| 8 | /* Define a new reporting queue, str := label:interval:(report|sum):severity
|
---|
| 9 | */
|
---|
| 10 | int 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 | */
|
---|
| 17 | int sh_eval_radd (const char * str);
|
---|
| 18 |
|
---|
| 19 | /* Open a new host group definition.
|
---|
| 20 | */
|
---|
| 21 | int sh_eval_hadd (const char * str);
|
---|
| 22 | /*
|
---|
| 23 | * End the host definition
|
---|
| 24 | */
|
---|
| 25 | int 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 | */
|
---|
| 31 | int sh_eval_gadd (const char * str);
|
---|
| 32 | /*
|
---|
| 33 | * End the group definition
|
---|
| 34 | */
|
---|
| 35 | int sh_eval_gend (const char * str);
|
---|
| 36 |
|
---|
| 37 | int sh_eval_process_msg(struct sh_logrecord * record);
|
---|
| 38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.