Smokeping::probes::IOSPing
Cisco IOS Probe for SmokePing
- Provided by: smokeping (Version: 2.7.3-2ubuntu20.04.1)
- Report a bug
Cisco IOS Probe for SmokePing
*** Probes *** +IOSPing binary = /usr/bin/rsh # mandatory forks = 5 offset = 50% packetsize = 56 step = 300 timeout = 15 # The following variables can be overridden in each target section ioshost = my.cisco.router # mandatory iosint = Ethernet 1/0 iosuser = admin pings = 5 # [...] *** Targets *** probe = IOSPing # if this should be the default probe # [...] + mytarget # probe = IOSPing # if the default probe is something else host = my.host ioshost = my.cisco.router # mandatory iosint = Ethernet 1/0 iosuser = admin pings = 5
Integrates Cisco IOS as a probe into smokeping. Uses the rsh / remsh protocol to run a ping from an IOS device.
Supported probe-specific variables:
/path/to/binary [ -l user ] router ping
to produce the IOS ping dialog on stdin & stdout.
Example value: /usr/bin/rsh
This setting is mandatory.
Example value: 5
Default value: 5
Example value: 50%
Default value: 56
Example value: 300
Example value: 15
Default value: 5
Supported target-specific variables:
Example value: my.cisco.router
This setting is mandatory.
Example value: Ethernet 1/0
Example value: admin
Example value: 5
Paul J Murphy <paul@murph.org>
based on Smokeping::probes::FPing by
Tobias Oetiker <tobi@oetiker.ch>
The IOS device must have rsh enabled and an appropriate trust defined, eg:
!
ip rcmd rsh-enable
ip rcmd remote-host smoke 192.168.1.2 smoke enable
!
Some IOS devices have a maximum of 5 VTYs available, so be careful not to hit a limit with the 'forks' variable.
It is not possible to use password authentication with rsh or remsh due to fundamental limitations of the protocol.
The FPing manpage has the following to say on the topic of ping packet size:
Number of bytes of ping data to send. The minimum size (normally 12) allows room for the data that fping needs to do its work (sequence number, timestamp). The reported received data size includes the IP header (normally 20 bytes) and ICMP header (8 bytes), so the minimum total size is 40 bytes. Default is 56, as in ping. Maximum is the theoretical maximum IP datagram size (64K), though most systems limit this to a smaller, system-dependent number.