Comment
Author: Admin | 2025-04-27
Snapshot file name and location. The default location and file name is /var/run/cumulus/histogram_stats.Configure the number of snapshots to create before Cumulus Linux overwrites the first snapshot file. For example, if you set the snapshot file count to 30, the first snapshot file is histogram_stats_0 and the 30th snapshot is histogram_stats_30. After the 30th snapshot, Cumulus Linux overwrites the original snapshot file (histogram_stats_0) and the sequence restarts. The default value is 64.Snapshots provide you with more data; however, they can occupy a lot of disk space on the switch. To reduce disk usage, you can use a volatile partition for the snapshot files; for example, /var/run/cumulus/histogram_stats.The following example creates the /var/run/cumulus/histogram_stats snapshot every 5 seconds. The number of snapshots that you can create before the first snapshot file is overwritten is set to 30.NVUE Commandscumulus@switch:~$ nv set service telemetry snapshot-file name /var/run/cumulus/histogram_statscumulus@switch:~$ nv set service telemetry snapshot-file count 30cumulus@switch:~$ nv set service telemetry snapshot-interval 5cumulus@switch:~$ nv config applyLinux CommandsEdit the snapshot.file settings in the /etc/cumulus/datapath/monitor.conf file, then restart the asic-monitor service with the systemctl restart asic-monitor.service command. The asic-monitor service reads the new configuration file and then runs until you stop the service with the systemctl stop asic-monitor.service command.SettingDescription.action_listSpecifies one or more actions that occur when data collects:snapshot writes a snapshot of the data collection results to a file. If you specify this action, you must also specify a snapshot file (described below). You can also specify a threshold that initiates the snapshot action.Example:monitor.histogram_pg.action_list = [snapshot]collect gathers additional data. If you
Add Comment