You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zabbix agent won't start due to invalid parameters in config file.
What behaviour did you expect instead
it to start.
Output log
(dont have this handy)
Any additional information you'd like to impart
We tried setting zabbix::agent::logtype: false
and even tried setting it to: '' (empty string). false fails because it is typed to "String" and of course "" is apparently true in ruby (wth).
I think this could be resolved by perhaps making the type something like Variant[Boolean, String] ? For at least "LogType" and "User" (these are the two parameters we have to comment out to get zabbix agent to start.
Thanks in advance,
Tommy
The text was updated successfully, but these errors were encountered:
Thanks for your response! As to the "why" question, I can only answer that corporations and government are very rarely on the bleeding edge. Often the servers do not have direct Internet access, so accessing the EPEL repo, which is used by several other services was just "handy" :)
We had actually tried to set that as well, but missed the key name slightly, we had zabbix::agent::version. Sorry for the noise!
For what its worth, the extra "zabbix_" and also "agent_" in some of the keys could lead to confusion, but I think changing them now is really not an option :)
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
include ::zabbix::agent
What are you seeing
Zabbix agent won't start due to invalid parameters in config file.
What behaviour did you expect instead
it to start.
Output log
(dont have this handy)
Any additional information you'd like to impart
We tried setting zabbix::agent::logtype: false
and even tried setting it to: '' (empty string). false fails because it is typed to "String" and of course "" is apparently true in ruby (wth).
I think this could be resolved by perhaps making the type something like
Variant[Boolean, String]
? For at least "LogType" and "User" (these are the two parameters we have to comment out to get zabbix agent to start.Thanks in advance,
Tommy
The text was updated successfully, but these errors were encountered: