-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
zabbix-agent service not starting properly, missing variables in zabbix-agent.service file #266
Comments
To follow up, it doesn't appear that the variables set in the zabbix::agent class are propagating down to the creation of the zabbix::startup type. This also appears to be related to issue #264 |
Hi @mSweetser, |
Fixes appear to work properly; the zabbix-agent.service file was created with the proper variables. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
The module, whether using Zabbix 2.4 or 3.0, is creating a second zabbix-agent.service file at /etc/systemd/system/zabbix-agent.service; the yum package uses /usr/lib/systemd/system/zabbix-agent.service. In addition, the template seems to not fill in several variables:
[Unit]
Description=Zabbix Agent
After=syslog.target network.target
Documentation=man:zabbix_agentd
[Service]
Type=forking
ExecStart=/usr/sbin/zabbix_agentd -c
Restart=on-abnormal
PIDFile=
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes
[Install]
WantedBy=multi-user.target
This does not allow the Zabbix agent to properly start.
What behaviour did you expect instead
Proper configuration of the .service file.
The text was updated successfully, but these errors were encountered: