Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature global notification handler #477

Merged
merged 6 commits into from
Sep 30, 2024

Commits on Sep 13, 2024

  1. add global notification handler

    global notification handler are like global event handler. They are fired each time
    a notification would be sent out (regardless whether there is a contact or not)
    
        global_host_notification_handler=somecommand
        global_service_notification_handler=somecommand
    
    global notification handler work like normal notifications, except they don't have contact
    related macros set.
    sni committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    710c68e View commit details
    Browse the repository at this point in the history
  2. add log_global_notifications

    the global notification handler adds quite some noise to the log file, so
    make it possible to disable it.
    sni committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f384dd4 View commit details
    Browse the repository at this point in the history
  3. add external command to add log entries

    This generic LOG command can be used to add entries to the main logfile. It is
    useful ex.: from a global notification handler to log the actual notified contacts.
    sni committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d671fe1 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    6b08c6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60fcc27 View commit details
    Browse the repository at this point in the history
  3. code cleanup

    align constants with spaces
    sni committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    50b30e2 View commit details
    Browse the repository at this point in the history