-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
DHCP feature - client and/or relay + server #321
Comments
I'm not sure I understand. can you show me which value(s) you need in mikrotik? |
I see, so adding ip and interface to clients where possible. |
The MAC-addresses are indeed already available, but the IP-addresses are only available when internally given (from the dhcp-server), when a port or bond is a dhcp-client, the IP-address shows up as |
Is your feature request related to a problem?
It would be awesome to have a feature where you can integrate the dhcp values like client, relay and/or server. In my case I would really like to read the dhcp client values and let them show up in HA. It is helpfull to get this information when you have a dynamic dns from your ISP. There has been a earlier feature request.
Desired solution
Not all users need this information, because it depends on their set up. I would love to see an extra option in the configuration to select. In this case the option (i.e.) 'DHCP client list' which returns the various interface, IP-address, lease and status values.
While tinkering with setting up other sensors for my system health, I found that the script/api already retrieves the
ip/dhcp/client
values. I have tried to alter the code to set it up like I described above, but unfortunately I lack the coding skills to get it up and running. (I am breaking the configuration options and with that the api request for all 'extra' values.)Alternatives
There is also the possibility to retrieve the desired values from the IP Address list, which I used in my reply on the earlier feature request I have replied how to create and environmental variable and a script to update it. This works but it would be a very nice feature to have 'out-of-the-box'.
The text was updated successfully, but these errors were encountered: