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

fix for [#20] #36

Open
samuk10 opened this issue Jan 25, 2022 · 0 comments
Open

fix for [#20] #36

samuk10 opened this issue Jan 25, 2022 · 0 comments

Comments

@samuk10
Copy link

samuk10 commented Jan 25, 2022

Same as: #20
On ubuntu i have no problem on the installation, but on centos7 i had this problem.
running the scripts was everythin fine but using agent this happen:

$ /etc/zabbix# zabbix_agentd -t "systemd.service.status[ssh]"
systemd.service.status[ssh] [m|ZBX_NOTSUPPORTED] [Unsupported item key.]

Fix:

  1. Find in agend.conf which folder for external confs

$ cat /etc/zabbix/zabbix_agentd.conf | grep /etc/zabbix/zabbix_agent

  1. Place userparameter_systemd_services.conf inside the folders above
  2. Restart zabbix_agent

For me was like this:
Zabbix Agent2 on Ubuntu Working in this folder: /etc/zabbix/zabbix_agent2.d/userparameter_systemd_services.conf
Zabbix Agent(old): on Centos7 Working in this folder: /etc/zabbix/zabbix_agentd.conf.d/userparameter_systemd_services.conf

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

1 participant