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

alwayslearning3456_191423 avatar image
alwayslearning3456_191423 asked ·

How do I send OpsCenter alerts to ServiceNow to create incidents?

how to integrate the opscenter with servicenow and push the alerts from opscenter to service now to create incidents

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.

alwayslearning3456_191423 avatar image
alwayslearning3456_191423 answered ·

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"

}}

]}}






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.

@alwayslearning3456_191423, fantastic, good to know!

1 Like 1 · ·
bettina.swynnerton avatar image
bettina.swynnerton answered ·

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:

https://docs.servicenow.com/bundle/orlando-it-operations-management/page/product/event-management/task/t_EMSNMPTrapEvent.html

I hope this gets you onto the right track.

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.

Hi Bettina,

Thank you for response will post update if the solution works.

0 Likes 0 · ·
Erick Ramirez avatar image
Erick Ramirez answered ·

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.

HTTP POST

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.

SMTP

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.

SNMP traps

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!

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.

smadhavan avatar image
smadhavan answered ·

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

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.