Bootstrap agent2 support #706
Annotations
6 errors
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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:
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading