OK, I've posted on other two subforums, but I thing the developers read this one... so here it goes.
My first problem was with zabbix_sender version 1.6, which has changed behaviour from 1.4 version. If you put '-c' on the command line, configuration is not read, and zabbix_sender exits with standard help greeter. If I put both '-z' and '-c', then configuration is read. But I don't want to specify the server (-z) on the command line, because it's already in the config file... Why would I then need the -c? So, here is the description and the patch that can be applied to version 1.6.1 of the zabbix_sender:
So, this one is solved, but I would like you to accept the patch.
Next is the problem with the agentd, and the configuration directive "Include". I've put the following code at the end of my zabbix_agentd.conf:
Problem is that for some of my UserParameteres in the config files in that directory, zabbix_agentd reports ZBX_NOTSUPPORTED. If I copy the exact same lines to the bottom of zabbix_agentd.conf, then it works perfectly. On the other hand, there are some UserParameters that just work (TM). I don't have the time to debug the zabbix_agentd too, strace shows that the config files from within agent-conf.d directory are opened and read... so I wonder if maybe Alexei you know something about this one?
Here is the explanation and more information:
My first problem was with zabbix_sender version 1.6, which has changed behaviour from 1.4 version. If you put '-c' on the command line, configuration is not read, and zabbix_sender exits with standard help greeter. If I put both '-z' and '-c', then configuration is read. But I don't want to specify the server (-z) on the command line, because it's already in the config file... Why would I then need the -c? So, here is the description and the patch that can be applied to version 1.6.1 of the zabbix_sender:
So, this one is solved, but I would like you to accept the patch.
Next is the problem with the agentd, and the configuration directive "Include". I've put the following code at the end of my zabbix_agentd.conf:
Code:
####### INCLUDE CONFIGURATIONS ####### Include=/etc/zabbix/agent-conf.d
Here is the explanation and more information:
Comment