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

Fallback SNMP versions and counter sizes #72

Open
GillesMocellin opened this issue Apr 7, 2020 · 3 comments
Open

Fallback SNMP versions and counter sizes #72

GillesMocellin opened this issue Apr 7, 2020 · 3 comments

Comments

@GillesMocellin
Copy link

I wish I don't have to manage if my host will reply correctly with 64 bits or 32 bits counter, SNMP v2 or v1.

Perhaps the SNMP Interface check script can test and failover this way :

  • try SNMP v2c and 64 bits Counter
  • if not found, Try 32 bits Counter
  • if not found, try SNMP v1

I know it will add some latency, but only on old platform which does not already support 64 bits counters...

@SteScho
Copy link
Owner

SteScho commented Jun 18, 2020

You should know if it is an old platform and if you have 64 bit counters. Why then let it be recognized automatically when you can just set it directly?

@GillesMocellin
Copy link
Author

Hi ! Because I use a monitoring system (Icinga) with template for many different equipments, using the same command (these scripts). No, I don't want to sort my 1200 existing routers by SNMP version and 64 bits support. I do trial and error, but have to override some host by host settings.
Even more, I don't know why, some Windows hosts doesn't provide 64bits counters...

@SteScho
Copy link
Owner

SteScho commented Jun 18, 2020

I hope you don't have a 10 GBit interface that lacks the 64 bits ;-) Ok, maybe a switch for automatic snmp detection may be a solution. Can you create a PR?

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