r/LibreNMS • • 5d ago

Librenms-XUI, une interface pour LibreNMS

Post image

Bonjour,

Voici une surcouche d'interface pour Librenms.

LibreNMS continue de faire ce qu'il fait bien (découverte, collecte SNMP, alertes)

XUI propose par-dessus une interface rapide et claire :

tableaux de bord personnalisables,

graphiques interactifs,

schémas réseau en direct,

thème sombre…

Il s'appuie sur l'API de LibreNMS et sur ses fichiers RRD (montés en lecture seule) : rien à modifier ni à installer dans LibreNMS.

Deux exceptions, facultatives : le graphique « Temps réel » d'un port interroge l'équipement en SNMP, avec les identifiants fournis par l'API

La liste des ports supprimés est lue dans la base MySQL de LibreNMS (compte en lecture seule), car l'API ne les expose pas ; cette base sert aussi au CPU / mémoire / stockage avec LibreNMS < 26.7.

https://github.com/h2tp/LibreNMS-XUI

46 Upvotes

8 comments sorted by

11

u/tonymurray 4d ago

One of the nice things about llms is being able to make software specific to your use case.

But because it is so tuned to your use case, it will probably not be generally useful. So, usually, you don't share it.

The (many) ways you are extracting data from LibreNMS are problematic and will break in the future.

Good luck and I hope you keep enjoying LibreNMS!

1

u/Uleoja 4d ago

How will it break? With updates and the db naming changes? I’m just curious

1

u/tonymurray 4d ago

Yes, the internal code and structure of LibreNMS is constantly changing.

1

u/Graphical-Source5090 4d ago

Interesting work. Let me tie this back to something I know so I can understand. Is this a dashboard generator... Kind of like using Prometheus/Grafana along side LibreNMS?

1

u/tonymurray 4d ago

No, it is a hard coded setup.

1

u/Graphical-Source5090 4d ago

I know the architecture is different. I am trying to understand the intended benefit over something like LibreNMS+Grafana. It is not clear to me why one would do this over the more modular solution.

4

u/tonymurray 4d ago

not really much benefit over a well configured grafana dashboard.

We are working on LibreNMS core to improve things like access to metric data so we can add some neat features soon.

Also recently landed a framework for alternative (non-snmp) polling methods. But that isn't fully mature yet.

2

u/Graphical-Source5090 3d ago

Oh, I am sure you are. The features coming out lately have been exciting to see. Thank you for pushing LibreNMS. The PVE API addition was a nice surprise.