Notifications (by email) and Utils #1123
-
|
If I understood correctly, some additional modules need to be enabled (https://openwisp.io/docs/stable/ansible/user/enabling-modules.html). However, the Notifications (I will like to configure them by email) and Utils modules, looks like are enabled by default (in fact web notifications are working fine for me). However I'm not able to find info about how I can configure the email notifications, neither I've in the menu a notifications (and utils) menu. Not sure if I'm missing something or something else need to be configured in the playbook or installed in addition to openwisp.openwisp2 itself? Tks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Optional but enabled by default:
Optional modules disabled by default:
I am not sure about what you mean with "I will like to configure them by email", I'll try to provide pointers and links to different parts of the docs to help shed light on this subject. Utils is not a module but rather a collection of common utilities for the server application (python/django), used by all the other server modules. The notifications module is a dependency of several modules and over time it's going to become a basic dependency almost like openwisp-users, as most server modules need to communicate with network admins when unexpected events happen. Refer to the architecture overview for more info: https://openwisp.io/docs/stable/general/architecture.html
There's an important clarification to make: notifications VS monitoring alerts. Notifications: provided by notification module (refer to notifications docs), there can be several notification types which are registered by different openwisp modules. The notifications module allows the openwisp modules to send notifications to admins about events happening in the network. Monitoring alerts: these are notification types that are registered by the monitoring module. Refer to the monitoring alerts page for more info. Maybe you're looking for changing the global alert settings (eg: increase the tolerance to avoid getting spammed with alerts?) or maybe you're looking for other settings, but I tried to cover most cases in the docs I linked. I hope this helps. Let me know if you still have doubts. |
Beta Was this translation helpful? Give feedback.
-
|
I used ansible, following https://openwisp.io/docs/stable/ansible/user/quickstart.html Ping alerts are working in the GUI. I can see the health status, including ping, cpu, memory, disk, etc. What I will like is to be able to generate an email when, for example, ping fails or health is not OK, etc. |
Beta Was this translation helpful? Give feedback.

Email notifications are enabled by default, but you need to make sure the email address is flagged as verified (in the user details page, under the email section):
Then, you need to ensure emails are being sent successfully, eg:
If you don't receive it you'll have to check the postfix logs in
/var/log/mail.log.Note: From version 25 (which should be released soonish), upon login we notify the user in the UI if the email address is not verified. Notifications also got various improvements like batching, improved UX for notification preferen…