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 platform (in this situation - 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 ?

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 15, 2019 at 3:45

2 Answers 2


For short interval polling it would be better to use streaming telemetry. The router will send a continuous stream for metrics of your choice, which is not as intensive for your monitoring system and produces more reliable data than polling at an interval.

There are some nice off the shelf examples provided by Cisco on how to integrate with Prometheus

For more information: Cisco docs on Telemetry


this one helped: snmp-server ifmib internal cache max-duration 0

  • 1
    In my experience there will still be some caching done by your router (~30 seconds last time I checked)
    – Robert
    Dec 17, 2019 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.