Petri Trainee

  • from Helsinki, Finland
  • Member since Apr 13th 2017
  • Last Activity:
Posts
22
Points
160
Profile Hits
23
  • Petri

    Post
    To be clear, nothing in the release notes suggested that env support was completely removed/disabled from NotificationCommand. If anything, the release notes & associated documentation - while otherwise excellent - implied that the env support was still…
  • Petri

    Like (Post)
    This is unfortunate, but since there were changes involved with the notification scripts in 2.7.0, one should carefully review the required changes prior to upgrading.

    Users have started sending in fixes in PRs and documentation updates, which are…
  • Petri

    Post
    Solution: I copied over those (commented-out) NotificationCommand versions from github that DO set the env variable and replaced my NotificationCommand definitions in conf.d/commands.conf with them.

    The mail notifications are back.

    Please correct me…
  • Petri

    Post
    Wasn't the mail NotificationCommand using environment variables before? I see those versions commented out on github.

    OTOH, on my icinga installation, I see a commands.conf version that only sets vars, not env at all. I have never touched that. The…
  • Petri

    Post
    Uh the plot thickens. I now found following kinds of entries in the log:

    [2017-08-18 09:13:04 +0300] information/Notification: Completed sending 'Problem' notification 'lpa04_out#13_manager!http!mail-icingaadmin' for checkable
  • Petri

    Post
    Upon reviewing again what's in the 2.7.0 configuration change doc it seems my conf.d/commands.conf has not been changed is different from whats in github, and I still have my old conf.d/notifications.conf as well. EDIT: see below in thread - it seems…
  • Petri

    Thread
    On Ubuntu, I just upgraded to Icinga 2.7.0. I have customized a lot of the scripts and configurations so I told the package installer not to overwrite any of my config files.

    But now all (mail) notifications have categorically stopped and I am not even…