Menu

#30 Please add number of warnings to System checks summary (log)

main
closed-invalid
unSpawn
Rkhunter (37)
1
2012-06-22
2012-06-15
No

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.

Discussion

  • unSpawn

    unSpawn - 2012-06-15

    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.

     
  • unSpawn

    unSpawn - 2012-06-15
    • milestone: --> main
    • assigned_to: nobody --> unspawn
     
  • unSpawn

    unSpawn - 2012-06-22

    No response from ticket owner: closing.

     
  • unSpawn

    unSpawn - 2012-06-22
    • priority: 5 --> 1
    • status: open --> closed-invalid
     
  • John Horne

    John Horne - 2012-12-13

    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).

     

Log in to post a comment.