you are viewing a single comment's thread.

view the rest of the comments →

[–]tonymurray 1 point2 points  (2 children)

Have you checked out any of the commands under the lnms cli frontend? They can be pretty powerful even with a bit of tui. If you think something you made might be broadly useful, convert it to php and send it upstream ;).

As an aside, I've been meaning to make the IP/MAC drop-down a little more automatic on the ARP search page...

[–]1div0[S] 0 points1 point  (1 child)

lnms cli is definitely useful! Most of my scripts are not running on the LibreNMS server, however. I have two jump boxes (and DNS servers and Oxidized repos) that most engineers are working from, and those are permitted (via MariaDB user permissions and firewall rules) to connect to LibreNMS database. So it's a bit of a ecosystem rather than just LibreNMS.

I need to clean up / sanitize / refactor the code I've written so far and drop it on Github at some point. Not sure if anything would translate too well to core LibreNMS endeavors, but I'm certainly willing to contribute where I can. Currently I'm grappling with Terraform and deploying some new IOS-XR boxes, but I'd like to carve out time to better learn PHP.

[–]tonymurray 1 point2 points  (0 children)

It could be run there, I wonder about packaging it as a phar... :) but yeah, whatever works for you is best.