X

How to monitor UNIFI UBIQUITI devices in zabbix - Final - General Tips

Sucesso é a soma de pequenos esforços repetidos o tempo todo.
Robert Collier

Closing this series of articles, I will give some tips on zabbix and snmp.

1 – Importando o template no zabbix:

Download the template by clicking here.

Access the zabbix dashboard. Click Configuration and then Templates as shown below.

Em seguida, clique no botão “Import” você verá a seguinte Tela:

clique em browse e selecione o arquivo do template que você deseja importar. No nosso caso o template que você fez o download previamente. Então clique em “Import”. E você verá que agora ele faz parte dos templates disponíveis para utilização.

You will now need to create a new host by filling in the fields as shown below. Remembering that this is an SNMP device, so an SNMP interface must be added to monitor it.

Em seguida clique na aba “Templates”, localize o template e após selecioná-lo, clique no link “Add” e após o template aparecer em “Linked templates”, clique no botão “Add”.

Then you will see that the AP was added successfully and a few minutes after the AP is added, you will see the result of the collections.

2 – Validando a comunicação SNMP

I did everything right, but the device does not display data in zabbix. So how am I sure the device is sending data to zabbix?

A: You will need to validate via the command line if the SNMP protocol is configured on the device you want to monitor.

How to make:
Here I use ubuntu, so I'll demonstrate in ubuntu. But the process is similar in any other linux distribution. Basically you should install the snmpwalk to perform the diagnosis.

The installation in ubuntu is really simple and you just need this command for this:

sudo apt-get update && sudo apt-get install snmp

After that, you'll be able to use the snmpwalk command.

The syntax of this command is

$snmpwalk -protocolversion -c communityname deviceipaddress

Here is an example command:

snmpwalk -v1 -c public 10.0.11.200

If everything is ok with your device configuration, you will see a response similar to the one below:

Otherwise you will see a message similar to the one below:

Did you like the article?

Leave your comment, question or suggestion here.

See you the next time!



Alex Moura: Apenas mais um entusiasta de TI que não deseja que você passe os apuros que eu passei!

View Comments (2)