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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...