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

only add --foreground on 3.0 and newer #396

Merged
merged 1 commit into from
Jun 3, 2017

Conversation

bastelfreak
Copy link
Member

We added the --foreground to honor the systemd upstream recommendations.
However, this option is only available in zabbix 3.0 and newer. 2.2
still has support. Additional information:
#382
http://www.zabbix.com/life_cycle_and_release_policy
https://www.zabbix.com/documentation/2.4/manpages/zabbix_agentd
https://www.zabbix.com/documentation/3.0/manpages/zabbix_agentd

@bastelfreak bastelfreak added the bug Something isn't working label Jun 3, 2017
@bastelfreak bastelfreak force-pushed the fix_service_params branch 3 times, most recently from 266bfaf to 6b2eb82 Compare June 3, 2017 12:06
We added the --foreground to honor the systemd upstream recommendations.
However, this option is only available in zabbix 3.0 and newer. 2.2
still has support. Additional information:
voxpupuli#382
http://www.zabbix.com/life_cycle_and_release_policy
https://www.zabbix.com/documentation/2.4/manpages/zabbix_agentd
https://www.zabbix.com/documentation/3.0/manpages/zabbix_agentd
@bastelfreak bastelfreak force-pushed the fix_service_params branch from 6b2eb82 to 3bb356a Compare June 3, 2017 12:18
@dhollinger dhollinger merged commit 7ad027b into voxpupuli:master Jun 3, 2017
@bastelfreak bastelfreak deleted the fix_service_params branch June 3, 2017 20:57
@bastelfreak
Copy link
Member Author

I just noticed that this patch didn't fix it completely 😢

We now provide sane defaults, but it doesn't work if somebody explicitly sets a zabbix version like this:

class { 'zabbix::agent':
  server         => '192.168.20.11',
  zabbix_version => '2.4'
}

the logic in the params.pp only honors the default value.I will try to spin up a another patch...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants