AsterNOS Exporter
此内容尚不支持你的语言。
Table 1 Exporter View
| Command | Purpose |
|---|---|
| show exporter | Display exporter configuration |
show exporter
Section titled “show exporter”[Command] show exporter
[Purpose] Display exporter configuration
[View] Privileged User View
[Use Cases]
sonic# show exporterexporter cache duration: - bgp: default - device: default - evpn: default - sag: default - mclag: default - ntp: default - interface: default - roce_stats: defaultexporter capture interval: - bgp: default - device: default - evpn: default - sag: default - mclag: default - ntp: defaultExporter Config
Section titled “Exporter Config”Table 2 Exporter Config
| Command | Purpose |
|---|---|
| exporter cache-duration {bgp|device|evpn|sag|mclag|ntp|roce_stats|interface} time | Configure the cache duration of each module in the exporter. |
| exporter capture-interval {bgp|device|evpn|sag|mclag|ntp} time | Configure the capture time interval for each module of the exporter. |
| exporter millisecond_level_monitoring enable | Activate exporter millisecond data collection function. |
exporter cache-duration {bgp|device|evpn|sag|mclag|ntp|roce_stats|interface} time
Section titled “exporter cache-duration {bgp|device|evpn|sag|mclag|ntp|roce_stats|interface} time”[Command] exporter cache-duration {bgp|device|evpn|sag|mclag|ntp|roce_stats|interface} time
[Purpose] Configure the cache duration of each module in the exporter
[Parameters]
| Parameter | Description |
|---|---|
| time | Cache duration, range 1-60 s. |
[View] Global Configuration View
[Notes] Run command no exporter cache-duration {bgp|device|evpn|sag|mclag|ntp|roce_stats|interface} to delete the cache duration configuration of each module and restore the default configuration. The default values for each module are as follows: bgp、evpn、sag :25-30s device、mclag、ntp:15s roce_stats、interface:1s
[Use Cases]
sonic# configuresonic(config)# exporter cache-duration bgp 15exporter capture-interval {bgp|device|evpn|sag|mclag|ntp} time
Section titled “exporter capture-interval {bgp|device|evpn|sag|mclag|ntp} time”[Command] exporter capture-interval {bgp|device|evpn|sag|mclag|ntp} time
[Purpose] Configure the capture time interval for each module of the exporter
[Parameters]
| Parameter | Description |
|---|---|
| time | Capture time interval, range 1-60 s. |
[View] Global Configuration View
[Notes] Run command no exporter capture-interval {bgp|device|evpn|sag|mclag|ntp} to delete the capture time interval configuration of each module and restore the default configuration. The default value for all modules is 30s.
[Use Cases]
sonic# configuresonic(config)# exporter capture-interval bgp 15exporter millisecond_level_monitoring enable
Section titled “exporter millisecond_level_monitoring enable”[Command] exporter millisecond_level_monitoring enable
[Purpose] Activate exporter millisecond data collection function
[View] Global Configuration View
[Notes] Enable the millisecond-level data acquisition function for the interface and RoCE modules only, with an interval of 500 ms. Run command no exporter millisecond_level_monitoring to turn off the millisecond-level data collection function.
[Use Cases]
sonic# configuresonic(config)# exporter millisecond_level_monitoring enable