Hi sorry for my bad English. I have problem to display custom oid in the device dashboard. it is possible? I hawe discovered oid for sharp printer that read printed page count but in the graph is shorted format 5.4k what i need is to display in device dashboard custom line for example in health menu with this oid and name of displayed line page count. I was digging in the manual bud it seems I am to stupid to achieve that. The custom oids
.1.3.6.1.4.1.2385.1.1.19.2.1.3.5.4.61 black printed pages
.1.3.6.1.4.1.2385.1.1.19.2.1.3.5.4.63 pages printed in color
HI @Peter_Pieger
You don’t need to use custom OID. Instead you should add the printed page discovery directly to LibreNMS (like all other included sensors). Custom OIDs are here only to solve some corner cases, with very limited support.
Number of pages is indeed displyed in k or M to shorten the display (readability). Is it the only issue you have ?
Hi.
Ok when I add the printer it read many data but not the page count so how can I add it to pool or can you please provide how to add a sensor.
Thanks
Edit: A number of pages I need to read a complete number for example 5.4k to 5488 but it useless in graphs when i can get it on-device dashboard.
Hi
First you need to create the support for your printer (if it is still in “Generic” mode). Then documentation to add sensors is here : https://docs.librenms.org/Developing/os/Health-Information/
You need to know:
- MIB file if not yet in LibreNMS
- OS
- Textual OID
- Numerical OID
– .1.3.6.1.4.1.2385.1.1.19.2.1.3.5.4.61
– .1.3.6.1.4.1.2385.1.1.19.2.1.3.5.4.63
- Type of counter
- Sensor type is “Count” of a number of pages
Bye