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

pramod.dba31_92912 avatar image
pramod.dba31_92912 asked Erick Ramirez answered

How do I add the DC to the email alert from OpsCenter?

Hi

How can I add Datacenter Information for the email alerts from opscenter.

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.

smadhavan avatar image
smadhavan answered smadhavan edited

@pramod.dba31_92912, datacenter is not available (yet) as an attribute/field to be included in the alert message. You should already have the node and source_node to derive the node from which the alert situation is triggered. You could refer to available fields at this OpsCenter documentation.

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.

Erick Ramirez avatar image
Erick Ramirez answered

It is not possible to add the DC to the email template used by OpsCenter.

The only available keys are:

  • node
  • cluster
  • datetime
  • level_str (DEBUG, INFO, WARN, ERROR, CRITICAL, ALERT)
  • message
  • target_node
  • event_source
  • success
  • api_source_ip
  • user
  • source_node

See Enabling SMTP email alerts for details. 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.