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

SenderFrequency parameter is deprecated in Zabbix 3.4 #437

Closed
marcinbojko opened this issue Aug 22, 2017 · 1 comment
Closed

SenderFrequency parameter is deprecated in Zabbix 3.4 #437

marcinbojko opened this issue Aug 22, 2017 · 1 comment

Comments

@marcinbojko
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.x
  • Ruby: 2.0.0p648
  • Distribution: CentOS 7.x
  • Module version: 4.1.3

How to reproduce (e.g Puppet code you use)

Use module in version 4.1.3 to manage Zabbix in version 3.4

What are you seeing

_ zabbix config
-#SenderFrequency=30
+SenderFrequency=30

What behaviour did you expect instead

-zabbix config
-SenderFrequency=#

Output log

zabbix_server[2537]: zabbix_server [2537]: unknown parameter "SenderFrequency" in config file "/etc/zabbix/zabbix_server.conf", line 228
zabbix-server.service: main process exited, code=exited, status=1/FAILURE

Any additional information you'd like to impart

In Zabbix 3.4 parameter SenderFrequency is deprecated.
Parameter still exists in /zabbix/templates/zabbix_server.conf.erb

Proposed change
from:

### Option: SenderFrequency
#   How often Zabbix will try to send unsent alerts (in seconds).
#
SenderFrequency=<%= @senderfrequency %>

to

<% if @zabbix_version.to_f <= 3.2 %>
### Option: SenderFrequency
#   How often Zabbix will try to send unsent alerts (in seconds).
#
SenderFrequency=<%= @senderfrequency %>
<% end %>
@Heidistein
Copy link
Contributor

This is fixed in
#436

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