04-22-2003 05:59 PM - edited 03-02-2019 06:48 AM
What is the best practices for SNMP polling ? Should I directly polled the targeted interface or should I only ping the router's loopback IP address, so that from that I can retrieve the MIB for all the interfaces that I am interested in ? This is including those interfaces that are not reachable due to the security design reason (bcs of no routing, ACL filtering, etc).
I look forward to the anwser to this. Thanks ! :-)
04-22-2003 06:07 PM
As long as you dont poll the device too frequently at very short intervals like every sec or so, it should be ok. http://www.cisco.com/warp/public/126/NMS_bestpractice.html is also relevant.
04-22-2003 06:23 PM
Can you please give me a sample of configuration on how to do it ? Thanks ! :-)
04-23-2003 11:22 AM
Performance and Fault Management, ISBN: 1578701805 by Cisco Press is also a good reference.
04-23-2003 09:45 AM
Hello,
I would always poll the loopback if possible. This would allow you to monitor the device's interfaces and not count on a single interface. You can use the ifEntry table to determine if all interfaces on a device are up/down.
It also depends on the tool you are using as to the best means of polling. Some tools you have to configure what you are polling in advance and others you can walk the table.
Also to get only the interesting interfaces I use mutliple SNMP variables...I have our team place KEYWORDS on an interface description and then I poll for the ifXEntry.ifAlias and parse on that KEYWORD (PORT, ATM,etc...) and from that I then look at the ifEntry table for status...If there isnt a KEYWORD I dont care about the interface.
Cheers!
Jim
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