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

Cannot create item: item with the same key #12

Closed
seregawerewolf opened this issue Aug 16, 2018 · 5 comments
Closed

Cannot create item: item with the same key #12

seregawerewolf opened this issue Aug 16, 2018 · 5 comments

Comments

@seregawerewolf
Copy link

After installation in "detection" of a host hangs an exclamation mark with an error:
Cannot create item: item with the same key "smartctl.info[{#DDRIVESTATUS},DriveStatus]" already exists.

Who can faced a problem?

@nobody43
Copy link
Owner

Everyone are facing this problem. :)
It's a cosmetic problem, it will not affect the result, though a solution is planned - #7.

Are you getting keys created in web interface? Data acquisition after 12-24 hours? What about Testing?

@seregasoft
Copy link

seregasoft commented Feb 26, 2021

Hi!
There is no such error on the first server, LLD creates items and data arrives.
But the error "Cannot create item: item with the same key "smartctl.info[{#DDRIVESTATUS},DriveStatus]" already exists" appears on the second server. LLD creates items but I don't receive data.
Where should sender_wrapper.py be? Or is it not the problem? OS: FreeBSD

@nobody43
Copy link
Owner

This is expected, it should not interfere with the actual process.
What about previous suggestions?
sender_wrapper.py should be at: /usr/local/etc/zabbix/scripts/sender_wrapper.py

@seregasoft
Copy link

seregasoft commented Mar 1, 2021

Thanks, "smartctl.discovery [getverb, "my_host"]" helped solve the problem:
Error was:
"my_host" smartctl.info [ConfigStatus] "CONFIGURED" zabbix_sender [54746]: DEBUG: send value error: cannot resolve [old_zabbix_host]

For some reason zabbix-smartmontools used the old zabbix agent configuration /usr/local/etc/zabbix22/zabbix_agentd.conf where old_zabbix_host was specified
Although the current configuration in /usr/local/etc/zabbix5/zabbix_agentd.conf

Changed in /usr/local/etc/zabbix22/zabbix_agentd.conf Server and ServerActive to the actual address of Zabbix Server and now the data values come. Thank!

@nobody43
Copy link
Owner

Supersedes: #7

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