Integrating with Cloudera to get service level notification & alerts

Not Yet Reviewed

Hi Team, 

We have integrated (x)matters in node level so if any nodes go down in cloudera environment we will get calls and notification. But I am not able to figure out how to integrate it with cloudera, so that we can get notification or alerts when any service goes down in cloudera cluster like hive / hue/ Yarn

Thanks in Advance

Anurag

0

Comments

4 comments
Date Votes

Please sign in to leave a comment.

  • Hi Anurag!

        Interesting. We don't have a pre-built integration to Cloudera, but it looks like it wouldn't be too hard to put together. It looks like for these kinds of integrations, an Alert Script is used:

    https://www.cloudera.com/documentation/enterprise/5-5-x/topics/cm_ag_alert_script.html

    I think the best thing to do would be a simple bash (powershell) script that does a curl command directly into an inbound integration. Once there, you can use javascript to parse the json and create the event. 

    This will get you started:

    https://help.xmatters.com/OnDemand/xmodwelcome/integrationbuilder/create-inbound-updates.htm

    Select Transform content to create a new xMatters event and the sample script has a lot of what you need. 

    If you run into problems, let us know and we can sort them out. 

    Happy Monday!
        --- Travis

    0
  • Thanks A lot Travis , 

    I will try to implement this :) 

    0
  • Sure thing! If you get something shareable, I'd love to get it up on our "R&D" and Field integrations page, xM Labs on github:

    https://github.com/xmatters/xMatters-Labs

    This way if anyone else wants to integrate with Cloudera, we can point them there. I'd be happy to help document and sanitize as needed. 

    Let us know if you run into any issues.

    Happy Tuesday!

    0
  • I will definitely share the findings and our challenges. Few of our teammates suggested going with SNMP as it will be easy. We are having some difficulties with that as well so doing R&D on that. 

    Let me know if anyone has done that before 

    Thanks :) 

    0

Didn't find what you were looking for?

New post