Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community

Differences in Revisions: Zabbix Agent

Older Revision
August 27 at 4:41 pm
»
cosmetics...
# Zabbix Agent
This addon provides the agent for monitoring a host by [Zabbix Montitoring](https://en.wikipedia.org/wiki/zabbix).
 
 
## Requirements
You need a running Zabbix Server and you should be aware of how to integrate hosts monitored by agents into your environment.
 
 
## Installation
- Install the addon via [](/configuration/ipfire/pakfire)
- Modify the configuration files to fit your needs as described under the next heading
- Restart the agent to apply your changed config
- Create firewall rule(s) to allow the communication between the agent and your server/proxy
 
 
## Configuration
The addon is shipped with a default configuration file and some additional directories and files:
 
* `/etc/zabbix_agentd` All configuration files should be put below this directory. The entire directory will be included in a backup of this addon.
* `/etc/zabbix_agentd/zabbix_agentd.conf` The configuration file. See the [original documentation](https://www.zabbix.com/documentation/current/manual/appendix/config/zabbix_agentd) for help. Please note: The parameters `Server` and `ServerActive` have to be set to your Zabbix Server's (or Proxy's) IP/DNS in order to allow access to the agent. They are both set to 127.0.0.1 by default for security reasons.
* `/etc/zabbix_agentd/zabbix_agentd.conf` The configuration file. See the [original documentation](https://www.zabbix.com/documentation/current/manual/appendix/config/zabbix_agentd) for help.
 
The parameters `Server` and `ServerActive` have to be set to your Zabbix Server's (or Proxy's) IP/DNS in order to allow access to the agent. They are both set to 127.0.0.1 by default for security reasons.
 
* `/etc/zabbix_agentd/zabbix_agentd.d` Files containing UserParameters should go here. They need to have the extension `*.conf`.
* `/etc/zabbix_agentd/scripts` Additional scripts e.g. for UserParameters should go here
* `/etc/sudoers.d/zabbix.user` This file can be modified to allow certain commands to be executed with sudo if needed by a UserParameter. This file will be included in a backup of this addon. Do not change the filename!
* `/usr/lib/modules` LoadModulePath
* `/var/log/zabbix/zabbix_agentd.log` Current LogFile
* `/etc/logrotate.d/zabbix_agentd` Includefile for logrotate. The logs are rotated monthly and kept for 12 month by default.
* Please note: The logs are **NOT** included in a backup of this addon.