Global REMINDER doesn't work for CHECK PROGRAM statements

Issue #796 new
Sebastian Arcus created an issue

It would seem that the global email reminder option, such as:

SET ALERT <my_email> WITH REMINDER ON 720 CYCLES

doesn't work for CHECK PROGRAM statements. It does send daily reminders for CHECK HOSTS statements, but it only sends one alert email for CHECK PROGRAM statements, and that's it. I can't find anywhere in the docs if this is by design or a bug, and if there is a way around it.

Comments (3)

  1. Sebastian Arcus reporter

    Sure - what I'm using now is (sorry, the code formatting button doesn't seem to do anything in my browser):

    CHECK PROGRAM smart-sda WITH PATH "/usr/sbin/smartctl -H /dev/sda"
        EVERY 30 CYCLES
        IF STATUS != 0 THEN ALERT
    
  2. Log in to comment