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 - Importing the template into zabbix:
Download the template by clicking here.
Access the zabbix dashboard. Click Configuration and then Templates as shown below.
Then click the "Import" button you will see the following screen:
click browse and select the template file that you want to import. In our case the template that you downloaded previously. Then click "Import." And you will see that it is now part of the templates available for use.
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.
Then click the "Templates" tab, locate the template and after selecting it, click on the "Add" link and after the template appears in "Linked templates", click the "Add" button.
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 - Validating SNMP communication
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!
tem pre-processing is missing parameters: error_handler, error_handler_params
erro na importação
O template tem para as versões 3.4 e 4.x do zabbix.
Versões diferentes não irão funcionar.