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

Wrong include dir is being removed here #1236

Closed
badfiles opened this issue May 26, 2024 · 4 comments · Fixed by #1302
Closed

Wrong include dir is being removed here #1236

badfiles opened this issue May 26, 2024 · 4 comments · Fixed by #1302
Labels
bug Something isn't working role The issue or pull request is related to Zabbix role

Comments

@badfiles
Copy link

badfiles commented May 26, 2024

This line removes agent II include dir trying to remove agent I include dir

path: "{{ zabbix_agent_include }}"

@pyrodie18 pyrodie18 added bug Something isn't working role The issue or pull request is related to Zabbix role labels May 26, 2024
@derekpurdy
Copy link
Contributor

I'm having the same issue, it seems to break zabbix_agent2 from being able to start as "/etc/zabbix/zabbix_agent2.d" is missing.

Jun 2 09:58:36 zabbix zabbix_agent2[1122563]: zabbix_agent2 [1122563]: ERROR: Cannot read configuration: cannot include "/etc/zabbix/zabbix_agent2.d": stat /etc/zabbix/zabbix_agent2.d: no such file or directory

@derekpurdy
Copy link
Contributor

it does seem like a show stopper, it basically breaks zabbix_agent2 from working out of the box without manually modifying the remove task in the collection (or modifying the template conf file to not include an include line.)

@krauthosting
Copy link
Contributor

krauthosting commented Jul 1, 2024

@pyrodie18 Same as #1263 will this be backported to stable point release 2.5.1? git cherry-pick 3f38086

emrocha pushed a commit to emrocha/community.zabbix that referenced this issue Jul 1, 2024
@pyrodie18
Copy link
Collaborator

No, as a collection we're only maintaining the current version and not previous versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working role The issue or pull request is related to Zabbix role
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants