Giter Site home page Giter Site logo

Comments (3)

 avatar commented on May 21, 2024

Hi Brian,

You've got it right: the OC daemon isn't intended to send the emails (or even alerts) directly. It logs events to the Correlator which condenses multiple events into an single alert that it can send off. The default OC config file includes a directive log to the Correlator, which will be able to send off an email.

https://github.com/thinkst/opencanary/blob/master/opencanary/data/settings.json#L57

from opencanary.

7MinSec avatar 7MinSec commented on May 21, 2024

Ok thanks much, I can make email alerts work pretty well with inotify-tools so I think I'm good to go, just wanted to check on the "right" way to do this. Have a great day.

from opencanary.

kjacobsen avatar kjacobsen commented on May 21, 2024

Hi,

Just looking at OpenCanary, sorry to comment on a closed issue, but email alerts do seem to work from the OC daemon as @braimee was attempting to do.

"SMTP": {
                    "class": "logging.handlers.SMTPHandler",
                    "mailhost": ["smtp.sendgrid.net", 25],
                    "fromaddr": "[email protected]",
                    "toaddrs" : ["[email protected]"],
                    "subject" : "OpenCanary Alert",
                    "credentials" : ["username","password"]
               }

from opencanary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.