All Apps and Add-ons

HipChat Room Notification alerts: how should the alert to be sent to hipchat room?

rchittip
Path Finder

Hi,
I have installed HipChat Room Notification app in my splunk and configured a search alert to a HipChat room. However, my alert is not reaching destination. It throws me the below error in my internal logs. Raised a case with Splunk, seems like they don't support this. Any help.

04-23-2018 17:10:02.344 +0000 WARN sendmodalert - action=hipchat - Alert action script returned error code=2
04-23-2018 17:10:02.344 +0000 INFO sendmodalert - action=hipchat - Alert action script completed in duration=68 ms with exit code=2
04-23-2018 17:10:02.341 +0000 FATAL sendmodalert - action=hipchat STDERR - Failed trying to send room notification
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - }
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - }
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "type": "Unauthorized"
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "message": "Invalid OAuth session",
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "code": 401,
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "error": {
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - Server response: {
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - Error sending message: HTTP Error 401: Unauthorized (['HTTPErrorsuper_init', 'class', 'delattr', 'dict', 'doc', 'format', 'getattribute', 'getitem', 'getslice', 'hash', 'init', 'iter', 'module', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'setstate', 'sizeof', 'str', 'subclasshook', 'unicode', 'weakref_', 'args', 'close', 'code', 'errno', 'filename', 'fileno', 'fp', 'getcode', 'geturl', 'hdrs', 'headers', 'info', 'message', 'msg', 'next', 'read', 'readline', 'readlines', 'reason', 'strerror', 'url'])
04-23-2018 17:10:02.307 +0000 INFO sendmodalert - action=hipchat STDERR - Sending message to hipchat room=1_splunk_alert_testing@conf.btf.hipchat.com with format=text

Thanks,
Ramu Chittiprolu

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...