Skip to content

Feature Request: Self service API wrong IP for Hostadresse #721

Open
@tomabg

Description

@tomabg

Hi,

we are using Icinga director self service API and the Clients may have several (virtual) IP adresses.

Currently the Physical Adress is used for the Hostadresse field.
So after Creation of a new host we need to change to the correct IP in Icinga Director

Better would be to find out the Local IP Adress from which the connection is done to Icinga Director for example like this:

PS C:\windows\system32> Get-NetTCPConnection -RemoteAddress  10.216.5.6

LocalAddress                        LocalPort RemoteAddress                       RemotePort State       AppliedSetting
------------                        --------- -------------                       ---------- -----       --------------
10.218.4.2                          51453     10.216.5.6                          443        CloseWait   Internet
10.218.4.2                          51452     10.216.5.6                          443        TimeWait


PS C:\windows\system32>

Maybe add a like if you have the same problem too.

Metadata

Metadata

Assignees

Labels

BugThere is an issue presentInvestigationThe team is looking into the cause of the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions