Smokeping_probes_CiscoRTTMonTcpConnect(3) | SmokePing | Smokeping_probes_CiscoRTTMonTcpConnect(3) |
Smokeping::probes::CiscoRTTMonTcpConnect - Probe for SmokePing
*** Probes *** +CiscoRTTMonTcpConnect forks = 5 offset = 50% step = 300 timeout = 15 # The following variables can be overridden in each target section ioshost = RTTcommunity@Myrouter.foobar.com.au # mandatory iosint = 10.33.22.11 pings = 5 port = 80 timeout = 15 tos = 160 # [...] *** Targets *** probe = CiscoRTTMonTcpConnect # if this should be the default probe # [...] + mytarget # probe = CiscoRTTMonTcpConnect # if the default probe is something else host = my.host ioshost = RTTcommunity@Myrouter.foobar.com.au # mandatory iosint = 10.33.22.11 pings = 5 port = 80 timeout = 15 tos = 160
A probe for smokeping, which uses the ciscoRttMon MIB functionality ("Service Assurance Agent", "SAA") of Cisco IOS to measure TCP connect times between a Cisco router and a TCP server. The measured value is the time is the time to establish a TCP session, i.e. the time between the initial "SYN" TCP packet of the router and the "SYN ACK" packet of the host. The router terminates the TCP session immediately after the reception of "SYN ACK" with a "FIN" packet.
Supported probe-specific variables:
Example value: 5
Default value: 5
Example value: 50%
Example value: 300
Example value: 15
Default value: 5
Supported target-specific variables:
Example value: RTTcommunity@Myrouter.foobar.com.au
This setting is mandatory.
Example value: 10.33.22.11
Example value: 5
Default value: 80
Example value: 15
Default value: 15
Example value: 160
Default value: 0
Joerg.Kummer at Roche.com
This probe only works with Cisco IOS 12.0(3)T or higher. It is recommended to test it on less critical routers first.
To install this probe copy ciscoRttMonMIB.pm to ($SMOKEPINGINSTALLDIR)/Smokeping/lib and CiscoRTTMonTcpConnect.pm to ($SMOKEPINGINSTALLDIR)/lib/Smokeping/probes. V0.97 or higher of Simon Leinen's SNMP_Session.pm is required.
The router(s) must be configured to allow read/write SNMP access. Sufficient is:
snmp-server community RTTCommunity RW
If you want to be a bit more restrictive with SNMP write access to the router, then consider configuring something like this
access-list 2 permit 10.37.3.5 snmp-server view RttMon ciscoRttMonMIB included snmp-server community RTTCommunity view RttMon RW 2
The above configuration grants SNMP read-write only to 10.37.3.5 (the smokeping host) and only to the ciscoRttMon MIB tree. The probe does not need access to SNMP variables outside the RttMon tree.
The probe establishes unnecessary connections, i.e. more than configured in the "pings" variable, because the RTTMon MIB only allows to set a total time for all connections in one measurement run (one "life"). Currently the probe sets the life duration to "pings"*5+3 seconds (5 secs is the timeout value hardcoded into this probe).
<http://oss.oetiker.ch/smokeping/>
<http://www.switch.ch/misc/leinen/snmp/perl/>
The best source for background info on SAA is Cisco's documentation on <http://www.cisco.com> and the CISCO-RTTMON-MIB documentation, which is available at: <ftp://ftp.cisco.com/pub/mibs/v2/CISCO-RTTMON-MIB.my>
2022-10-15 | 2.7.3 |