Hello all, I’m new to LibreNMS so please forgive me. I need to add / monitor some devices that are coming up as Generic. They are Cordex rectifiers. I need to be about to graph AC Input, Battery current, and Temp.
The Object ID = .1.3.6.1.4.1.7309.4
AC InPUt Volts = .1.3.6.1.4.1.7309.4.1.6.2.2.1.3.5
Battery Current = .1.3.6.1.4.1.7309.4.1.6.2.2.1.3.4
Temp = .1.3.6.1.4.1.7309.4.1.6.2.2.1.3.6
Failed Rectifiers = .1.3.6.1.4.1.7309.4.1.6.3.2.1.3.6
Acquired Rectifiers = .1.3.6.1.4.1.7309.4.1.6.3.2.1.3.4
Hi @gebster
You can either add support yourself (Intro - LibreNMS Docs) or open an issue in github and wait for somebody to do it (Issues · librenms/librenms · GitHub). The latter can take a lot of time, the software is community based, so unless somebody does it on its free time, it’s not going to happen soon.
Basically, you fork the repository, clone it, apply your patch to your clone, commit it, and then create a request from github so we can review the patch and merge it to the master branch.
the MIB “AlphaPowerSystem-MIB” is located in /mibs/alpha/
I did a rediscovery of that device but the sensor werent shown up. I also tried to delete and add
that device again but without success.
Does anyone know what I am missing here?
Hi @TheGracens
Unfortunately, @gebster never contributed his code to LibreNMS so you have now to do it again. That is the reason why we try to encourage people to contribute their code as much as possible.
First, the OS file must match the OS name, and both must be small letters. so you should change to os: cxc in your cxc.yaml file definition.
the discovery file should be named the same.
you should run the discovery in debug mode to ensure new yaml files are parsed ./discovery.php -v -d -h <yourdeviceid>