Configuring the Zabbix agent

Adding the disk drive monitoring into Zabbix is a two-step process. In the first step, we need to add arguments in the Zabbix agent configuration file, and then add the drive items in the Zabbix server for each host. These special arguments are known as user parameters. They work similar to a script, where we can define commands to be run on the host, and then the Zabbix agent passes the data to the Zabbix server.

In this example, we are going to add user parameters to pull data for the serial number and drive temperature. The following two lines need to be added at the end of the agent configuration file in /etc/zabbix/zabbix_agentd.conf:

After adding the lines, we need to restart the Zabbix agent using the following command:

# service zabbix_agentd restart
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.223.123