-
Notifications
You must be signed in to change notification settings - Fork 88
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
Ability for fetch sysObjectID #13
Comments
not possible? ( |
I am also looking for sysObjectID |
The way SNMP requests are handled in onesixtyone doesn't allow for multiple OIDs to be fetched in the same request. I'm currently working on a way to cycle through different OID for hosts, but it is not quite there yet. In the mean time, if you want to pull sysObjectID from a host replace the hexadecimal string in the build_snmp_req() function with "\x30\x0e\x30\x0c\x06\x08\x2b\x06\x01\x02\x01\x01\x02\x0\x05\x00". This is the hex equivalent of the sysObjectID OID. Something to note though, is that sysDescr will no longer be returned, it will instead be sysObjectID. |
So, did you get this change to work? I'm looking at using this code too. |
Please add ability for fetch/display numeric sysObjectID (1.3.6.1.2.1.1.2) together with sysDescr.
Can be optional, with output something like:
Unfortunately I'm not C guru..
The text was updated successfully, but these errors were encountered: