# dnl\_watchdog

dnl\_watchdog is a module responsible for monitoring the hardware resources for DNL Class 4 Fusion.  It also provides interface for the UI to start and stop processes.&#x20;

To configure the dnl\_watchdog instance, you need to go to this file below:

```
cd /opt/denovo_v6/dnl_watchdog/conf
vi dnl_watchdog.conf
```

You must specify the correct IP for the database.  The dnl\_watchdog will publish status and events to DB so that UI can display them.&#x20;

```
pgsql_hostaddr  127.0.0.1  ← Ip address of the database server
pgsql_user  	postgres   ← database user

```

The dnl\_watchdog also works as a live daemon.  It can take incoming requests from Ui to start or stop any DNL Class4 Fusion processes.&#x20;

```
# Account password
# Default: none
#pgsql_pass 	password   ← If database is set to password only access then password here, and remove # from the front.

# Server binding address
# Default: 127.0.0.1
server_ip   	127.0.0.1 ← Ip address which is accessible to the api/ui server.

# Default: none - allow all connections
server_ip_whitelist 	127.0.0.1  ← Add server ip of the api /ui server to allow connections.

```


---

# 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://cookbook.denovolab.com/installation/distributed-architecture/switch-server/dnl_watchdog.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.
