From: Dan R. <da...@ry...> - 2025-03-25 16:00:12
|
Team AstLinux, I recently tried to enable Zabbix and a custom Zabbix Agent user parameter to diagnose a fleeting, intermittent networking problem. The AstLinux documentation (here [1]) was a great start. However, I ran into trouble while trying to "include" a custom user parameter using added file /mnt/kd/zabbix_agentd.userparams.conf as suggested by the instructions. That file contained a single line starting with "UserParameter=". After some troubleshooting, I found a comment in /usr/bin/zabbix_agentd.conf explaining to edit /mnt/kd/zabbix_agentd.conf instead. (Note the missing "userparams" part.) Much to my surprise, using that file name prevented the zabbix_agent from starting. It wasn't until I put the whole configuration (including Server, ListenPort, etc.) into /mnt/kd/zabbix_agentd.conf that the agent began working. The custom UserParameter, added as the last line, is also working. Is this the expected behavior? Or is there something that I can do to allow the auto-generated web parameters to be used by zabbix agent - while adding the UserParameter via a separate file as suggested by the documentation? Thanks for any insight. Dan Links: ------ [1] https://doc.astlinux-project.org/userdoc:tt_zabbix_monitoring |