sleepinggenius2/gosmi

RenderNumeric() coming back blank

Closed this issue · 3 comments

I implemented the gosmi.GetModule like you recommened but RenderNumeric() keeps coming back blank. I have attached my program and the mib :)

Program as a txt file -> synology.txt
Mib file -> SYNOLOGY-SYSTEM-MIB.txt

When I run it on my system, I get an output of 1.3.6.1.4.1.6574.1.1. If it's coming back blank, then the OID for that node is empty, which means it's disconnected. That MIB file looks fairly straightforward, so are you sure that you have the MIBs for SNMPv2-CONF and SNMPv2-SMI in your path?

I do have SNMPv2-CONF and SNMPv2-SMI in my path and it still returns blank. Am I calling RenderNumeric() properly?

It is the order of the files. I flip the order they are loaded in and it works.