[ZBX-22657] Unavailability of new hosts Created: 2023 Apr 12 Updated: 2023 Jun 02 Resolved: 2023 Jun 02 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Server (S) |
| Affects Version/s: | 6.4.1 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | Konstantin | Assignee: | Aigars Kadikis |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Rocky Linux 9.1, postgresql 15.2 |
||
| Attachments: |
|
| Description |
|
Hi! In the new zabbix installation, we encountered the following problem: We create a new host with the Agent interface, add templates, include them in groups. After the addition, the host is unavailable. I see similar errors in the logs: 1892:20230410:171316.109 cannot send list of active checks to "10.0.0.98": host [co-forum] not found Also, a new host cannot be found in the search bar by name on the Hosts page, but it can be found by ip. The host becomes available only after restarting the service: systemctl restart zabbix-server.service After restarting, there are no errors in the logs and the search by name works correctly.
Please specify if you need to provide additional information? |
| Comments |
| Comment by Aigars Kadikis [ 2023 Apr 13 ] |
|
Thank you for contacting us. Regarding the second part - what is the template name you exactly linked? Attach a screenshot of configuration page where we can see a Host name, Visible name, IP address, Attached templates, Host groups. |
| Comment by Konstantin [ 2023 Apr 13 ] |
|
Screenshots. |
| Comment by Aigars Kadikis [ 2023 Apr 14 ] |
|
Thank you for details. I'm trying to reproduce with 6.4.1, even with a same host name and same templates, but the host immediately shows up under "Monitoring" => "Hosts". So far, cannot explain the behaviour. What is CacheUpdateFrequency configured in "zabbix_server.conf"? Could you do 3 more tests:
|
| Comment by Konstantin [ 2023 Apr 14 ] |
|
Deleted the host and added it again under the name forum. I didn't attach templates. the host is unavailable. in the search, you can find only by IP. |
| Comment by Aigars Kadikis [ 2023 Apr 17 ] |
|
The PostgreSQL 15.2 was installed by using https://www.postgresql.org/download/linux/redhat/ I could not reproduce the issue when using just exactly Rocky Linux 9.1 and PostgreSQL 15.2. I have used these instructions: While setting up PostgreSQL, the vanilla Rocky 9 was putting an error message on screen "Failed to set locale, defaulting to C.UTF-8". I decided to not continue and fix it by using: https://www.tecmint.com/fix-failed-to-set-locale-defaulting-to-c-utf-8-in-centos/ Try to reproduce your problem with Zabbix appliance https://cdn.zabbix.com/zabbix/appliances/stable/6.4/6.4.1/zabbix_appliance-6.4.1-ovf.tar.gz . |