Custom Oid in LibreNMS


#1

Since this feature is missing in LibreNMS, so I decided to try to program it.
But I do not know if I can handle it.

First try


Custom Oids
Graphing PPPoE sessions on Cisco device
Printer page counters
Graph number of PPP sessions in Mikrotik
Add a pages printed graph or numerical output
#2

Submit a PR in github :slight_smile:


#3

Not yet. I have to make the option to remove the custom oid.


#4

Would be great if you can add the support via yaml. It would need to be via a custom file to stop merge conflicts.


#5

I’m afraid that despite the yaml file it probably will not.
See linux extend oid


#6

PR added in github


#7

Very cool! The delete button in the SS says, ‘Dlelete’. :stuck_out_tongue_closed_eyes:


#8

Thanks for the warning.
Fixed


#9

Hi all!
It seems very cool!! I’d like to try it, but I can’t manage to find it, where is it and how can I add it?

Thanks


#10

waiting for PR approval


#11

Hi friend,

it is working for me, really usefull thing, but i have one problem, maybe you can help me with this.

I added an OID of temperature to my luminato, but its display for me value x10.

Can you help me with this ?

And I really want to know for what is option DIVIZIOR and MULTIPLIER. Thank you for your answer!


#12

Hello.
Snmp query returns a value multiplied by 10x
Enter DIVIZIOR 10.


#13

I got it a moment ago… THANK YOU. Really usefull for me :beer:


#14

Hello,

I have one more question.

How many sensors is possible to add ? Because for example, i have huawei ma5680t and there is sensors for example for temperature for everyone slot. So when I have 4 boards in 4 slots, i get 4 temperature sensors. My problem is, when I trying to add 4 temperature sensors for one devide I cant. First one sensor stay like is, but second or third is just overwrite.

Thank you for your help.