Next: , Previous: , Up: Configuration file  


Configuration notification options

That section controls what notifications are enabled and how must be sent through the email. Notifications are sent for successful tossing of file, freq or exec packet.

notify: {
  file: {
    from: nncp@localhost
    to: user+file@example.com
  }
  freq: {
    from: nncp@localhost
    to: user+freq@example.com
  }
  exec: {
    bob.somehandle: {
      from: nncp+bob@localhost
      to: user+somehandle@example.com
    }
    *.anotherhandle: {
      from: nncp@localhost
      to: user+anotherhandle@example.com
    }
  }
}

Corresponding from and to fields will be substituted in notification email message. neigh.self.exec.sendmail will be used as a local mailer (command called for sending email message).

You can omit either of those two from/to sections to omit corresponding notifications, or the whole section at once.

notify.exec section is a mapping of exec handles and corresponding from/to sections. Each handle has either NODE.HANDLE or *.HANDLE syntax. You can override notification options for some node with the first type of name. Handle command’s output will be included in notification messages.