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
Plugin for Mikrotik DHCP Leases #532
Comments
Hi @elraro, Thanks for helping out! Please extend the existing https://github.com/jokob-sk/Pi.Alert/blob/main/front/plugins/dhcp_leases/script.py#L59 Yes, additional python packages can be installed via the file you referenced: https://github.com/jokob-sk/Pi.Alert/blob/9f5884c4e769b026135be484dce38a36d6deadf8/install/install_python.sh#L16 Looking forward to the PR! Please also update relevant documentation and settings descriptions. Thanks, |
Hi @jokob-sk The problem I see with extending the existing Thank you! |
Oh, in that case, sure thing. Go ahead and create a new plugin. I thought there was a file to read from. |
Hi @jokob-sk I'm not dead hehe but very busy due to my girlfriend's surgery. Hope I can start with this in a few weeks. Thank you! |
@elraro glad to hear that you are still alive 😅 I hope the surgery goes well! 🍀 And of course no rush. Thank you in advance for helping out! |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
I was looking for the possibility to import directly from Mikrotik DHCP Leases, but I couldn't find a plugin to do it.
Describe the solution you'd like
The idea is to be able to import the DHCP Leases from the Mikrotik, just like the leiweibau fork: https://github.com/leiweibau/Pi.Alert/blob/24730e9269254a3ffcc06865feff7799e9fe7744/back/pialert.py#L729
Describe alternatives you've considered
I've been looking at how to create a plugin, and I think I might be able to do it, but I'm wondering how to install a library I need for Python, in order to make the plugin.
@jokob-sk could you confirm me if the python library needed for the plugin can be added here, or should I do it another way?
https://github.com/jokob-sk/Pi.Alert/blob/9f5884c4e769b026135be484dce38a36d6deadf8/install/install_python.sh#L16
Anything else?
More information about the Mikrotik DHCP Leases: https://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server#Leases
The text was updated successfully, but these errors were encountered: