[smokeping-users] CiscoRTTMonEchoICMP probe and IOS 15.x
Mateusz Blaszczyk
blahu77 at gmail.com
Mon Mar 8 11:33:01 CET 2010
Hello List,
Just wanted to give a heads up on the issue I had with
CiscoRTTMonEchoICMP probe and new IOS version 15.0.
I have tested and confirmed the problem on 15.0(1)M on both c7206VXR
and c7301 on both adv ip serv and sp serv train.
The main problem is that for some reason the minimal acceptable value
for rttMonCtrlAdminTimeout (or .1.3.6.1.4.1.9.9.42.1.2.1.1.7) is now
5000ms (btw equal to MIB default value).
I propose to increase the variable pingtimeout to 5.
--- /tmp/CiscoRTTMonEchoICMP.pm 2010-03-08 10:17:18.000000000 +0000
+++ CiscoRTTMonEchoICMP.pm 2010-03-05 15:53:39.000000000 +0000
@@ -75,7 +75,7 @@
}
}
-my $pingtimeout =2;
+my $pingtimeout =5;
sub new($$$)
{
Also the probe calculated timeout must be more then 100s so the probe
configuration should be at least:
+CiscoRTTMonEchoICMP
timeout = 10
That way the probe timeout is 201s, enough for all packets to be send
and response to be collected.
Problem in detail:
Any value less the 5000ms results in snmp row values to be refused
with error commitFailed:
Mar 5 15:52:30 server1 smokeping[20588]: SNMP Error: Received SNMP
response with error code error status: commitFailed index 1 (OID:
1.3.6.1.4.1.9.9.42.1.2.1.1.9.20588) SNMPv2c_Session (remote host:
"router1" [IP.IP.IP.IP].161) community:
"community1" request ID: 2130628395
PDU bufsize: 8000 bytes timeout: 2s
retries: 5 backoff: 1) at
/usr/share/perl5/SNMP_util.pm line 828
On cisco side it is failing on the third pass of the snmp oid values:
rttMonCtrlAdminTimeout.$row is set to 2000:
Mar 5 11:58:15.900: SNMP: Packet received via UDP from IP.IP.IP.IP on
GigabitEthernet0/0
Mar 5 11:58:15.900: SNMP: Set request, reqid -154319046, errstat 0, erridx 0
rttMonCtrlAdminStatus.8147 = 5
rttMonCtrlAdminRttType.8147 = 1
rttMonEchoAdminProtocol.8147 = 2
rttMonEchoAdminTargetAddress.8147 = XX.XX.XX.XX
rttMonCtrlAdminTimeout.8147 = 2000
rttMonCtrlAdminFrequency.8147 = 2
rttMonHistoryAdminNumBuckets.8147 = 20
rttMonHistoryAdminNumLives.8147 = 1
rttMonHistoryAdminFilter.8147 = 2
rttMonEchoAdminPktDataRequestSize.8147 = 48
rttMonScheduleAdminRttStartTime.8147 = 1
rttMonScheduleAdminRttLife.8147 = 43
rttMonScheduleAdminConceptRowAgeout.8147 = 60
rttMonEchoAdminTOS.8147 = 0
rttMonCtrlAdminNvgen.8147 = 2
SrDoSnmp: received set pdu
CheckMIBView: OID is in MIB view.
set_row_status: completed successfully.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
do_sets: pass 1 of set request processing done
do_sets: pass 2 of set request processing done
do_sets: set failed, undoing
make_error_pdu: No variables were updated.
The correct minimum value of 5000ms:
Mar 5 15:51:43.262: SNMP: Packet received via UDP from IP.IP.IP.IP on
GigabitEthernet0/0
Mar 5 15:51:43.262: SNMP: Set request, reqid -1506387565, errstat 0, erridx 0
rttMonCtrlAdminStatus.25137 = 5
rttMonCtrlAdminRttType.25137 = 1
rttMonEchoAdminProtocol.25137 = 2
rttMonEchoAdminTargetAddress.25137 = XX.XX.XX.XX
rttMonCtrlAdminTimeout.25137 = 5000
rttMonCtrlAdminFrequency.25137 = 5
rttMonHistoryAdminNumBuckets.25137 = 20
rttMonHistoryAdminNumLives.25137 = 1
rttMonHistoryAdminFilter.25137 = 2
rttMonEchoAdminPktDataRequestSize.25137 = 48
rttMonScheduleAdminRttStartTime.25137 = 1
rttMonScheduleAdminRttLife.25137 = 103
rttMonScheduleAdminConceptRowAgeout.25137 = 60
rttMonEchoAdminTOS.25137 = 0
rttMonCtrlAdminNvgen.25137 = 2
SrDoSnmp: received set pdu
CheckMIBView: OID is in MIB view.
set_row_status: completed successfully.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
do_sets: pass 1 of set request processing done
do_sets: pass 2 of set request processing done
do_sets: pass 3 of set request processing done
Best Regards,
-mat
More information about the smokeping-users
mailing list