Feature #23785: FreeNAS sending SNMP traps/notifications
Choice of alert systems not ideal for many users - add GSM and other options.
The current alert mechanisms (apart from email) are really geared to IT professionals and those purchasing commercial management/collaboration services of some kind.
When people use FreeNAS as a standalone home server or for a home lab or small office, most of the alert systems available (AWS, Slack...) just aren't appropriate choices, and several are also third party paid products.
Can we have a slightly wider list of options, catering to other FreeNAS/TrueNAS users?
- GSM notifications (FreeBSD supports GSM cards which can notify via SMS - useful if the alert is about connectivity or if internet links aren't available remotely)
- A feed URL on the internal web server - local devices (and also remote devices that are allowed in through the local firewall) could use this and small free tray feed clients are very easy to find for all platforms.
- Growl - has been popular in many quarters
- Some kind of standard push notifications suited to iPhone + Android clients
#12 Updated by Dru Lavigne about 1 year ago
- Status changed from Not Started to Closed
- Target version changed from Backlog to N/A
- Reason for Closing set to Not to be fixed
Stilez: we have decided to pass on this feature at this time in order to devote resources to other features. However, PRs are always welcome :-)
#13 Updated by Stilez y about 1 year ago
That's actually appreciated - a fair, helpful honest explanation, much better than just letting it linger.
A few quick questions on this, to help anyone (or myself) who takes this on:
- Are alert methods accessed via some kind of pluggable/standardised internal API, or standard dispatcher, which would make it easy to add new methods either to the base code or as plugins of some kind?
- If so, where would one look/start at? (i.e., quick tips of the key parts/func defs in the codebase)?
- And would it be better to add them as base code, or optional user-instalable plugins/modules of some kind?
If they aren't already instantiated/configured/called via some standard method/layer/dispatcher:
- How easy would it be to wrap existing alert calls and make them so (even if just via a wrapper/shim for now)?
- What would someone have to do, to do this?
- Is there any point submitting that as a request (i.e., moving existing alert method calls to a standardised call structure), since that'll greatly help with anyone doing future work on alerts? Or would that be likely to be closed/v. low priority too?
#14 Updated by Vladimir Vinogradenko about 1 year ago
You can just use any of this files as an example to create another one https://github.com/freenas/freenas/blob/freenas/11.2-stable/src/middlewared/middlewared/alert/service
You'll be able to use new alert service via API 2.0 after putting new file in that directory