Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zabbix Agent Not Able to start Due to cannot add user parameter #29

Open
vinniephuah opened this issue May 12, 2016 · 1 comment
Open

Comments

@vinniephuah
Copy link

vinniephuah commented May 12, 2016

I got the error below after I copied userparameter_pgsql.conf in pg_monz ver 2.0.1 to ../zabbix_agentd.d and restart the zabbix agent. I have to remark all the userparameter or move the userparameter_pgsql.conf file to other location only I am able to start my zabbix agent. Anyone has idea what is going on? Thanks alot.

Starting Zabbix agent: zabbix_agentd [77914]: ERROR: cannot add user parameter "db.list.discovery[*],"$1"/find_dbname.sh "$2"": key "db.list.discovery" already exists

@jason5858
Copy link

Sorry for the late reply.

The reason of the error is probably because that the key
"db.list.discovery" has already been configured in zabbix_agentd.conf or in one of the config files under zabbix_agentd.d directory.

So please delete the existing setting of key db.list.discovery, copy userparameter_pgsql.conf to zabbix_agentd.d directory and restart zabbix agent again.

@383280199
Copy link

I spent two days looking for the cause of the problem, I finally found in zabbix_agentd. Conf "include" multiple configuration.
change:
Include=/usr/local/etc/zabbix_agentd.conf.d/
Include=/usr/local/etc/zabbix_agentd.conf.d/.conf
to:
Include=/usr/local/etc/zabbix_agentd.conf.d/
.conf
then it goes well.

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

No branches or pull requests

3 participants