Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderNumeric() coming back blank #33

Closed
MyaLongmire opened this issue Dec 20, 2021 · 3 comments
Closed

RenderNumeric() coming back blank #33

MyaLongmire opened this issue Dec 20, 2021 · 3 comments

Comments

@MyaLongmire
Copy link

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

@sleepinggenius2
Copy link
Owner

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?

@MyaLongmire
Copy link
Author

MyaLongmire commented Dec 21, 2021

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

@MyaLongmire
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants