UFM telemetry uses the configuration file launch_ibdiagnet_config.ini to control the process of collecting the data. It collects two types of data: Cable info and port counters.
Port counters are collected periodically by setting the parameter sample_rate in seconds, and collects the counters every iteration.
Cable info data is collected periodically during a week based on time spots set with the parameter cable_info_schedule. Time parameter is in the format “day/hrs:mins”, and for daily collecting it is “hrs:mins”.
It is possible to collect the data many times during the week. To do that use a comma to separate the time spots. For example,
- cable_info_schedule= 5/00:00 # collects cable info data on 5th day of the week at midnight
- cable_info_schedule= 12:00 # collects cable info data midnight 12:00 of everyday
- cable_info_schedule= 5/00:00,12:00 # combines the previous two examples
To work with the collected data, you must access the Telemetry CLI.
Cable Info Data
The main commands to query and retrieve cable info data are cable_times and cable_info.
- cables_times: dump times and file names of cable info data files, and you can redirect the output to a file
- cable_info: dump cable info for a given date or range of dates
The following presents the help menu of the cable_time command:
Example for cable_time command:
Help menu of cable_info command:
Example for cable_info command:
The port_counters command is used to extract data in CSV format. It dumps matching a given fragment/counterset for a date or range of dates.
Help menu of port_counters command:
The following presents the help menu of the port_counters command:
The switch_temperature command is used to dump switch temperature info for a given date or range of dates into CSV files.
The following presents the help menu of the switch_temperature command:
Example for switch_temperature command:
The switch_fans command is used to dump switch fans info for a given date or range of dates into CSV files.
The following presents the help menu of the switch_fans command:
Example for switch_fans command:
The switch_general command is used to dump switch general info for a given date or range of dates into CSV files.
Help menu of switch_ general command:
Example for switch_ general command: