Scheduling Online Diagnostics
Scheduling Online Diagnostics
You can schedule online diagnostics to run at a designated time of day or on a daily, weekly, or monthly
basis for a specific switch. Use the no form of this command to remove the scheduling.
Beginning in global configuration mode, use this command to schedule online diagnostics:
Command
diagnostic schedule test {test_id | test_id_range | all | basic
| non-disruptive} {daily hh:mm | on mm dd yyyy hh:mm} |
weekly day_of_week hh:mm}
This example shows how to schedule diagnostic testing on a specific date and time for a specific switch:
Switch(config)# diagnostic schedule test 1,2,4-6 on january 3 2006 23:32
This example shows how to schedule diagnostic testing to occur weekly at a certain time for a specific
switch:
Switch(config)# diagnostic schedule test 1,2,4-6 weekly friday 09:23
Configuring Health-Monitoring Diagnostics
You can configure health-monitoring diagnostic testing while the switch is connected to a live network.
You can configure the execution interval for each health-monitoring test, whether or not to generate a
system message upon a test failure, or to enable or disable an individual test. Use the no form of this
command to disable testing.
Beginning in global configuration mode, use these commands to configure health-monitoring
diagnostics:
Command
diagnostic monitor interval test {test_id |
test_id_range} hour:mm:ss milliseconds day
diagnostic monitor syslog
diagnostic monitor threshold test {test_id |
test_id_range} failure count count
Use the no diagnostic monitor interval test {test-id | test-id-range} global configuration command to
change the interval to the default value or to zero. Use the no diagnostic monitor syslog command to
disable generation of syslog messages when a health-monitoring test fails. Use the diagnostic monitor
threshold test {test_id | test_id_range} failure count command to remove the failure threshold.
This example shows how to configure the specified test to run every 2 minutes:
Switch(config)# diagnostic monitor interval test 1 00:02:00 0 1
This example shows how to set the failure threshold for test monitoring on a switch:
Switch(config)# diagnostic monitor threshold test 1 failure count 50
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
41-2
Purpose
Schedule on-demand diagnostic tests for a specific date and
time, how many times to run the test (iterations), and what
action to take when errors are found.
Purpose
Configure the health-monitoring interval of the specified tests. By
default, monitoring is disabled.
Enable the generation of a syslog message for health-monitoring
test failures. By default, syslog is disabled.
Set the failure threshold for monitoring tests. By default,
monitoring is disabled.
Chapter 41
Configuring Online Diagnostics
OL-8915-03