Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Specific interface for Config Context #40

Open
Domisiding opened this issue Jul 13, 2023 · 6 comments
Open

[Question] Specific interface for Config Context #40

Domisiding opened this issue Jul 13, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Domisiding
Copy link

Hello,
I wanted to ask if you can also select an interface for the individual interfaces with this script in the config context.

Example:

Zabbix Agent on Interface 01
SNMP on interface 02

@TheNetworkGuy
Copy link
Owner

I think that this is easier then expacted since the interface functionality class is decoupled from the device class. However i'm unavailable for next weekend. Please give me some time to think about it and i'll come back to this suggestion asap :)

@TheNetworkGuy TheNetworkGuy self-assigned this Jul 13, 2023
@TheNetworkGuy TheNetworkGuy added the enhancement New feature or request label Jul 13, 2023
@Domisiding
Copy link
Author

Hello,
I wanted to ask what the status is and whether a possibility has been found.

@TheNetworkGuy
Copy link
Owner

To follow up on this request: There is a huge difference on whether the individual interfaces should also have unique IP addresses. Is this also something that you want in your use case? Or does the functionallity implemented in netbox-community/netbox#8137 cover that use case?

Furthermore could you give an example of your use case? For example a server with 1 management address and one for IPMI?

@Domisiding
Copy link
Author

Domisiding commented Dec 27, 2023

Hello,
For example, if you have a server that is provisioned via "iDRAC". You have one IP for the "iDRAC" and one IP for the regular server.

For example, if you want to monitor the iDRAC and the things on the server. If you have the iDRAC on interface 1, SNMP should be running there and the main (primary) IP of the Zabbix agent on interface 2.

192.0.0.1 (Interface 1 <- SNMP)
192.0.0.2 (Interface 2 | Primary <- Zabbix Agent)

@TheNetworkGuy
Copy link
Owner

Okay so with the new out-of-band management IP address field this is a lot simpeler. However i'm struggeling with the logic of interface adjustments. When an IP address changes, which one of the 2 interfaces should be adjusted? Or if the protocol switches from agent to SNMP, how would the sync script have any idea which interface to adjust? Stretching this issue further templates are linked to interfaces for certain functons. So Zabbix could complain about resetting an interface (or both interfaces.) I'll look into this but unfortunately i can't promise much.

A workaround for now (although a bit cumbersome) would be to have 2 hosts for a server. One for the agent coming from Netbox and 1 manually configured for the IPMI.

@q1x
Copy link
Collaborator

q1x commented Dec 18, 2024

I second the idea of using OOB IP as a secondary interface in Zabbix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants