# Zabbix

# Configure Zabbix Docker

### Configure Zabbix Server to point to zabbix-agent container

- Navigate to **Monitoring --&gt; Hosts --&gt;Zabbix Server --&gt; Configuration** (**Figure 1**)

**Figure 1**

<div data-src="/core/preview?fileId=391528&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=391528" data-v-2ac49a8a="" id="bkmrk-"><div data-v-2ac49a8a="">[![607-370-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/607-370-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/607-370-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Clear **127.0.0.1** from IP address field
- Enter **zabbix-agent** in the **DNS name** field
- Set **Connect to** field to **DNS**
- Click the **Update** button (**Figure 2**)

**Figure 2**

<div data-src="/core/preview?fileId=391576&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=391576" data-v-2ac49a8a="" id="bkmrk--0"><div data-v-2ac49a8a="">[![961-558-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/961-558-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/961-558-max.png)  
<div data-v-2ac49a8a=""></div></div></div>### Configure Zabbix Server Timezone

Edit /opt/zabbix-docker/.env\_web uncomment the following line:

```
#PHP_TZ=Europe/Riga


```

Navigate to [http://php.net/manual/en/timezones.php](http://php.net/manual/en/timezones.php "http://php.net/manual/en/timezones.php") locate your local timezone and set PHP\_TZ to it, for example for American Eastern you would set it to the following:

```
PHP_TZ=America/New_York


```

### Configure Zabbix Server Server Name

Edit /opt/zabbix-docker/.env\_web and set the following line:

```
ZBX_SERVER_NAME=Composed installation


```

to a server name that you like (Example: ZBX\_\*SERVER\_\*NAME=Widgets, Inc)

### Configure Zabbix Auto Discover

- Navigate to **Configuration --&gt; Actions --&gt;Actions Drop-down --&gt; Discovery actions** (**Figure 3**)

**Figure 3**

<div data-src="/core/preview?fileId=392306&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=392306" data-v-2ac49a8a="" id="bkmrk--1"><div data-v-2ac49a8a="">[![405-160-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/405-160-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/405-160-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Select **Auto discovery. Linux servers** and click **Enable** (**Figure 4**) to enable Linux hosts auto discovery

**Figure 4**

<div data-src="/core/preview?fileId=392326&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=392326" data-v-2ac49a8a="" id="bkmrk--2"><div data-v-2ac49a8a="">[![548-364-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/548-364-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/548-364-max.png)  
<div data-v-2ac49a8a=""></div></div></div>### Enable Zabbix Notifications

- Navigate to **Configuration --&gt; Actions --&gt;Actions Drop-down --&gt; Trigger actions** (**Figure 5**)

**Figure 5**

<div data-src="/core/preview?fileId=392400&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=392400" data-v-2ac49a8a="" id="bkmrk--3"><div data-v-2ac49a8a="">[![447-175-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/447-175-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/447-175-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Ensure you have already configured notifications under **Administration --&gt; Media types**.
- Click the **Disabled** link under the **Status** column in the R**eport problems to Zabbix administrators** item in order to change the status to **Enabled** (**Figure 6**).

**Figure 6**

<div data-src="/core/preview?fileId=392439&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=392439" data-v-2ac49a8a="" id="bkmrk--4"><div data-v-2ac49a8a="">[![1024-230.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-230.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-230.png)  
<div data-v-2ac49a8a=""></div></div></div>### Enable Zabbix FreeNAS Monitoring

- On FreeNAS server enable **SNMP** by going to **Services --&gt; SNMP** and set it to **Running** and **Start Automatically** and enable **SSH** by going to **Services --&gt; SSH** and set it to **Running** and **Start Automatically** (**Figure 7**).

**Figure 7**

<div data-src="/core/preview?fileId=393000&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393000" data-v-2ac49a8a="" id="bkmrk--5"><div data-v-2ac49a8a="">[![1024-532.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-532.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-532.png)  
<div data-v-2ac49a8a=""></div></div></div>- On FreeNAS server, under **Services**, click on **SSH --&gt; Actions** and ensure **Log in as root with password** and **Allow password authentication** checkboxes are checked and click the **Save** button (**Figure 8**).

**Figure 8**

<div data-src="/core/preview?fileId=393028&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393028" data-v-2ac49a8a="" id="bkmrk--6"><div data-v-2ac49a8a="">[![598-365-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/598-365-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/598-365-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- On FreeNAS server, under **Services**, click on **SNMP --&gt; Actions** and note the **Community** string (default is **public**) or change as required and optionally set the **Log Level** to **Info** if you wish to get more information out of FreeNAS and click the **Save** button (**Figure 9**).

**Figure 9**

<div data-src="/core/preview?fileId=393050&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393050" data-v-2ac49a8a="" id="bkmrk--7"><div data-v-2ac49a8a="">[![680-527-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/680-527-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/680-527-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Using WinSCP or scp download the following file from the FreeNAS server:

```
/usr/local/share/snmp/mibs/FREENAS-MIB.txt


```

- Upload the **FREENAS-MIB.txt** file to the Zabbix Docker server in the following directory:

```
/opt/zabbix-docker/zbx_env/var/lib/zabbix/mibs


```

- Restart the Zabbix docker stack:

```
cd /opt/zabbix-docker && docker-compose down
cd /opt/zabbix-docker && docker-compose up -d


```

- On the Zabbix server navigate to **Administration --&gt; General --&gt; GUI drop-down --&gt; Macros** (**Figure 10**)

**Figure 10**

<div data-src="/core/preview?fileId=393104&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393104" data-v-2ac49a8a="" id="bkmrk--8"><div data-v-2ac49a8a="">[![636-384-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/636-384-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/636-384-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Ensure the **Value** field of the **{$SNMP\_COMMUNITY}** Macro is set to **public** or whatever value you set the FreeNAS Community string from above and click the **Update** button (**Figure 11**).

**Figure 11**

<div data-src="/core/preview?fileId=393124&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393124" data-v-2ac49a8a="" id="bkmrk--9"><div data-v-2ac49a8a="">[![1024-190.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-190.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-190.png)  
<div data-v-2ac49a8a=""></div></div></div>- Using a web browser download the following templates from Zabbix Share:

###### SNMP Intefaces discovery

[https://share.zabbix.com/official-templates/snmp-devices/snmp-interfaces-discovery](https://share.zabbix.com/official-templates/snmp-devices/snmp-interfaces-discovery "https://share.zabbix.com/official-templates/snmp-devices/snmp-interfaces-discovery")

###### SNMP Interfaces discovery

[https://share.zabbix.com/official-templates/snmp-devices/snmp-processors-discovery](https://share.zabbix.com/official-templates/snmp-devices/snmp-processors-discovery "https://share.zabbix.com/official-templates/snmp-devices/snmp-processors-discovery")

###### SNMP Generic

[https://share.zabbix.com/official-templates/snmp-devices/snmp-generic](https://share.zabbix.com/official-templates/snmp-devices/snmp-generic "https://share.zabbix.com/official-templates/snmp-devices/snmp-generic")

###### FreeNAS 11 SNMP

[https://share.zabbix.com/storage-devices/freenas/freenas-11](https://share.zabbix.com/storage-devices/freenas/freenas-11 "https://share.zabbix.com/storage-devices/freenas/freenas-11")

- On the Zabbix server navigate to **Configuration --&gt; Templates --&gt; Import** and import each of the templates you downloaded above ensuring the **Rules** are set like below before each import (**Figure 12**):

**Figure 12**

<div data-src="/core/preview?fileId=393179&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393179" data-v-2ac49a8a="" id="bkmrk--10"><div data-v-2ac49a8a="">[![736-582-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/736-582-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/736-582-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- On the Zabbix server navigate to **Configuration --&gt; Hosts --&gt; Create Host**
- In the **Host** tab, fill out the **Host name**, **groups** and **interfaces** where 1**92.168.xxx.xxx** is the IP of your FreeNAS host (**Figure 13**)

**Figure 13**

<div data-src="/core/preview?fileId=393215&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393215" data-v-2ac49a8a="" id="bkmrk--11"><div data-v-2ac49a8a="">[![982-698-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/982-698-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/982-698-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- In the **Templates** tab, ensure you link the **Template Module ICMP Ping** and the **Template SNMP FREENAS 11** templates and click the **Update** button (**Figure 14**)

**Figure 14**

<div data-src="/core/preview?fileId=393237&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393237" data-v-2ac49a8a="" id="bkmrk--12"><div data-v-2ac49a8a="">[![773-325-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/773-325-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/773-325-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Wait 10-15 minutes before Zabbix starts pulling data from the FreeNAS server. If successful, **Monitoring --&gt; Hosts** should show the FreeNAS server listed with **SNMP** turned green (**Figure 15**)

**Figure 15**

<div data-src="/core/preview?fileId=393259&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393259" data-v-2ac49a8a="" id="bkmrk--13"><div data-v-2ac49a8a="">[![1024-28.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-28.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-28.png)  
<div data-v-2ac49a8a=""></div></div></div>### Enable Zabbix VMware Monitoring

Original Guide URL:

[https://bestmonitoringtools.com/vmware-monitoring-with-zabbix-esxi-vcenter-vm-vsphere/](https://bestmonitoringtools.com/vmware-monitoring-with-zabbix-esxi-vcenter-vm-vsphere/ "https://bestmonitoringtools.com/vmware-monitoring-with-zabbix-esxi-vcenter-vm-vsphere/")

- Enable (Remove the # from front of each line) on the following entries in **/opt/zabbix-docker/.env\_srv** and save the file:

```
ZBX_STARTVMWARECOLLECTORS=3
ZBX_VMWAREFREQUENCY=60
ZBX_VMWAREPERFFREQUENCY=60
ZBX_VMWARECACHESIZE=128M
ZBX_VMWARETIMEOUT=120


```

Restart the Zabbix docker stack:

```
cd /opt/zabbix-docker && docker-compose down
cd /opt/zabbix-docker && docker-compose up -d


```

- Navigate to **Configuration --&gt; Hosts --&gt; Create Host**
- In the **Host** tab, fill out the **Host name** of your Vcenter/VMware server, and select **groups**. Do not fill out the IP address field, leave it to default **127.0.0.1** (**Figure 16**)

**Figure 16**

<div data-src="/core/preview?fileId=393379&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393379" data-v-2ac49a8a="" id="bkmrk--14"><div data-v-2ac49a8a="">[![981-543-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/981-543-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/981-543-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Click the **Templates** tab and select **Template VM VMware** and **Template Module ICMP Ping** templates (**Figure 17**)

**Figure 17**

<div data-src="/core/preview?fileId=393394&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393394" data-v-2ac49a8a="" id="bkmrk--15"><div data-v-2ac49a8a="">[![782-265-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/782-265-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/782-265-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- Click the **Macros** tab and then click **Inherited and host macro**s button.
- Click the **Change** link next to each of the following fields and fill out the value of each field with the Password, URL (https://vcenter/sdk) and Username of your Vcenter/VMware server and click the **Add** button (**Figure 18**):

```
{$VMWARE.PASSWORD}
{$VMWARE.URL}
{$VMWARE.USERNAME}


```

**Figure 18**

<div data-src="/core/preview?fileId=393403&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=393403" data-v-2ac49a8a="" id="bkmrk--16"><div data-v-2ac49a8a="">[![881-643-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/881-643-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/881-643-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- VMware/Vcenter discovery can take hours to complete.
- Navigate to **Configuration --&gt; Templates.** In the **Name** field enter **Template Vm Vmware** and click the **Apply** button to locate the **Template Vm Vmware** template (**Figure 19**):

**Figure 19**

<div data-src="/core/preview?fileId=397860&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=397860" data-v-2ac49a8a="" id="bkmrk--17"><div data-v-2ac49a8a="">[![1024-472.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-472.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-472.png)  
<div data-v-2ac49a8a=""></div></div></div>- On the **Template Vm Vmware** entry click on the **Discovery** link (**Figure 20**):

**Figure 20**

<div data-src="/core/preview?fileId=397878&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=397878" data-v-2ac49a8a="" id="bkmrk--18"><div data-v-2ac49a8a="">[![963-84-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/963-84-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/963-84-max.png)  
<div data-v-2ac49a8a=""></div></div></div>- On the **Discovery rules** screen, click on the **Enabled** link on the **Discover Vmware VMs** entry to change the status to **Disabled** (**Figure 21**):

**Figure 21**

<div data-src="/core/preview?fileId=397900&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=397900" data-v-2ac49a8a="" id="bkmrk--19"><div data-v-2ac49a8a="">[![1024-435.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-435.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-435.png)  
<div data-v-2ac49a8a=""></div></div></div>- Next, click on the **Trigger prototypes** on the **Discover VMware datastores** entry (**Figure 22**):

**Figure 22**

<div data-src="/core/preview?fileId=397928&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=397928" data-v-2ac49a8a="" id="bkmrk--20"><div data-v-2ac49a8a="">[![1024-504.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-504.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-504.png)  
<div data-v-2ac49a8a=""></div></div></div>- On the **Trigger prototypes** screen, click the **Create trigger prototype** button (**Figure 23**):

**Figure 23**

<div data-src="/core/preview?fileId=397945&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=397945" data-v-2ac49a8a="" id="bkmrk--21"><div data-v-2ac49a8a="">[![1024-191.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/1024-191.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/1024-191.png)  
<div data-v-2ac49a8a=""></div></div></div>- On the **Trigger prototype** screen, in the **Name** field enter the following:

```
Free space is less than 5% on datastore "{#DATASTORE}"


```

- In the **Severity** field set it to **High**
- In the **Expression** field enter the following:

```
{Template VM VMware:vmware.datastore.size[{$VMWARE.URL},{#DATASTORE},pfree].max(15m)}<5


```

- Click the **Add** button (**Figure 24**):

**Figure 24**

<div data-src="/core/preview?fileId=397980&x=1024&y=1024&a=true#mimetype=image%2Fpng&hasPreview=true&fileId=397980" data-v-2ac49a8a="" id="bkmrk--22"><div data-v-2ac49a8a="">[![783-690-max.png](https://docs.deeztek.com/uploads/images/gallery/2020-11/scaled-1680-/783-690-max.png)](https://docs.deeztek.com/uploads/images/gallery/2020-11/783-690-max.png)  
<div data-v-2ac49a8a=""></div></div></div>

# Install Zabbix Agent Ubuntu

### Ubuntu 22.04

```
 wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-2+ubuntu22.04_all.deb
```

```
dpkg -i zabbix-release_5.0-2+ubuntu22.04_all.deb
```

```
apt-get update
```

```
apt-get install zabbix-agent
```

### Ubuntu 20.04

```
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1%2Bfocal_all.deb
```

```
dpkg -i zabbix-release_5.0-1+focal_all.deb
```

```
apt-get update
```

```
apt-get install zabbix-agent
```

### Ubuntu 18.04

```
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1%2Bbionic_all.deb
```

```
dpkg -i zabbix-release_5.0-1+bionic_all.deb
```

```
sudo apt update
```

```
apt-get install zabbix-agent
```

### Configure Zabbix Agent for Passive Checks

Edit the zabbix configuration file:

```
sudo vi /etc/zabbix/zabbix_agentd.conf
```

Set the following parameter according to your environment:

```
Server=192.168.100.51
```

save the file and close

Restart and enable zabbix agent service

```
sudo systemctl restart zabbix-agent
```

```
sudo systemctl enable zabbix-agent
```

Start/stop/check status of zabbix agent service:

```
sudo systemctl start zabbix-agent
sudo systemctl stop zabbix-agent 
sudo systemctl status zabbix-agent
```

### Configure Zabbix Agent for Active Checks

Edit the zabbix configuration file:

```
sudo vi /etc/zabbix/zabbix_agentd.conf
```

Set the following parameters according to your environment:

```
ServerActive=192.168.100.51
Hostname=zabbix.fosstechnix.local
```

save the file and close

Restart and enable zabbix agent service

```
sudo systemctl restart zabbix-agent
```

```
sudo systemctl enable zabbix-agent
```

Start/stop/check status of zabbix agent service:

```
sudo systemctl start zabbix-agent
sudo systemctl stop zabbix-agent 
sudo systemctl status zabbix-agent
```

### Configure TLS with PSK

Edit the zabbix configuration file:

```
sudo nano /etc/zabbix/zabbix_agentd.conf
```

Set the following parameters where **unique\_psk\_identity** is some unique value for the agent you are configuring. I can be anything as long as it's unique for this host:

```
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=unique_psk_identity
TLSPSKFile=/etc/zabbix/zabbix_agentd.psk
```

save the file and close

Run the following command to generate a psk file using the path and name specified in the **TLSPSKFile** parameter from above:

```
openssl rand -hex 32 | sudo tee /etc/zabbix/zabbix_agentd.psk
```

Note the generated random string as you will need it to configure the agent on the Zabbix server under the **Configuration --&gt; Hosts --&gt; Host --&gt;Encryption** tab.

Start/stop/check status of zabbix agent service:

```
sudo systemctl start zabbix-agent
sudo systemctl stop zabbix-agent 
sudo systemctl status zabbix-agent
```

# Zammad Monitoring with Zabbix

### Zammad Configuration

Click on **Settings --&gt; Users --&gt; New User** and create a new user for Zabbix by filling out **FIRSTNAME**, **LASTNAME**, **EMAIL, PASSWORD** and setting the **PERMISSIONS** to **Agent** (**Figure 1**):

**Figure 1**

[![image-1609102694405.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609102694405.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609102694405.png)

Once the user is created, locate the user, click the 3 dots under **ACTIONS** column and click on **View from user's perspective** option from the corresponding menu (**Figure 2**):

**Figure 2**

[![image-1609102424908.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609102424908.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609102424908.png)

Click the user's initials on the bottom left of the screen and click on the **Profile** option from the corresponding menu (**Figure 3**):

**Figure 3**

[![image-1609102893415.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609102893415.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609102893415.png)

Under the Profile section, click **Token Access --&gt; Create** (**Figure 4**):

**Figure 4**

[![image-1609103031468.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609103031468.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609103031468.png)

In the **Add a Personal Access Token** window, in the name field enter **Zabbix**, check **AGENT** under TICKET and click the **Create** button (**Figure 5**):

**Figure 5**

[![image-1609103192887.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609103192887.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609103192887.png)

On the resulting **Your New Personal Access Token** window, ensure you copy the token and click the **OK, I've copied my token** button (**Figure 6**):

**Figure 6**

[![image-1609103319054.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609103319054.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609103319054.png)

In the **Token Access** page, under the **Personal Access Tokens** you should see the following entry (**Figure 7**):

**Figure 7**

[![image-1609103581508.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609103581508.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609103581508.png)

### Zabbix Configuration

Click on **Administration --&gt; General --&gt;GUI --&gt; Macros** (**Figure 8**):

**Figure 8**

[![image-1609103782860.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609103782860.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609103782860.png)

Under the **Macros** page, click on the **Add** link to add a new Macro (**Figure 9**):

**Figure 9**

[![image-1609153549502.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609153549502.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609153549502.png)

In the new Macro entry enter **{$ZABBIX.URL}** in the **Macro** field, enter the URL to the Zabbix serverand in the **Value** field and click the **Update** button below (**Figure 10**):

**Figure 10**

[![image-1609153726997.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609153726997.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609153726997.png)

Click on **Administration --&gt; Media Types --&gt; Zammad**. In the **zammad\_access\_token** field enter the Personal Access Token you created earlier the Zammad, in the **zammad\_url** field enter the the URL to your Zammad installation, in the **zammad\_customer** field enter the e-mail address of the Zammad user you created earlier and click the **Update** button (**Figure 11**):

**Figure 11**

[![image-1609156308393.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609156308393.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609156308393.png)

Click on **Administration --&gt; Users --&gt; Zabbix-User** (where Zabbix-User is a user already created in Zabbix). Once in the User page, click on **Media** and then click the **Add** button (**Figure 12**):

**Figure 12**

[![image-1609156851653.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609156851653.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609156851653.png)

In the **Media** window, in the **Type** field, select **Zammad**, in the **Send to** field enter **AnyText** (this field is not used but it's required to be filled in) and click the **Add** button (**Figure 13**):

**Figure 13**

[![image-1609156997108.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609156997108.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609156997108.png)

Back in **Users --&gt; Media** , you should see the newly added **Zammad** media type. Ensure you click the **Update** button to save your changes (Figure 14):

**Figure 14**

[![image-1609157186553.png](https://docs.deeztek.com/uploads/images/gallery/2020-12/scaled-1680-/image-1609157186553.png)](https://docs.deeztek.com/uploads/images/gallery/2020-12/image-1609157186553.png)

# Docker Container Monitoring With Zabbix

<p class="callout info">Credit **Dmitry Lambert** Original URL: https://blog.zabbix.com/docker-container-monitoring-with-zabbix/20175/</p>

## Importing the official Docker template

<figure aria-describedby="caption-attachment-20183" class="wp-caption aligncenter" id="bkmrk-importing-the-docker">[![image-1655138759513.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138759513.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138759513.png)

  
<figcaption class="wp-caption-text" id="bkmrk-importing-the-docker-0">**Importing the Docker by Zabbix agent 2 template**</figcaption></figure>Since we will be using the official *Docker by Zabbix agent 2* template, first, we need to make sure that the template is actually available in our Zabbix instance. The template is available for **Zabbix versions 5.0, 5.4, and 6.0**. If you cannot find this template under *Configuration – Templates*, chances are that you haven’t imported it into your environment after upgrading Zabbix to one of the aforementioned versions. Remember that Zabbix does not modify or import any templates during the upgrade process, so we will have to import the template manually. If that is so, simply [download the template](https://docs.deeztek.com/attachments/13) and import it into your Zabbix instance by using the Import button in the *Configuration – Templates* section.

## <span class="ez-toc-section" id="bkmrk-"></span>Installing and configuring Zabbix agent 2

Before we get started with configuring our host, we first have to install Zabbix agent 2 and configure it according to the template guidelines. Follow the steps in [the download section of the Zabbix website](https://www.zabbix.com/download) and install the zabbix-agent2 package. Feel free to use any other agent deployment methods if you want to (like compiling the agent from the source files).

## <span class="ez-toc-section" id="bkmrk--0"></span>Plugin specific Zabbix agent 2 configuration

Zabbix agent 2 provides plugin-specific configuration parameters. Mostly these are optional parameters related to a specific plugin. You can find the full list of plugin-specific configuration parameters in [the Zabbix documentation](https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_agent2). In the newer versions of Zabbix agent 2, the plugin-specific parameters are defined in separate plugin configuration files, located in */etc/zabbix/zabbix\_agent2.d/plugins.d/*, while in older versions, they are defined directly in the *zabbix\_agent2.conf* file.

Before we move on to Zabbix frontend, I would like to point your attention to the Docker socket file permission – the zabbix user needs to have access to the Docker socket file. The zabbix user should be added to the docker group to resolve the following error messages.

```
[Docker] cannot fetch data: Get http://1.28/info: dial unix /var/run/docker.sock: connect: permission denied
```

```
ZBX_NOTSUPPORTED: Cannot fetch data.
```

You can add the zabbix user to the Docker group by executing the following command:

```
usermod -aG docker zabbix
```

## <span class="ez-toc-section" id="bkmrk--1"></span>Configuring the docker host

<figure aria-describedby="caption-attachment-20189" class="wp-caption aligncenter" id="bkmrk-configuring-the-host">[![image-1655138784079.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138784079.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138784079.png)

  
<figcaption class="wp-caption-text" id="bkmrk-configuring-the-host-0">**Configuring the host representing our Docker environment**</figcaption></figure>After importing the template, we have to create a host which will represent our Docker instance. Give the host a name and assign it to a Host group – I will assign it to the Linux servers host group. Assign the *Docker by Zabbix agent 2* template to the host. Since the template uses Zabbix agent 2 to collect the metrics, we also have to add an agent interface on this host. The address of the interface should point to the machine running your Docker containers. Finish up the host configuration by clicking the Add button.

## <span class="ez-toc-section" id="bkmrk--2"></span>*Docker by Zabbix agent 2* template

<figure aria-describedby="caption-attachment-20192" class="wp-caption aligncenter" id="bkmrk-regular-docker-templ">[![image-1655138802822.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138802822.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138802822.png)

  
<figcaption class="wp-caption-text" id="bkmrk-regular-docker-templ-0">**Regular docker template items**</figcaption></figure>The template contains a set of regular items for the general Docker instance metrics, such as the number of available images, Docker architecture information, the total number of containers, and more.

<figure aria-describedby="caption-attachment-20193" class="wp-caption aligncenter" id="bkmrk-docker-template-low-">[![image-1655138816577.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138816577.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138816577.png)

  
<figcaption class="wp-caption-text" id="bkmrk-docker-template-low--0">**Docker template Low-level discovery rules**</figcaption></figure>On top of that, the template also gathers container and image-specific information by using low-level discovery rules.

Once Zabbix discovers your containers and images, these low-level discovery rules will then be used to create items, triggers, and graphs from prototypes for each of your containers and images. This way, we can monitor container or image-specific metrics, such as container memory, network information, container status, and more.

<figure aria-describedby="caption-attachment-20194" class="wp-caption aligncenter" id="bkmrk-docker-templates-low">[![image-1655138831571.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138831571.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138831571.png)

  
<figcaption class="wp-caption-text" id="bkmrk-docker-templates-low-0">**Docker templates Low-level discovery item prototypes**</figcaption></figure>## <span class="ez-toc-section" id="bkmrk--3"></span>Verifying the host and template configuration

To verify that the agent and the host are configured correctly, we can use Zabbix get command-line tool and try to poll our agent. If you haven’t installed Zabbix get, do so on your Zabbix server or Zabbix proxy host:

```
dnf install zabbix-get
```

Now we can use *zabbix-get* to verify that our agent can obtain the Docker-related metrics. Execute the following command:

```
zabbix_get -s docker-host -k docker.info
```

Use the *-s* parameter to specify your agent host’s host name or IP address. The *-k* parameter specifies the item key for which we wish to obtain the metrics by polling the agent with Zabbix get.

```
zabbix_get -s 192.168.50.141 -k docker.info

{"Id":"SJYT:SATE:7XZE:7GEC:XFUD:KZO5:NYFI:L7M5:4RGO:P2KX:QJFD:TAVY","Containers":2,"ContainersRunning":2,"ContainersPaused":0,"ContainersStopped":0,"Images":2,"Driver":"overlay2","MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIP6tables":true,"Debug":false,"NFd":39,"OomKillDisable":true,"NGoroutines":43,"LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"5.4.17-2136.300.7.el8uek.x86_64","OperatingSystem":"Oracle Linux Server 8.5","OSVersion":"8.5","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","NCPU":1,"MemTotal":1776848896,"DockerRootDir":"/var/lib/docker","Name":"localhost.localdomain","ExperimentalBuild":false,"ServerVersion":"20.10.14","ClusterStore":"","ClusterAdvertise":"","DefaultRuntime":"runc","LiveRestoreEnabled":false,"InitBinary":"docker-init","SecurityOptions":["name=seccomp,profile=default"],"Warnings":null}
```

In addition, we can also use the low-level discovery key – *docker.containers.discovery\[false\]* to check the result of the low-level discovery.

```
zabbix_get -s 192.168.50.141 -k docker.containers.discovery[false]

[{"{#ID}":"a1ad32f5ee680937806bba62a1aa37909a8a6663d8d3268db01edb1ac66a49e2","{#NAME}":"/apache-server"},{"{#ID}":"120d59f3c8b416aaeeba50378dee7ae1eb89cb7ffc6cc75afdfedb9bc8cae12e","{#NAME}":"/mysql-server"}]
```

We can see that Zabbix will discover and start monitoring two containers – *apache-server* and *mysql-server.* Any agent low-level discovery rule or item can be checked with Zabbix get.

## <span class="ez-toc-section" id="bkmrk--4"></span>Docker template in action

<figure aria-describedby="caption-attachment-20195" class="wp-caption aligncenter" id="bkmrk-discovered-items-on-">[![image-1655138848644.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138848644.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138848644.png)

  
<figcaption class="wp-caption-text" id="bkmrk-discovered-items-on--0">**Discovered items on our Docker host**</figcaption></figure>Now that we have configured our agent and host, applied the Docker template, and verified that everything is working, we should be able to see the discovered entities in the frontend.

<figure aria-describedby="caption-attachment-20196" class="wp-caption aligncenter" id="bkmrk-collected-docker-con">[![image-1655138862290.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138862290.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138862290.png)

  
<figcaption class="wp-caption-text" id="bkmrk-collected-docker-con-0">**Collected Docker container metrics**</figcaption></figure>In addition, our metrics should have also started coming in. We can check the *Latest data* section and verify that they are indeed getting collected.

<figure aria-describedby="caption-attachment-20197" class="wp-caption aligncenter" id="bkmrk-macros-inherited-fro">[![image-1655138875928.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655138875928.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655138875928.png)

  
<figcaption class="wp-caption-text" id="bkmrk-macros-inherited-fro-0">**Macros inherited from the Docker template**</figcaption></figure>Lastly, we have a few additional options for further modifying the template and the results of our low-level discovery. If you open the *Macros* section of your host and select *Inherited and host macros*, you will notice that there are 4 macros inherited from the Docker template. These macros are responsible for filtering in/out the discovered containers and images. Feel free to modify these values if you wish to filter in/out the discovery of these entities as per your requirements.

Notice that the container discovery item also has one parameter, which is defined as *false* on the template:

- *docker.containers.discovery\[false\] –* Discover only running containers
- *docker.containers.discovery\[true\] –* Discover all containers, no matter their state.

# Truenas Monitoring with Zabbix

#### Enable SNMP on Truenas Host

- On your Truenas host navigate to **Services**.
- Locate the **SNMP** service and click the [![image-1655139228288.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655139228288.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655139228288.png) icon (**Figure 1**).

**Figure 1**

[![image-1655139299516.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655139299516.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655139299516.png)

- Take note of the **Community** value which by default should be set to **public** (**Figure 2**) and click the CANCEL button to go back to **Services**.

**Figure 2**

[![image-1655139392612.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655139392612.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655139392612.png)

- Back in the **Services** page, on the **SNMP** service, ensure the **Start Automatically** is checked and slide the **Running** slider to the right so that it turns blue to indicate the service is running (**Figure 3**).

**Figure 3**

[![image-1655139531183.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655139531183.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655139531183.png)

#### Download the the FREENAS-MIB Definitions File from your Truenas Host

- On your Truenas host navigate to **Services**.
- Locate the **SSH** service and click the [![image-1655139228288.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655139228288.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655139228288.png) icon (**Figure 4**).

**Figure 4**

[![image-1655146333104.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655146333104.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655146333104.png)

- Place a checkmark on the Log in as **Root with Password** checkbox and click the **SAVE** button (**Figure 5**).

**Figure 5**

[![image-1655146431089.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655146431089.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655146431089.png)

- Back in the **Services** page, on the **SSH** service, ensure the **Start Automatically** is checked and slide the **Running** slider to the left to stop the SSH service and then slide back to the right so that it turns blue to indicate the service is running (this ensures the new SSH settings we set take effect (**Figure 6**).

**Figure 6**

[![image-1655146784737.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655146784737.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655146784737.png)

- Using [Winscp](https://winscp.net) or any tool of your choice, login to your Truenas host using the SCP protocol, navigate to **/usr/local/share/snmp/mibs/** and download **FREENAS-MIB.txt** to your computer.

#### Copy the the FREENAS-MIB Definitions File to your Zabbix Server

- Using [Winscp](https://winscp.net) or any tool of your choice, login to your Zabbix Server host using the SCP protocol and copy the **FREENAS-MIB.txt** file you downloaded from your Truenas host above to the **/var/lib/zabbix/mibs/** directory. If you have deployed Zabbix server on docker, the directory would be **/path-to-zabbix-docker/zbx\_env/var/lib/zabbix/mibs/**.
- Restart your Zabbix server.

#### Import the SNMP Freenas 11 Template into Zabbix Server

- Download the **[template\_freenas\_11\_snmp.xml](https://docs.deeztek.com/attachments/11)** template from this article or download it from the **[Zabbix Community Templates](https://github.com/zabbix/community-templates/tree/main/Storage_Devices/FreeNAS/template_freenas_11_snmp)** Github page.
- On your Zabbix server navigate to **Configuration ---&gt; Templates --&gt; Import.**
- On the **Import** page, click the **Choose File** button and navigate to the location of the downloaded **template\_freenas\_11\_snmp.xml** file and click **Open**.
- Back to the **Import** page, click the **Import** button (**Figure 7**).

**Figure 7**

[![image-1655145250022.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655145250022.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655145250022.png)

#### Add Truenas Host to Zabbix server

- On your Zabbix server navigate to **Configuration ---&gt; Host ---&gt; Create Host.**
- In the **Host name** field enter the name of your Truenas host
- Set the **Groups** field to a an existing group or create a new one.
- In the **Interfaces** section add the IP address of your Truenas host in the **Agent IP address** field
- Click the **Add** link and in the resultant menu select the **SNMP** option (**Figure 8**).

**Figure 8**

[![image-1655144525187.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655144525187.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655144525187.png)

- In the **SNMP** field enter the IP address of your Truenas host again.
- Ensure the **SNMP version** field is set to **SNMPv2.**
- In the **SNMP community** field enter the community value you got from the Truenas SNMP service above (Default: **public**) (**Figure 9**).

**Figure 9**

[![image-1655144810693.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655144810693.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655144810693.png)

- Click the **Templates** link on top of the screen, in the **Link new templates** section, search and select the **SNMP FreeNAS 11** template you imported earlier and then click the **Update** button (**Figure 10**).

**Figure 10**

[![image-1655147921858.png](https://docs.deeztek.com/uploads/images/gallery/2022-06/scaled-1680-/image-1655147921858.png)](https://docs.deeztek.com/uploads/images/gallery/2022-06/image-1655147921858.png)

- Navigate to **Monitoring --&gt; Hosts**, locate the Truenas host you just added and click the **Latest data** link and wait for data to start appearing. It may take a few minutes.

# Exclude Windows Services from Autodiscover in Zabbix 6.4

Navigate to **Data collection ---&gt; Templates**. In the **Templates** page, enter **Windows** in the **Name**  field and click the **Apply** button. In the results listing, click on **Windows by Zabbix agent**.

[![image.png](https://docs.deeztek.com/uploads/images/gallery/2024-04/scaled-1680-/5J7image.png)](https://docs.deeztek.com/uploads/images/gallery/2024-04/5J7image.png)

Next, click on **Discovery** rules tab and then click on **Windows services discovery**.

[![image.png](https://docs.deeztek.com/uploads/images/gallery/2024-04/scaled-1680-/0e5image.png)](https://docs.deeztek.com/uploads/images/gallery/2024-04/0e5image.png)

Next, click on **Filters** and then set the **Label A** Macro **Regular expression** field to **@Windows service startup states for discovery** and click the Update button.

[![image.png](https://docs.deeztek.com/uploads/images/gallery/2024-04/scaled-1680-/LD1image.png)](https://docs.deeztek.com/uploads/images/gallery/2024-04/LD1image.png)

Repeat the procedure above for the Windows by **Zabbix Agent Active**.

Next, navigate to Administration ---&gt; General ---&gt; Regular Expressions. In the Regular Expressions page, click on Windows service names for discovery.

[![image.png](https://docs.deeztek.com/uploads/images/gallery/2024-04/scaled-1680-/ji0image.png)](https://docs.deeztek.com/uploads/images/gallery/2024-04/ji0image.png)

In the **Regular Expressions** page, click on **Add**, set the Expression type drop-down to **Result is FALSE** and in the expression field enter the service name you wish to exclude between a **^** and **$** characters. (For example for the VeeamVssSupport service enter **^VeeamVssSupport$**), check the **Case sensitive** box if necessary. Continue adding lines for each service you wish to exclude and click the **Update** button once finished. If you wish to use a wildcard expression for a service name, enter **.\*** at the end of the service name. (Ex: **^ServiceName.\*$**).

[![image.png](https://docs.deeztek.com/uploads/images/gallery/2024-04/scaled-1680-/4Gzimage.png)](https://docs.deeztek.com/uploads/images/gallery/2024-04/4Gzimage.png)

<p class="callout warning">Please note that if you exclude Windows services from Autodiscover AFTER the host has already been added to Zabbix, the service names will still show up as alarms in Zabbix. You must navigate to **Data collection ---&gt; Hosts**, locate and click on the Host(s) in question, click on **Unlink and clear** next to the **Windows by Zabbix** agent template and click the **Update** button. Then, click on the Host(s) in question again and click on **Delete** and then re-add the Host(s) as necessary.</p>