You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jasonish I wouldn't reinvent the wheel. Users of a package like this are going to have very different needs. Instead, I would do what Home Assistant does (and many other apps), and create a notification plugin system.
This could be as simple as rolling the elements of any alert into a JSON, then creating a:
notification: /path/to/users/script.sh
Option in the evebox.yaml file. Whenever an alert comes in no matter what it is, that script is run with the JSON as parameter 1. The user can now do whatever they want. Maybe it's filter on regex (#45) and then send an email, or make a curl call to Pushover to notify all their devices. It's up to that Administrator.
Would be great if evebox had something like this:
https://github.com/etsy/411
Allows for custom searches to create notifications, emails etc.
I have tried the above and it seems to work well. Would just be nice if it was integrated in evebox
The text was updated successfully, but these errors were encountered: