Comments (9)
Hi Bulat,
Thank you for reaching out!
Could you please format your config file? YAML files demand whitespaces, but it's not properly formatted. It will facilitate understanding of config and speed up the solution of your issue.
from moira.
@titusjaka Hi Denis, thank you. I've fixed formatting.
from moira.
I tried to reproduce this issue but didn't succeed. I assume, it's your config is the reason of problem.
Please, try to change it this way and tell me, if it works for you:
senders:
- type: mail
mail_from: <your-gmail-login>@gmail.com
smtp_host: smtp.gmail.com
smtp_port: 587
insecure_tls: false
smtp_user: "<your-gmail-login>@gmail.com"
smtp_pass: "<your-super-secure-password>"
Most likely, you will not succeed and Google will return you an error like this:
2018-05-11 15:07:50.463 notifier CRITICAL Can not register sender mail: Don't initialize sender [mail], err [534 5.7.14 <bla-bla-bla> Please log in via your web browser and
5.7.14 then try again.
5.7.14 Learn more at
5.7.14 https://support.google.com/mail/answer/78754 m18-v6sm578567lfj.34 - gsmtp]
In this way, please go to this page: less secure apps and toggle the switch.
--
Please, let me know if this works for you :)
from moira.
Tried your config, but no success. Still same message:
WARNING Can't send message after 6 try: Unknown contact type 'mail' [package of 1 notifications to [email protected]]. Retry again after 1 min.
What else can be the reason of this problem?
from moira.
Any other log messages out there? Could you please attach log file from notifier startup to error?
from moira.
Thank you so much @titusjaka. I've managed to configure notifier, I was using wrong config.
from moira.
Happy to know, you solved your problem :)
You also wrote that message: #42 (comment) is it related to this issue?
from moira.
@usbulat the other question is how did you fix your issue? Would you mind me asking you to describe the solution?
It would help us to improve documentation :)
from moira.
Yes, comment in https://github.com/moira-alert/moira/issues/42#issuecomment-388018750 was related to my problem. It is all ok in documentation, just my automation bug.
from moira.
Related Issues (20)
- Add the ability to send notifications to telegram topics HOT 10
- Mapping user groups to teams
- Support setting custom aliases for Notification channels
- Replay previous trigger notification on new notification in Telegram
- Add running unit tests on Redis Cluster too
- Add cli support to clean up useless trigger events HOT 1
- После обновления на 2.7.1 в вебе перестало отображаться последнее значение HOT 2
- Performance degrade after update to 2.7.1
- Error when working as an anonymous user in versions 2.6.2, 2.7.1 HOT 1
- Поддержка метрик из Zabbix
- Refactor Sender interface, split SendEvents method HOT 1
- Refactor Senders initialization
- Replace deprecated method of prometheus
- Add support of multiple senders with type: mail HOT 3
- Dont work regex groups in target HOT 1
- Notify users when Moira-notifier is off
- Test issue HOT 1
- Error update DB 2.7 -> 2.8 HOT 3
- checker memory leak HOT 15
- Moira Web\API change Timezone for Trigger
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moira.