[ZBXNEXT-1925] New 'Dummy' host interface Created: 2013 Sep 22  Updated: 2024 Jul 29  Resolved: 2022 Nov 02

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 2.0.8
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Marc Assignee: Unassigned
Resolution: Won't fix Votes: 8
Labels: autoregistration, hostinterfaces
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Such a dummy interface has no identity (ip/dns/port) but is sufficient for host creation.
New items might be automatically assigned to an existing dummy interface if the host lacks of a proper regular interface. Items assigned to a dummy interface may be treated like disabled as requested in ZBXNEXT-1924.
On creation of first regular host interface Items currently assigned to a dummy interface might be re-assigned properly.
Removing a regular interface that is still used by items might lead to re-assigning them to a dummy interface if such exists.



 Comments   
Comment by Marc [ 2013 Sep 22 ]

Beside just having the mentioned functionality in general it might help in connection with auto-registration too.
We use auto-registration for automating some tasks like adding hosts, setup interface, setting right proxy, linking templates, assigning host groups, etc.
This works really nice and saves a lot of manual work.

But if we want to "reserve" host names for future use it's not working that well.
When adding hosts for reservation we often don't know yet their ip addresses nor do we want to do tasks covered by auto-registration manually. Thus we just create such hosts by defining their host names only (and leaving the pre-defined Agent interface as it is).

Now when the hosts get discovered/registered they get an additional (2nd) Agent host interface with the real ip/dns/port. But due to the fact that it's an additional interface all items will be assigned to the first Agent interface (127.0.0.1).

  • by the way alias per host interface like mentioned in ZBXNEXT-735 might here be useful too

Finally we have to edit every host copy&paste ip+dns from 2nd interface to the 1st one and remove the needles second one.

ZBXNEXT-1925 could allow to set initially a dummy host interface which may but don't necessarily have to be removed after discovery/registration
No manual intervention would be needed to operate properly.

Comment by richlv [ 2016 Sep 17 ]

this might be complicated. i assume the dummy interface could have items of all types assigned to it, thus creating a new "normal" interface would only move items of that type over.

Comment by richlv [ 2016 Sep 17 ]
Comment by Marc [ 2016 Sep 17 ]

this might be complicated.
most likely, yes

i assume the dummy interface could have items of all types assigned to it,thus creating a new "normal" interface would only move items of that type over.
Exactly. Iirc, then the dummy interface was supposed to be something available in a host implicitly. When creating or linking items a host has no regular interface for, then the dummy interface is automatically used - as a placeholder. It's not supposed to be something a user may select.
This would remove the constraint of having proper host interfaces configured in order to link or create items. Same applies to removing host interfaces where still items exists for.

Comment by Alexei Vladishev [ 2022 Oct 12 ]

Now host interfaces are optional for items that do not require it. I believe this ticket can be closed.

Comment by user185953 [ 2024 Jul 29 ]

Well, removing ZBX interface goes only half way, because it leaves IP/DNS column in hosts table empty.

This makes it harder to understand what host is broken both in Hosts and in Trigger Action notifications.

 

A generic interface, would still be nice way to set this IP/DNS column for inventory purposes.

Comment by user185953 [ 2024 Jul 29 ]

Looks like ZBXNEXT-4660 is only generic interface ticket left open.

Generated at Wed Jul 16 11:14:27 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.