[ZBX-22105] icmpping: "Ping item must have target or host interface specified" Created: 2022 Dec 17 Updated: 2024 Apr 10 Resolved: 2023 Mar 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 6.4.0beta4 |
Fix Version/s: | 6.4.1rc1, 7.0.0alpha1, 7.0 (plan) |
Type: | Problem report | Priority: | Critical |
Reporter: | Markku Leiniö | Assignee: | Vladimirs Maksimovs |
Resolution: | Fixed | Votes: | 13 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Debian Linux 11 |
Attachments: | image-2023-01-27-11-57-04-082.png image-2023-03-10-09-43-40-406.png image-2023-03-10-11-05-39-031.png image-2023-03-10-17-45-26-508.png image-2023-04-03-08-34-25-599.png image-2023-04-03-08-35-15-490.png image-2023-05-12-15-45-47-445.png image-2023-05-12-15-48-06-708.png | ||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||
Team: | Team C | ||||||||||||||||||||
Sprint: | Sprint 98 (Mar 2023) | ||||||||||||||||||||
Story Points: | 0.25 |
Description |
Steps to reproduce:
Result: No ping data is saved. Errors in server log: 2725:20221217:204500.570 item "Testhost:icmppingloss" became not supported: Ping item must have target or host interface specified. The same is shown in Latest data: "Ping item must have target or host interface specified." Expected: Basic ping monitoring is started and runs successfully with the supplied template. Also note: If a new item is created as icmpping[\{HOST.IP}], it works fine. |
Comments |
Comment by Markku Leiniö [ 2022 Dec 17 ] |
"Also note" item should be without the backslash: icmpping[{HOST.IP}]
|
Comment by Leonardo Miranda [ 2023 Jan 27 ] |
Hello everyone, I got this same error using this same version 6.4.0beta4. I noticed this when I made an API call with host.create indicating the template id for that host. However, when checking in the GUI, the data is not collected because there is this indication of the error. Solved MANUALLY in the Zabbix GUI this way: I entered the item and noticed that the interface of this default host was not selected in the "Host Interface" field, but as "None". I made the manual change and it worked. It seems to be some kind of bug related to signing the default host interface with the template.
|
Comment by Cedric Gavage [ 2023 Feb 26 ] |
Same issue with 6.4.0rc2 |
Comment by Dawid Mos [ 2023 Mar 09 ] |
Same with official release 6.4.0. |
Comment by Luke Dobson [ 2023 Mar 09 ] |
Same issue for me - the host interface drop down also does not show if i edit the item. |
Comment by CED PRO [ 2023 Mar 09 ] |
Same issue after migrate 6.2 to 6.4 |
Comment by paulo landgraf [ 2023 Mar 09 ] |
I'm in version 6.4.0rc4 and the same problem continues, I'm having to do it by hand |
Comment by Serhii Orel [ 2023 Mar 10 ] |
Can you tell me when will it be fixed? I'm not ready to set up all the hosts with my hands!!!
|
Comment by Thomas Oftring [ 2023 Mar 10 ] |
The SSH and Telnet Item is also affected by the problem. |
Comment by Serhii Orel [ 2023 Mar 10 ] |
It's terrible
|
Comment by Klerton Oliveira [ 2023 Mar 10 ] |
Estava tendo o mesmo problema no meu que é versão 6.4. |
Comment by Serhii Orel [ 2023 Mar 10 ] |
When you apply a template to a host, the interface is not automatically applied. Interface is set to None
|
Comment by Serhii Orel [ 2023 Mar 14 ] |
Will you notify users when a solution is found? |
Comment by Edgars Melveris [ 2023 Mar 15 ] |
This ticket will get updated when the status changes. |
Comment by Vladislavs Sokurenko [ 2023 Mar 15 ] |
Caused by |
Comment by Vladislavs Sokurenko [ 2023 Mar 15 ] |
Seem like issue only when using frontend and API, auto registration and LLD, both work fine. |
Comment by Vladimirs Maksimovs [ 2023 Mar 16 ] |
Fixed in development branch feature/ZBX-22105-6.4. |
Comment by Vladimirs Maksimovs [ 2023 Mar 17 ] |
Fixed in:
|
Comment by Andy Owen [ 2023 Mar 30 ] |
Is there a fixed template I can import? As current version I have still has this issue. Would have thought ping was the most simple test...
Current version as is: root@rsch-chkmk01:~# zabbix_server --version
Getting error: zabbix-release_6.4-1+ubuntu22.04_all.deb when try to upgrade. |
Comment by Javier Ros [ 2023 Mar 31 ] |
The same here after upgrade from 6.2 to 6.4 |
Comment by benjamim gois [ 2023 Mar 31 ] |
I tought i had done something wrong. I appeared after upgrading 6.2 to 6.4 |
Comment by Konstantins Prutkovs (Inactive) [ 2023 Apr 03 ] |
Argon0, jros what are the errors You are getting exactly? Is it still "Ping item must have target or host interface specified"? |
Comment by Javier Ros [ 2023 Apr 03 ] |
I have noticed that when I apply a template to host, the field "interface" from the template items is not set. Specifically I have added a new host, a Cisco switch, with an SNMP interface, then I apply "Cisco IOS by SNMP" template. When navigate to host items I can see the items "ICMP loss", "ICMP ping" and "ICMP response time" with this error: "Ping item must have target or host interface specified."
If I edit some of this items I can see "Host interface" set to "None":
If I set it manually all is fine.
Thanks! |
Comment by Vladimirs Maksimovs [ 2023 Apr 03 ] |
Hello, jros! Could you check the version of your Zabbix frontend, please? It looks like you are upgraded to 6.4.0, not to 6.4.1rc1. Starting from 6.4.1rc1 on the above described scenario the host interface should be assigned automatically. If you see that you are unable to upgrade to 6.4.1rc1, don't worry. The 6.4.1 will be releazed soon and you'll be able to upgrade again and get this fix. However, if you upgrade from older 6.4. versions where the template with the simple check items (with none host interface) was already linked to the host, after the upgrade it will be necessary to unlink the template, and then to link it again. After the template re-linkage the existing host interface will be assigned to the inherited simple check items.
|
Comment by Javier Ros [ 2023 Apr 03 ] |
Yep Vladimirs, I have upgrade to 6.4.0. Then I have to wait to 6.4.1 release.
Ok, thank you very much!
|
Comment by Andy Owen [ 2023 Apr 03 ] |
@kprutkovs I have exactly that message, worked around it by editing the template to include the IP Host int he expression. |
Comment by Javier Ros [ 2023 Apr 03 ] |
I have just to see that 6.4.1 was release the last friday. I have installed it and the problem is solved.
Thanks |
Comment by Andy Owen [ 2023 Apr 03 ] |
<erm> First time I've had to upgrade, but when I do so (Ununtu 22.04) I get this:
zabbix-agent is already the newest version (1:6.4.0-1+ubuntu22.04). zabbix-frontend-php is already the newest version (1:6.4.0-1+ubuntu22.04). zabbix-server-mysql is already the newest version (1:6.4.0-1+ubuntu22.04). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
Is this correct?
Regards
Andy Owen |
Comment by Dawid Mos [ 2023 Apr 03 ] |
Do I need to do something manually after upgrading to 6.4.1? Previously I was on 6.4.0 and the interface wasn't automatically selected. |
Comment by Javier Ros [ 2023 Apr 03 ] |
I have reassign the template to the hosts. The problem come on template assign, the items are created when the template is applied to the host, then you have to unlink and link again. IHMO |
Comment by benjamim gois [ 2023 Apr 03 ] |
I confirm that updating to 6.4.1 and reaplying the template solve the issue. Thanks for the quick response guys ! |
Comment by Konstantins Prutkovs (Inactive) [ 2023 Apr 04 ] |
Argon0, I see, the problem is that you have 6.4.0 (the latest version released currently). |
Comment by Andy Owen [ 2023 Apr 04 ] |
Yeah, I thought as much but I get the above message(s) when I try upgrade, following the guide to upgrade on Ubuntu 22.04.
Thanks |
Comment by Manix Zabbix [ 2023 May 12 ] |
Hi, I've updated to the latest version - 6.4.2 and still having issues. I am getting 'Check service item must have IP parameter or host interface specified' for all 'Simple Checks' using either DNS/IP with a standard item key, net.tcp.service[https]. Are others still experiencing the same problems?
I should note if I update my templates and change my HTTPS monitor keys to 'net.tcp.service[https,\{HOST.DNS},443]' and ICMP to 'icmpping[\{HOST.IP}]', it seems to resolve the issue, as it does not need to rely on the 'Host interface' being set. There is a fair bit of talk if this being resolved in the new version, but it doesnt seem to be working for me. Hoping someone can please help? |
Comment by Vladimirs Maksimovs [ 2023 May 18 ] |
Hello ManixZabbix, Could you check the sequence of your actions, please? Possibly first you has been linked a template to a host and after that added an interface to a host. But it is important to understand that after adding the first interface to a host, it will not be automatically assigned to items with unassigned interface. We supplemented the documentation with the note about this. There also is described the workaround to achieve the auto template assignment if template was linked to a host without any interface. Please check this note on 2 Linking/unlinking. Kind Regards, |