06-03-2019 01:33 AM
Hello,
I've a case where i'm trying to poll SNMP information every 10 seconds from a Cisco IOS-XR devices (interfaces mib). Seems like CISCO IOS-XR updates SNMP information every 15secs, so sometimes management platfortm (in this sitaution - prometheus) reads the same information twice. I know that one of the ways would be increase SNMP polling time from 10S to at least 15s. But we can't do that. Is there any workaround to make a Cisco IOS-XR refresh SNMP information more frequently than 15secs ?
Thanks
Device version: "Cisco IOS XR Software, Version 5.1.3[Default] "
06-13-2019 09:25 AM - edited 06-13-2019 09:29 AM
Hi,
This is not a best practice. It's recommended raise the polling time.
You could raise it to at least 30 seconds and also enable the IF-MIB statistics cache (snmp-server ifmib stats cache).
Another alternative instead of SNMP polling is to use Periodic MIB Data Collection and Transfer feature.
Regards,
06-13-2019 09:27 AM - edited 06-13-2019 09:32 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide