Custom OID

Hi.

I am very new to LibreNMS and SNMP in general.

I have a raspberry pi with some ds18b20 temperature sensors attached.

I have snmpd running and during an snmpwalk (https://pastebin.com/ZNjr6At6), the custom OID’s appear (starting on line 713 of the pastebin paste) and report the temperatures.

I have the temperatures graphing in PRTG by adding a custom SNMP (https://ibin.co/3j1BB2xizeOX.png).

How can I add these OID’s to LibreNMS ?

Thanks.

i would look around in here https://docs.librenms.org/#Developing/Support-New-OS/

Hi Kevin,

Thanks for that.

I ran through the ./scripts/new-os.php script and it created a yaml (https://pastebin.com/4pa9Zra3)

Still not really sure what it is doing and how to then attaches to the device.

Thanks

That’s how new devices are added into LibreNMS with YAML file. Your device should now be discovered as what put into the YAML file. If you want open PR on GitHub and somebody can help you.