I was offline and relaxing and then all of a sudden all of my agents from my host has gone offline, looking at the container logs it looks like this
Now I don't know what has happened but this is showing up on both of the agents nearly at the same time, recreating them and removing their images and starting fresh does not work. I am not sure what is happening to be honest. this is on debug level 5 so I don't know what the LoadModulePath at line 584 is looking for but I don't have enough time to check really as it keeps rebooting the container.
Any help on this will be greatly appreciated thank you!
Code:
** Preparing Zabbix agent, ** Preparing Zabbix agent configuration file, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "PidFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "LogType": 'console'...added, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "LogFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "LogFileSize": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "DebugLevel": '5'...added, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "SourceIP": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "LogRemoteCommands": ''...removed, ** Using '****'' servers for passive checks, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "Server": '****''...updated, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "ListenPort": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "ListenIP": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "StartAgents": ''...removed, ** Using '****' servers for active checks, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "ServerActive": '1****''...updated, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "EnablePersistentBuffer": '0'...added, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "HostInterface": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "HostInterfaceItem": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "Hostname": hostinfo'...updated, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "HostnameItem": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "HostMetadata": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "HostMetadataItem": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "RefreshActiveChecks": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "BufferSend": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "BufferSize": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "MaxLinesPerSecond": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "Timeout": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "Include": '/etc/zabbix/zabbix_agentd.d/'...added first occurrence, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "UnsafeUserParameters": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "LoadModulePath": '/var/lib/zabbix/modules/'...added at the end, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSConnect": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSAccept": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSCAFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSCRLFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSServerCertIssuer": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSServerCertSubject": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSCertFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSKeyFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSPSKIdentity": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "TLSPSKFile": ''...removed, ** Updating '/etc/zabbix/zabbix_agent2.conf' parameter "AllowRoot": '1'...added at the end, zabbix_agent2 [6]: ERROR: Cannot assign configuration: invalid parameter LoadModulePath at line 584: unknown parameter,
Now I don't know what has happened but this is showing up on both of the agents nearly at the same time, recreating them and removing their images and starting fresh does not work. I am not sure what is happening to be honest. this is on debug level 5 so I don't know what the LoadModulePath at line 584 is looking for but I don't have enough time to check really as it keeps rebooting the container.
Any help on this will be greatly appreciated thank you!
Comment