Examples, Logging output – RuggedCom RuggedRouter RX1100 User Manual
Page 187
18. Link Backup
Revision 1.14.3
187
RX1000/RX1100™
• 'interface' is the main interface as configured for the link backup.
• 'begin' is the time the test is scheduled to begin, in 24-hour HH:MM format.
• 'stop' is the time the test is scheduled to stop, in 24-hour HH:MM format.
• 'command' is either 'start', in which case -i, -b and -s must be specified, or 'cancel', which only
requires -i to be specified.
18.2.7.1. Examples
In order to schedule a link backup test on eth1 at 10:30AM that will last for 10 minutes:
blinktest -i eth1 -b 10:30 -s 10:40 start
In order to cancel this test, or to terminate it before the 'stop' time:
blinktest -i eth1 cancel
18.2.7.2. Logging output
blinktest logs activity and any error conditions to the system log file:
/var/log/messages
and to
the serial console. The following items are logged:
• scheduled begin and stop times of a test and the main interface name of the link backup
configuration under test
• actual 'begin' time of a test
• actual 'stop' time of a test
• cancellation of a test
• any errors
Log messages have the following format:
• date and time
• router host name
• application name (blinktest)
• blinktest version
• status (OK or ERROR)
• message string
Some example log messages follow:
Mar 29 14:57:43 brouter blinktest 1.0: OK link eth3 backup test STOP scheduled for: Mar 29
14:59:00 2010
Mar 29 14:57:43 brouter blinktest 1.0: OK link eth3 backup test BEGIN scheduled for: Mar 29
14:58:00 2010
Please note that the scheduled date/time shown in the above log messages is the actual
scheduled date/time as reported by the 'at' utility.
When the tests actually begins or stop the following is shown:
Mar 29 12:40:00 brouter blinktest: backup link test BEGIN
Mar 29 12:41:00 brouter blinktest: backup link test STOP
Some example error messages: