# Add a RabbitMQ Consumer

1\.      Go to **Listener > RabbitMQ Consumer** then click the **Add (+)** button located in the upper right corner.&#x20;

<figure><img src="/files/9bACZD5TJ5LaxBpFVkDt" alt=""><figcaption></figcaption></figure>

2\.      You will get the fields as follows.

<div align="left"><figure><img src="/files/teLmbY0aKAGjnVDfQwlt" alt="" width="375"><figcaption></figcaption></figure></div>

*Refer to the following table to understand the fields in the above screen.*&#x20;

<table><thead><tr><th width="199">Fields</th><th>Description</th></tr></thead><tbody><tr><td>Name </td><td><p>This field only appears when enabled Advanced Settings is active.</p><p>A label or name that is assigned to a listener. </p></td></tr><tr><td>Trigger</td><td><p>This field only appears when enabled Advanced Settings is active.</p><p>You may want to assign the servers to a custom Trigger if target server is in an Isolated network or if you want to setup a scalable infrastructure. You will only see available Triggers in this field.</p></td></tr><tr><td>IP Address </td><td>The numerical label assigned to each device connected to a computer network is called an "IP address." An IP address is typically represented in the format XXX.XXX.XXX.XX, where each "XXX" is a number ranging from 0 to 255, and the "XX" is a similar two-digit number. IP addresses are used to uniquely identify and locate devices on a network. </td></tr><tr><td>Port Number </td><td> A specific endpoint for data exchange between two devices or applications within a network. </td></tr><tr><td>Credential Type</td><td><p>Select a proper credential type and credential.</p><p>·       <strong>None</strong></p><p>·       <strong>Basic:</strong> Selecting this option provides you with another Field called <strong>Credential</strong> from where you can select an appropriate option.</p></td></tr><tr><td>Username</td><td>Username for login redis </td></tr><tr><td>Auth</td><td><p>To choose proper Auth: </p><p>·       <strong>Amq Plain:</strong> Internal protocol name used by RabbitMQ for the same plain text authentication mechanism</p><p>·       <strong>Plain</strong>: This authentication mechanism allows users to authenticate using plain text username-password pairs over insecure channels</p></td></tr><tr><td>Exchange Type</td><td><p>To choose a proper exchange type:</p><p>·       <strong>Direct</strong>: Routes messages based on a direct match between the routing key and the binding key.</p><p>·       <strong>Fanout</strong>: Broadcasts messages to all queues bound to it, disregarding routing keys.</p><p>·       <strong>Topic</strong>: Routes messages to queues based on wildcard matches between the routing key and the binding key pattern.</p><p>·       <strong>Custom</strong></p></td></tr><tr><td>Exchange Name</td><td>Name of exchange</td></tr><tr><td>Queue Name</td><td>Name of queue</td></tr><tr><td>Queue Type</td><td>Type of queue. Example; classic, lazy.</td></tr><tr><td>Log Interval</td><td><p>The interval for fetching data.</p><p>·       Realtime</p><p>·       1 Minute</p><p>·       3 Minutes</p><p>·       5 Minutes</p></td></tr><tr><td>Status </td><td><p>To choose a server status such as: </p><p>·       <strong>Active:</strong> Enables monitoring for server</p><p>·       <strong>Maintenance:</strong> Enables maintenance mode for server and disables all notifications</p><p>·       <strong>Reconnect:</strong> Restarts all collectors for server</p><p>·       <strong>Disabled:</strong> Disables monitoring for server</p></td></tr><tr><td>Debug </td><td><p>To choose debug such as:</p><p>·       <strong>Off</strong></p><p>·       <strong>On:</strong> Collects debug logs for Inventory and Monitoring Collector</p></td></tr></tbody></table>

3\.      After entering all the required info, click the button **SUBMIT**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.virtualmetric.com/settings/listeners/listener-operations/add-a-new-listener/add-a-rabbitmq-consumer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
