Bootstrap agent2 support #706
ci.yml
on: pull_request
Puppet
/
Static validations
23s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
310 errors
Puppet / Distro Puppet - Archlinux rolling - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64-none.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095636988.pp.PKEChL
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for archlinuxrolling-64-none.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891798'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 0.78 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64-none.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095642160.pp.VKjVeC
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for archlinuxrolling-64-none.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891803'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 0.77 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64-none.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095647204.pp.CbGFcz
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for archlinuxrolling-64-none.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891808'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 0.80 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,348 +1,695 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option: HostMetadata
+# Optional parameter that defines host metadata.
+# Host metadata is used at host auto-registrat
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64-none.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095644881.pp.LHjnlZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for archlinuxrolling-64-none.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891806'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 0.74 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64-none.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095649937.pp.TfIMeC
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for archlinuxrolling-64-none.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891811'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 0.76 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64-none.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095654833.pp.vc0tzK
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for archlinuxrolling-64-none.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891816'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 0.73 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,348 +1,695 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option: HostMetadata
+# Optional parameter that defines host metadata.
+# Host metadata is used at host auto-registrat
|
Puppet / Distro Puppet - Archlinux rolling - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095700182.pp.QVi4Oa
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891821'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.09 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095720502.pp.Zg7tKq
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891842'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.30 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095740998.pp.vdC4bI
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891862'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.31 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095702100.pp.WVoLcC
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891823'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.20 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095722336.pp.EJyvlW
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891843'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.44 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095742836.pp.r1QLk5
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891864'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.43 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095704237.pp.8boGIy
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891825'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.99 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095724410.pp.scTeqf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891846'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.30 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095744941.pp.EE32PG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891866'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.28 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095724071.pp.VwzV0o
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891845'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.27 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095744339.pp.3232RF
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891865'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.49 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095804839.pp.iWVz4M
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891886'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.50 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095727264.pp.R1ZmEa
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891848'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.16 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095747453.pp.7x3CUQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891869'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.39 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095807949.pp.RT70zr
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891889'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.45 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095726805.pp.ZB40u4
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891848'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.62 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095751937.pp.Ddgaxe
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891873'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.77 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095816936.pp.0AgLwc
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891898'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.74 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095736571.pp.cKhCSy
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891858'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.68 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095802251.pp.PxCXgz
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891883'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.77 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095827747.pp.Hldua0
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891909'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.76 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095741717.pp.HxW4Ve
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891863'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095801917.pp.SQnpRt
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891883'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.35 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095822421.pp.P73rxP
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891904'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.33 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095747107.pp.qGzXwT
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891868'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.69 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095814351.pp.NR4VwG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891895'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.69 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095841599.pp.nzKJJy
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891923'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.70 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095757654.pp.2GWRcr
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891879'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.94 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095817826.pp.wKRVkG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891899'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095838318.pp.Uv7dZz
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891920'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.29 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095754140.pp.w0Ok7D
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891875'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.75 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095821864.pp.uBssZH
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891903'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.76 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095849363.pp.zbAhKE
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891931'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.72 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095817387.pp.0uWw29
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891898'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.16 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095837591.pp.5m0nLG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891919'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.47 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095858091.pp.FbE7UE
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891939'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.45 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095711793.pp.2MJC0r
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891833'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.25 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095732196.pp.vm7834
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891853'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095752689.pp.VZngYN
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891874'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.33 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095700903.pp.K4U5T6
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891822'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.00 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095721064.pp.AwxjWv
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891842'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.33 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095741563.pp.6Q1hu7
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891863'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.33 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - AlmaLinux 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095709597.pp.dYRkCY
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891831'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.14 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095729837.pp.94vbg3
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891851'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.37 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095750333.pp.Ka2pzM
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891871'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - AlmaLinux 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095700747.pp.KAjV4X
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891822'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.00 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095720887.pp.wYFCgT
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891842'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.35 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095741383.pp.m7TEMQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891863'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.32 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - AlmaLinux 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Debian 11 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095739665.pp.xP9qv0
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891862'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.21 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Debian 11 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Debian 11 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095800161.pp.Xzd2Ym
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891882'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.23 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Debian 11 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095820657.pp.oGTrvc
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891903'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.20 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Debian 11 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Debian 11 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095725919.pp.fpmgZS
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.16 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891847'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.80 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095746027.pp.1nQxVZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891867'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.22 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095806519.pp.ik1Kf4
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891888'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.21 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Rocky 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095739715.pp.BCfc7Q
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891861'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.76 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095805559.pp.DGGE1U
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891887'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.68 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095831059.pp.bcwRdq
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891912'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.75 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 7 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095719063.pp.n93jQU
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891840'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.18 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095739255.pp.5pethh
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891860'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.46 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095759755.pp.WlUQOm
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891881'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.47 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095720256.pp.XFdiMh
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891841'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.05 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095740415.pp.JzMJVf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891861'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.43 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095800915.pp.itkbqD
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891882'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.41 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - AlmaLinux 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Debian 11 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095734413.pp.q0ZgCR
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.24 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891857'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.28 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Debian 11 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Debian 11 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095754893.pp.iavwqZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891877'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.28 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Debian 11 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095815393.pp.J4kUBX
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891897'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.31 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Debian 11 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Debian 11 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095746064.pp.W6lIFk
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891867'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.03 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095806344.pp.LxScGo
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891888'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.24 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095826840.pp.0lKgt9
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891908'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.19 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - OracleLinux 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Debian 11 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095730823.pp.biso3l
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891853'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.31 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Debian 11 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Debian 11 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095741382.pp.bJa4BG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.24 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891864'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.10 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Debian 11 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095751291.pp.dsDgrX
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891873'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Debian 11 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Debian 11 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095811786.pp.wyfCHr
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891894'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Debian 11 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Debian 11 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095801854.pp.QRLg3B
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891884'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.12 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Debian 11 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Debian 11 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095822350.pp.9vZJHJ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891905'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.18 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Debian 11 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Debian 11 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095732452.pp.hY7DF2
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891854'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.81 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095757836.pp.yAsBYL
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891879'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.68 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095822836.pp.9yg9oN
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891904'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 10.68 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - CentOS 7 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095758234.pp.LWbIwd
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891879'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.04 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095818398.pp.yE0JQB
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891900'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.39 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095838898.pp.C1epwZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891920'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 22.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095744655.pp.hh1QUb
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891868'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Ubuntu 22.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Ubuntu 22.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095805115.pp.Ik93dr
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891888'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.40 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Ubuntu 22.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095825615.pp.sC7VaU
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891909'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.40 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Ubuntu 22.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Ubuntu 22.04 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095835796.pp.PnKfPX
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891917'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.64 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095903429.pp.ntvAP7
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891945'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.80 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095930920.pp.NPzxp1
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891972'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.80 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - OracleLinux 7 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095854171.pp.ejGtS7
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891935'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095914383.pp.pSTGkN
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891956'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.28 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095934880.pp.Cf7XLn
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891976'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.32 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095745766.pp.0AkrYC
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891867'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.85 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095813518.pp.svunqE
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891895'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.86 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095841014.pp.79wCUB
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891922'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 11.88 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - OracleLinux 7 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095807318.pp.ztxK6y
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891891'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.99 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095827802.pp.SzNoBT
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891911'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.00 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095848298.pp.zlPxWd
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.26 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891932'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.97 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 22.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095752514.pp.P5rhCV
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891876'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.81 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Ubuntu 22.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Ubuntu 22.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095812882.pp.n3LyyR
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891896'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.94 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Ubuntu 22.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095833382.pp.UA31cb
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891917'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.92 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Ubuntu 22.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Ubuntu 22.04 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095801708.pp.rCsfgP
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891883'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095821828.pp.fH0XYf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891903'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.43 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095842332.pp.V7NirA
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891923'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.45 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - CentOS 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095818322.pp.XPcGPr
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.28 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891902'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.40 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095838726.pp.TqRW2a
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.28 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891923'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.43 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095859226.pp.x8j5JB
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.29 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891943'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.42 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Ubuntu 20.04 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095803035.pp.frsa8V
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891886'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 5.92 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095823518.pp.kn0UqF
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891907'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.19 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095844022.pp.UneY2f
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.22 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891927'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.22 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095828011.pp.giaMd3
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891909'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.12 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095848291.pp.cWmZQ9
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891929'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095908795.pp.ibnjIc
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891950'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.37 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095815475.pp.JhNPIj
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891897'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.13 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095835763.pp.tmWGL5
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891917'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.35 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095856263.pp.0QS3Lh
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891937'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.38 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - Rocky 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095835381.pp.U2I3bO
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.16 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891917'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.87 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095855538.pp.pwY639
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.16 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891937'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.15 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095916037.pp.PT689p
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891957'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.15 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Rocky 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095805674.pp.oNptVd
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891889'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.02 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095826182.pp.6h1pTO
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891910'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.03 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095846678.pp.kao52u
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.23 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891930'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 6.03 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Ubuntu 20.04 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095915220.pp.9bluCV
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891956'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.08 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095935428.pp.Y0Vl7r
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891977'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.38 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095955924.pp.dFCvXI
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891997'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.35 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095837405.pp.zLRzLf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891918'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.25 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095857697.pp.V5O7y2
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891939'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.45 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095918193.pp.priaE3
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891959'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.45 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - Rocky 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095916713.pp.gDOcCX
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891958'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.19 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095937053.pp.MLJXdI
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891978'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.31 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095957549.pp.aXmdSF
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891999'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - OracleLinux 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095913853.pp.6jXE6D
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891955'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095933969.pp.JCrTtR
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891975'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.42 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095954461.pp.M4Q7SY
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891996'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.47 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - OracleLinux 9 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100008879.pp.0vqHqu
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892010'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.16 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100029067.pp.jgcPyJ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892030'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.50 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100049568.pp.6NdhrI
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892051'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.46 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095912182.pp.onEGHL
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891953'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.08 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095932358.pp.5nXdFf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891973'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.40 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095952854.pp.VfZI9g
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891994'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.45 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - OracleLinux 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_095941434.pp.JE278i
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709891983'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.87 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100001598.pp.gP0Zum
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892003'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.15 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100022126.pp.BtGqpK
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892023'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.16 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100011229.pp.nb8NKj
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892012'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.11 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100031493.pp.K1mQLB
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892033'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.30 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100051985.pp.EtpE23
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892053'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 8 - CentOS 8 - Zabbix 6.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100018764.pp.6iYqHy
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.16 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892020'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.17 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 5.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100039008.pp.ukw5jb
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892040'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.44 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 5.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100059508.pp.6kfF7v
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892061'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.44 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 5.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 5.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 5.0
Process completed with exit code 1.
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100042352.pp.TQGslW
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892043'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 7.93 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:108
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L132
zabbix::agent class with agent2 and zabbix_version 6.0 With minimal parameter Service "zabbix-agent2" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "zabbix-agent2" to be running
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to an IP-Address behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100102420.pp.Gxkisa
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892064'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.36 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:143
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 6.0:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_100122914.pp.mdx93e
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.14 seconds
Info: Using environment 'production'
Info: Applying configuration version '1709892084'
�[mNotice: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Agent/Service[zabbix-agent2]: Unscheduling refresh on Service[zabbix-agent2]
�[mNotice: Applied catalog in 8.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/agent_spec.rb:169
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 6.0:
spec/acceptance/agent_spec.rb#L188
zabbix::agent class with agent2 and zabbix_version 6.0 With ListenIP set to lo behaves like an idempotent resource File "/etc/zabbix/zabbix_agent2.conf" content is expected to match /ListenIP=lo/
Failure/Error: its(:content) { is_expected.to match %r{ListenIP=lo} }
expected "# this file is managed by puppet\n# do not edit this file.\n# this is a config file for zabbix agent... EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128\n#\n# Mandatory: no\n# Default:\n\n" to match /ListenIP=lo/
Diff:
@@ -1,352 +1,703 @@
-/ListenIP=lo/
+# this file is managed by puppet
+# do not edit this file.
+# this is a config file for zabbix agent (unix)
+# to get more information about zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+
+### Option: PidFile
+# Name of PID file.
+#
+PidFile=/var/run/zabbix/zabbix_agentd.pid
+
+
+### Option: LogType
+# Specifies where log messages are written to:
+# system - syslog
+# file - file specified with LogFile parameter
+# console - standard output
+#
+LogType=system
+
+
+### Option: DebugLevel
+# Specifies debug level
+# 0 - basic information about starting and stopping of Zabbix processes
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - for debugging (produces lots of information)
+# 5 - extended debugging (produces even more information)
+DebugLevel=3
+
+
+### Option: SourceIP
+# Source IP address for outgoing connections.
+#
+
+
+
+
+
+##### Passive checks related
+
+### Option: Server
+# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+# Incoming connections will be accepted only from the hosts listed here.
+# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+Server=192.168.20.11
+
+### Option: ListenPort
+# Agent will listen on this port for connections from the server.
+#
+ListenPort=10050
+
+### Option: ListenIP
+# List of comma delimited IP addresses that the agent should listen on.
+# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+ListenIP=127.0.0.1
+
+
+
+##### Active checks related
+
+### Option: ServerActive
+# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+# If port is not specified, default port is used.
+# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+# If port is not specified, square brackets for IPv6 addresses are optional.
+# If this parameter is not specified, active checks are disabled.
+# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+
+
+### Option: Hostname
+# Unique, case sensitive hostname.
+# Required for active checks and must match hostname as configured on the server.
+# Value is acquired from HostnameItem if undefined.
+#
+
+
+### Option: HostnameItem
+# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+# Does not support UserParameters or aliases.
+#
+HostnameItem=system.hostname
+
+### Option:
|
Puppet / Puppet 7 - CentOS 8 - Zabbix 6.0
Process completed with exit code 1.
|