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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...