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

aravinth_chakravarthyr_173918 avatar image
aravinth_chakravarthyr_173918 asked ·

What does the field "action" indicate on OpsCenter alerts?

HI ,

We have an alert field called ACTION or opscAlertAction which denotes a number . I guess for each alert such as node down , secondary index cardinality there is a number associated with it.

Can you please let us know what that filed ACTION indicates and if they are the numbers attached to each alert type such as node down , etc can you give us a document that contains the list of numbers and their associated alert event.

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 ·

@aravinth_chakravarthyr_173918 The action field for OpsCenter alerts is a numerical value used internally by OpsCenter. Details of the alert itself are included in the message field. For example:

{
  "action": 28,
  "api_source_ip": 192.168.1.12,
  "event_source": "OpsCenter",
  "level": 1,
  "level_str": "INFO",
  "message": "Restarting node 192.168.100.3",
  "source_node": 192.168.100.3,
  "success": null,
  "target_node": null,
  "time": "1334768517145625",
  "user": joe
}

There isn't a list that is publicly available since it is internal to OpsCenter. Cheers!

1 comment 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.

@aravinth_chakravarthyr_173918 I've reposted your "answer" as a new question because it's not an answer. Cheers!

0 Likes 0 · ·