search cancel

messagegtw webhook subject not displayed as an option in the hub queue dropdown

book

Article ID: 199955

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Why do I not see the SUBJECT webhook as an option under our hub when creating an attach queue?

I see documentation that talks about it but when I go in and look at ours, webhook is not an option in the dropdown that we can choose.

Cause

- documentation unclear

Environment

Release : 20.1+

Component : UIM - ALARM_ENRICHMENT

messagegtw v1.44

Resolution

As per the official help doc:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/messagegtw-message-gateway/messagegtw-message-gateway-ac-configuration.html

You can deploy the messagegtw on the Primary, Secondary (remote) or a robot.

Regarding the webhook queue:

The queue 'name' you create and Subject/Queue must be webhook.

messagegtw log extract:

Sep 21 17:41:57:505 [Timer-0, messagegtw] UimMessageListener.attachToQueue:88: Reinitializing UIM queue subscription
Sep 21 17:41:57:505 [Timer-0, messagegtw] UimMessageListener.attachToQueue:101: Subscribing for queue webhook
Sep 21 17:41:58:059 [Timer-0, messagegtw] (4) not found, Received status (4) on response (for sendRcv) for cmd = 'subscribe' name = 'null'
 at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:610)
 at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:561)
Sep 21 17:49:11:005 [main, messagegtw] stderr: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 
Sep 21 17:49:11:008 [main, messagegtw] stderr: SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]


>>>THIS IS THE POINT AT WHICH I CREATED THE WEBHOOK QUEUE...but note I dont have it 100% configured, just operating without config.

Sep 21 17:49:11:571 [main, messagegtw] UimMessageListener.readConfig:402: UIM Message Listener '/webhook' initializing
Sep 21 17:49:11:571 [main, messagegtw] UimMessageListener.readConfig:403: UIM Message Queue Name: webhook 
Sep 21 17:49:11:571 [main, messagegtw] UimMessageListener.readConfig:404: UIM Message Queue Bulk read size: 10 
Sep 21 17:49:11:571 [main, messagegtw] UimMessageListener.readConfig:405: Outgoing bulk serialization key: null 
Sep 21 17:49:11:571 [main, messagegtw] UimMessageListener.readConfig:406: UIM ThreadPool size: 20 
Sep 21 17:49:11:572 [main, messagegtw] PublisherFactory.createPublishers:32: Publisher class for outgoing communication: com.ca.uim.agileops.gateways.webhooks.JsonHttpPublisher 
Sep 21 17:49:11:572 [main, messagegtw] PublisherFactory.createPublishers:34: Looking for configured publishers in configuration section: listeners/webhook/publishers 
Sep 21 17:49:11:573 [main, messagegtw] UimMessageListener.initEndpoints:184: Listener /webhook has 0 configured endpoints 
Sep 21 17:49:11:617 [main, messagegtw] UimMessageListener.attachToQueue:88: Reinitializing UIM queue subscription 
Sep 21 17:49:11:619 [main, messagegtw] UimMessageListener.attachToQueue:101: Subscribing for queue webhook 
Sep 21 17:49:12:422 [main, messagegtw] ****************[ Starting ]**************** 
Sep 21 17:49:12:423 [main, messagegtw] 1.44 
Sep 21 17:49:12:423 [main, messagegtw] CA Technology 
Sep 21 17:49:12:424 [main, messagegtw] port=48036 
Sep 21 17:49:12:459 [main, messagegtw] Login to NimBUS is OK 
Sep 21 17:49:12:471 [main, messagegtw] found queue name probeDiscovery with matching subject probe_discovery and type attach 
Sep 21 17:49:12:471 [main, messagegtw] The probe messagegtw should be able to publish discovery results. An attach or post queue for the subject probe_discovery on the hub /lvxxxxxxxxx23_domain/lvxxxxxxxxx23_hub/lvxxxxxxxxx23/hub has been configured. If the hub is not the primary hub and an attach queue is being used, a get queue is also needed on an upstream hub to forward the data.

 

Attachments