Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

stephen9834 avatar image
stephen9834 asked ·

How do I configure OpsCenter to use SMTP without authentication?

Hi,

I am Enabling smtp email alerts in opscenter to receive mail alerts.
We have Gmail smtp relay which don't have any authentication as it works based on ip address authentication. how can we configure such smtp relay in opscenter configuration ?
I tried configuring by adding configuration in config_location/event-plugins/email.conf .

But i am not getting any alert on my mail id.
From logs i got below error :

2020-12-02 10:29:00,995 [DEV_Cluster] ERROR: 502 Server does not support Client Authentication schemes [CRAM-MD5, LOGIN, PLAIN]
<<< 250-ENHANCEDSTATUSCODES
<<< 250-PIPELINING
<<< 250-CHUNKING
<<< 250 SMTPUTF8
 Error sending event to stephenward@stephen.com via email (MainThread)

seems like opscenter tries to authenticate but smtp relay dont support same. Not able to find any document about this information Could you please me to solve the same.

opscenter
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

The error you posted isn't generated by OpsCenter.

This error message is returned by your mail server:

ERROR: 502 Server does not support Client Authentication schemes [CRAM-MD5, LOGIN, PLAIN]

OpsCenter doesn't do any processing when sending alerts out via SMTP. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.