Ad Widget

Collapse

Does zabbix_agent2 support logtype=system?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kamilcuk
    Junior Member
    • Jun 2020
    • 1

    #1

    Does zabbix_agent2 support logtype=system?

    I am running on archlinux with kernel linux5.6.13-arch1-1. I have a zabbix_agentd 4.4.8 revision 3d7663fd7c 27 April 2020 working since ages without a problem with `LogType=system`. I recently installed zabbix_agent2 5.0.0 revision 9665d62db0 9 October 2019 to test it out, and it exits with a message:

    # zabbix_agent2
    zabbix_agent2 [216714]: ERROR: cannot initialize logger: invalid argument

    Changing `LogType` to `LogType=file` "removes" the problem, but that's not the point.

    I tried researching the web, but with no success. The error is triggered because `syslog` is completely not handled at https://github.com/zabbix/zabbix/blo...agent2.go#L308 . So is the support for this option currently missing and will be added in the future? Or should the documentation should be updated that the option is not supported at https://www.zabbix.com/documentation...ncepts/agent2?
Working...