Hello, I have a bunch of NDA Mibs for my Huawei device router(OLT) , which contains for example an optical signal metrics , learned mac device on each ONU port and etc .
1 . How and which files i need to modify to add support(mainly graphs for signal strength and similar ) ?
2. Do you have a similar docs for developers or can suggest a simplest example of how to add device with MIBs ?
Sorry for my unclear definition.
It is not a new OS , it is not a new device , it is just an Huawei router ( OLT ) ,where i want to add a new metrics(signal and etc) to system.
I will programme it .I need Just say which files i need to programme and modify( add new metrics and they my new NDA mibs )
Ok some additional questions: 1.Is it this Sensors provide a graphs like this https://s23.postimg.org/w4q2o2tdn/port.png ? 2.In my case for ONT info packets in/out stats , i need a first do ifindex ,then parse which begins with “GPON 0/” and then add to there the ONT’S ID , is system possible to do this with yaml conf files ?
There no specific in this counters. There is some non-standart way to achieve it a signal strength for ONT(CPE) , first i nee d to find an ifindex which relevant to gpon board then fetch ont ID and service port number to get at signal , bps per service and etc.
@Gaudy Huawei OLT is already supported as I did the support for them. #9023
I did not added TX/RX for PON/ONTs at purpose. Think about an OLT with thousands of registered ONTs. With at least 2 (3 if you use 3rd window for CATV) signals for each ONT.
You did an amazing job with adding CPU and temperature senosors, But I know that all of that sensors are done with numeric OID, now we have an opportunity to use text OIDs from MIB. OLT has really a lot of sensors and etc. And for me will be really fantastic to have monitored users ONTs, their dBm and their status for example. I thought about OLT with thousands of registered ONTs and why not, for now I have 1010 sensors in my install of all devices, when some ISP provider is using GPON technology without a campus switches or with small number of them than will be not a problem to poll 1000 sensors of the ONTs and many more with good server. Otherwise I believe that some companies with campus switches are not using GPON technology in their local network.
And also we need to look at MDU Huawei unit. For example we have ma5620 and there is not very well support.
I’m almost sure he doesnt have the MIB files. I dont know why but Huawei is very restrictive with theirs OLT MIBs files.
If you send me a walk for 5620, I can give it all the support I can. If you want ONT TX/RX optical info I can try to do some support, but Huawei SNMP is really poor implemented and asking for all that info could kill your controller. Be warned about that.
I can tell you he has a MIBs because he send me them and I did walk with them and they are good one. We can migrate some php script to yaml I believe. I will to do some pull request and you can join when I will have some time during or after Christmas. I need to find which MIBs we need, because there is really a lot of them and I will upload them via pull request to LibreNMS OK ?
And also please tell me how to add multi stage ( so first need to fetch snmp interfaces with names, then parse it , and we need only “GPON” containts and there add ont as new ports ) snmp devices on librenms source codes ?