how to integrate the opscenter with servicenow and push the alerts from opscenter to service now to create incidents
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
how to integrate the opscenter with servicenow and push the alerts from opscenter to service now to create incidents
Hi All,
Thank you @bettina.swynnerton @Erick Ramirez @smadhavan very much for your help ...... i was able to integrate OpsCenter with ServiceNow, and the alerts are being converted into events.
I have used Post to URL and template for the content. Below is only configuration made to posturl.conf which worked
enabled=1
url=http://xx.xx.xx.xx/api/mid/em/jsonv2 # snow mid server url to post data
username=xxxxxx
password=xxxxx
post_type=template
template={ {
"records":[
{ {
"source":"OpsCenter",
"node":"{source_node}",
"type":"{type}",
"resource":"{cluster} - {source_node}",
"event_class":"OpsCenter@hostname",
"description": "issue - {cluster}. {message}",
"additional_info":"{message}",
"severity":"Xxxx"
}}
]}}
Hello @alwayslearning3456_191423, there are some great directions & approaches provided by both Bettina & Erik :thumbsup: already but, I wanted to point to a ServiceNow community discussion along this topic that I feel will help you in here
We don't have specific documentation for integrating with ServiceNow.
However, there are three different ways that OpsCenter sends out alerts that you can integrate with any system that has compatible APIs.
OpsCenter can post alert data to a URL, for example a system with REST API that is capable of processing HTTP POST. OpsCenter supports JSON, template and URL-encoded form content.
For details, see Enabling alerts posted to a URL.
OpsCenter can send alerts to a robot email address that automatically generates incident tickets if your system supports it.
For details, see Enabling SMTP email alerts.
Bettina already discussed this feature in her response so I won't elaborate on it.
If you have any follow up questions on any of the above, please log a ticket with DataStax Support so one of our engineers can assist you directly. Cheers!
Hi @alwayslearning3456_191423,
OpsCenter supports SNMP traps, not full SNMP agent, for integration with an agentless monitoring solution.
You can read more about it here:
https://docs.datastax.com/en/opscenter/6.7/opsc/configure/SNMPoverview.html
I have not used ServiceNow before, but I searched for SNMP trap collection in their docs. See if you can follow the guide here:
I hope this gets you onto the right track.
Hi Bettina,
Thank you for response will post update if the solution works.
7 People are following this question.
Datastax OpsCenter, Too Many Open Files Error after enabling SSL and authentication
What is the procedure to move the "OpsCenter" keyspace to a separate storage cluster?
Why can't I restore snapshots manually copied from another cluster with OpsCenter?
Unable to access web UI of OpsCenter running on GCP from a browser
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2021 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use