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

How to use your code with Palo Alto Firewall MIBS #12

Closed
micruzz82 opened this issue Mar 7, 2020 · 1 comment
Closed

How to use your code with Palo Alto Firewall MIBS #12

micruzz82 opened this issue Mar 7, 2020 · 1 comment

Comments

@micruzz82
Copy link

Hi @sleepinggenius2 this looks like a very useful tool. However I'm not a code and wanted to ask if there was any documentation on how to use this so I can convert Palo Alto firewall Mibs into the correct names?

Thank you for any help.

@sleepinggenius2
Copy link
Owner

I'm not sure that I fully understand your question, but I will do my best to respond. There is some basic example code under the cmd directory. I know there is a lack of comments in the code itself at the moment, but the standard godocs at https://pkg.go.dev/github.com/sleepinggenius2/gosmi should be fairly straightforward for using the library. It is still closely modeled around the C libsmi library, which it was originally a wrapper for. Personally, I don't generally use this library directly, but instead use my mib2go program to generate a Go representation of the MIBs that I need, then couple that with my snmpquery library to query equipment.

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