-
Notifications
You must be signed in to change notification settings - Fork 27
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
Unsupported item key in Zabbix 5.0 #18
Comments
Hi, please use template for Ubuntu from this GIT repository. This is problem with os differences. Tom |
I tried all of the templates in the repository that you listed. But i can't seem to get it working. |
Hello ! |
More info would be great I imagine, so : Copyright (C) 2021 Zabbix SIA This product includes software developed by the OpenSSL Project Compiled with OpenSSL 1.1.1d 10 Sep 2019 |
Can you add an error message from the items, autodiscovery or template import? I am not sure on where are you facing the issue |
Unsupported item key = zabbix agent dont have correct configuration. Do you copy correct *.conf file and restart zabbix agent? |
Hi,
i dont see any update on #18 but you are using test item on item prototype. Please check first howto on:
https://github.com/hermanekt/zabbix-fail2ban-discovery-#3-test-zabbix-agent-setting
(on test machine, today i updated 60 template but not for ubuntu, you need to change process key for process status but discover works fine:)
Tom
… On 29. 11. 2023, at 15:07, Imre Bertalan ***@***.***> wrote:
I know I'm one year late to the isssue, but I wish to raise my hand. I'm encountering the exact same issue as the others before me. The only difference is that I'm on Ubuntu 22.04.
First I had to rewrite the yaml files keys for the process numbers from: key: 'proc.num[f2b/server]' to key: 'proc.num[python3,,,fail2ban-server]', at line 54 and 66. Now I'm trying to fix the discovery of jails.
I'm also using your template @hermanekt <https://github.com/hermanekt> but seems, the key fail2ban.discovery is simply unknown. Please see attached screenshot.
Do you happen to know the issue and a sollution or should I keep trying?
Kepernyokep.2023-11-29.150415.png (view on web) <https://github.com/hermanekt/zabbix-fail2ban-discovery-/assets/7765625/38332f72-207b-488e-aa83-4aff31927c39>
—
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACR6QCHWE4NR3QLGOIAFDXDYG46R5AVCNFSM43X4B5NKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBTGE4TMMZQGMYQ>.
You are receiving this because you were mentioned.
|
The command from https://github.com/hermanekt/zabbix-fail2ban-discovery-#3-test-zabbix-agent-setting namely
Notice that there is a D at the end of the agent binarys name and in the config files name. |
Are you reading howto? You skip step 1. Your zabbix agent dont have configuration... Please read howto carefully! |
I humbly appologise, I have skipped a line and now it works like a charm. 😵 However, the install guide does need update because all the routes and filenames are not relevant on Ubuntu 22.04 for me and I've not modified the system in depts enought to be so much different than a standard install. Here are the modifications for my system: 1; Set configuration fileZabbix Agent
2; Grant access to Fail2Ban
3; Test Zabbix Agent settingZabbix Agent
I again say sorry for my mistake and I hope my details will have positive effect on your work. 👍 If not in the readme, then maybe somebody comes by Google and finds this. |
I'm getting the error Unsupported item key in Zabbix 5.0. I have the following configuration:
root@server:~# dpkg -l | grep fail2ban
ii fail2ban 0.11.1-1 all ban hosts that cause multiple authentication errors
root@server:~# fail2ban-client status
Status
|- Number of jail: 9
`- Jail list: apache-badbots, apache-botsearch, apache-fakegooglebot, apache-modsecurity, apache-nohome, apache-noscript, apache-overflows, apache-shellshock, sshd
root@server:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
root@server:~# dpkg -l | grep zabbix
ii zabbix-agent 1:5.0.8-1+focal amd64 Zabbix network monitoring solution - agent
ii zabbix-release 1:5.0-1+focal all Zabbix official repository configuration
I downloaded the Version 5.0 template from the zabbix share. I followed all of the installation steps.
The text was updated successfully, but these errors were encountered: