I'd like to run nagios on the log file on all servers and a new line "warnings: $number-of-warnings" in the summary would help me much.
Do you have any shell scripting skills and would you be willing to apply them by submitting a patch? I'm asking because this is about external application requirements and sheer convenience and not about the core of RKH, meaning a detection issue. * Before you dismiss this return question please realize RKH is maintained by only two developers and without almost no support from the hundreds who download RKH in a single a week.
No response from ticket owner: closing.
I have added a configuration option SHOW_SUMMARY_WARNINGS_NUMBER. By default this is set to zero, and the previous warning messages will be shown.
If it is set to one then the summary warning messages become:
Zero warnings -> 0 warnings were found while checking the system.
One warning -> 1 warning has been found while checking the system.
Many warnings -> 2 warnings have been found while checking the system.
(Obviously the '2' is replaced with the actual number.)
The user should be able to do something with this for Nagios.
The new code will be in CVS (tonight hopefully).