OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: ric91 on May 22, 2023, 02:54:58 pm

Title: [Solved] Zabbix agent 5.4 deinstalled but error shown
Post by: ric91 on May 22, 2023, 02:54:58 pm
Hi there
After upgrading 23.1.5_4 -> 23.1.7_3 I have installed Zabbix agent 6.2. The plugin automatically deinstalled my old Zabbix agent 5.4. The log shows:

Code: [Select]
2023-05-18T20:41:27+02:00 apu2.domain.tld pkg-static 61663 - [meta sequenceId="1"] opnsense upgraded: 23.1.5_4 -> 23.1.7_3
2023-05-18T20:48:22+02:00 apu2.domain.tld pkg 66853 - [meta sequenceId="1"] os-zabbix54-agent-1.12 deinstalled
2023-05-18T20:48:22+02:00 apu2.domain.tld pkg 66853 - [meta sequenceId="2"] zabbix54-agent-5.4.12 deinstalled
2023-05-18T20:48:22+02:00 apu2.domain.tld pkg 66853 - [meta sequenceId="3"] zabbix62-agent-6.2.9 installed
2023-05-18T20:48:32+02:00 apu2.domain.tld pkg 66853 - [meta sequenceId="1"] os-zabbix62-agent-1.13_2 installed

Days later I noticed an error message at the plugin list:

Code: [Select]
os-zabbix54-agent (missing) N/A N/A N/A N/A
Info says: Sorry, plugin details are currently not available.

Additionally I noticed the Zabbix agent log ended at the time I installed Zabbix agent 6.2 and not even show an entry for stopping the agent.

Code: [Select]
# tail /var/log/zabbix/zabbix_agentd.log
 63551:20230518:204556.714 IPv6 support:          YES
 63551:20230518:204556.714 TLS support:           YES
 63551:20230518:204556.714 **************************
 63551:20230518:204556.714 using configuration file: /usr/local/etc/zabbix_agentd.conf
 63551:20230518:204556.715 agent #0 started [main process]
 64096:20230518:204556.728 agent #3 started [listener #2]
 63877:20230518:204556.730 agent #1 started [collector]
 64177:20230518:204556.730 agent #4 started [listener #3]
 63988:20230518:204556.732 agent #2 started [listener #1]
 64208:20230518:204556.732 agent #5 started [active checks #1]

Fun fact Zabbix server says Zabbix agent ist still running there in version 5.4., process list on opnsense too.

So I restarted the OPNsense device and now I see both agents installed but missing:

Code: [Select]
os-zabbix6-agent (missing) 1.13_2 50.0KiB OPNsense Zabbix monitoring agent
os-zabbix54-agent (missing) N/A N/A N/A N/A

Seems I messed up some things. Is there any way to get rid of Zabbix agent 5.4 and clean install Zabbix agent 6.2?

Thanks in advance for any hint, Ric.
Title: Re: Zabbix agent 5.4 deinstalled but error shown
Post by: ric91 on May 23, 2023, 10:15:06 am
Selfsolved.

https://forum.opnsense.org/index.php?topic=20231 (http://https://forum.opnsense.org/index.php?topic=20231) helped me out here.

At System - Firmware - Status I found the buttons for resolving plugin problems.

Still thanks for being there :-)