I have this of my snmp.exe crashing down.I found the problem root coming from core switch Cisco 3560.I tried to remove the core switch configuration from my SNMP configuration and things started to work, I also tried leaving the running the original configuration with the core switch configuration and power down the core switch and things work.With this scenario, what really is causing my snmp.exe to crash?
The problem here is that the manager is requesting ifOperStatus.2, but this instance does not exist on this switch. Since both switches reply with the same noSuchName error, I cannot say why cs1 causes the manager to crash while cs2 does not. That is a question for the Ovation vendor.
What I can tell you is that you will need that snmpwalk of the ifTable to know exactly which ifIndex instances should be polled from these switches. Hopefully, when you poll the correct indexes, the crash will go away.
Wireshark must be running on the Ovation server as that is where the SNMP traffic flow is occurring. You will need to use the capture filter I provided previously to capture the packets between the manager and the cs1 switch. It would also be useful to see the flow between the working, cs2 switch.
I didn't not notice any relevant configuration differences between these two switches, but configuration is only a small part. What software is the backup switch running? Please also provide an snmpwalk of the ifTable from both switches.
What is different about this other, working switch?
The configuration from this device is fine. I am not familiar with Ovation, but it if I read this config correctly, it looks like you're just polling ifOperStatus from all of the interfaces, and looking to see if any are down (value == 2). This doesn't raise any red flags per se.
I would highly urge you to pursue this problem with the Ovation vendor to see if they can provide more details about why their daemon is crashing. But if you want to dig into what SNMP packets are causing the problem, you will need a good sniffer application. I recommend Wireshark (freely downloadable from http://www.wireshark.org) as it is very powerful, and includes Windows binaries.
The idea is you will need to filter on udp/161 traffic between your Ovation manager and this switch. When the snmp2ovation.exe crashes, compare the time stamp of the crash to the captured packets. To do this, start a trace using Wireshark with a capture filter of:
host cs1 and udp port 161
Then have snmp2ovation.exe start polling the device. When it crashes, stop the trace, and do the above mentioned analysis.