Skip to content

Conversation

@321hendrik
Copy link

  • Zabbix agent config file is read from /etc/zabbix directory
  • Zabbix agent v2 has two entries for Server (Server and ServerActive). This leads to an error when using the grep-ed value as there will be two lines. The script now picks the last line selected. This will be the ServerActive, which should be used with zabbix_sender.

Tested with Debian 12 and Zabbix Agent 2 (6.4.19).

- Zabbix agent config file is read from /etc/zabbix directory
- Zabbix agent v2 has two entries for Server (Server and ServerActive). This leads to an error when using the grep-ed value as there will be two lines. The script now picks the last line selected. This will be the ServerActive, which should be used with zabbix_sender.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant