nv show system stats
|
|
nv show system stats Shows the system statistics collection settings. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.2002 | 25.02.3000 Updated command output | 25.03.20xx Updated command output |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/system/stats |
|
Related Commands |
nv set/unset system stats state |
|
Notes |
|
nv show system stats category
|
|
nv show system stats category [<category-id>] Shows the statistics categories, or the settings of a specific category. |
|
|
Syntax Description |
category-id |
The category name; for example, fan. |
|
Default |
N/A |
|
|
History |
25.02.2002 | 25.02.3000 Updated command output | 25.03.20xx Updated command output |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/stats/category
|
|
|
Related Commands |
nv set/unset system stats category |
|
|
Notes |
|
|
nv show system stats files
|
|
nv show system stats files [<file-name>] Shows the statistics report files, or the content of a specific CSV report file. |
|
|
Syntax Description |
file-name |
The report file name. |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/stats/files
|
|
|
Related Commands |
nv action generate system stats category |
|
|
Notes |
Autocomplete also lists the generated tar file (if one exists), but you can display only CSV files. |
|
nv set/unset system stats state
|
|
nv set system stats state [enabled | disabled]
Enables or disables system statistics collection.
|
|
|
Syntax Description |
N/A |
|
|
Default |
enabled |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/stats |
|
|
Related Commands |
nv show system stats |
|
|
Notes |
|
|
nv set/unset system stats category state
|
|
nv set system stats category <category-id> state [enabled | disabled]
Enables or disables statistics collection for a category.
|
|
|
Syntax Description |
category-id |
The category name; for example, fan. |
|
Default |
enabled |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/stats/category/<category-id> |
|
|
Related Commands |
nv show system stats category |
|
|
Notes |
|
|
nv set/unset system stats category interval
|
|
nv set system stats category <category-id> interval <minutes>
Sets the sampling interval of a category in minutes: 1–1440.
|
|
|
Syntax Description |
category-id |
The category name; for example, fan. |
|
Default |
5 (30 for disk category) |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/stats/category/<category-id> |
|
|
Related Commands |
nv show system stats category |
|
|
Notes |
Sampling interval is in minutes. |
|
nv set/unset system stats category history-duration
|
|
nv set system stats category <category-id> history-duration <days>
Sets how many days of samples a category keeps.
|
|
|
Syntax Description
|
category-id |
The category name; for example, fan. |
|
days |
The number of days: 1–365 (1–7 for the interface, peer-port, and transceivers categories). |
|
|
Default |
365 (7 for the interface, peer-port, and transceivers categories) |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/stats/category/<category-id> |
|
|
Related Commands |
nv show system stats category |
|
|
Notes |
History duration is in days. |
|
nv action clear system stats category
|
|
nv action clear system stats category <category-id> Clears the sampled data of a category. |
|
|
Syntax Description |
category-id |
The category name; for example, fan. |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats/category/<category-id> |
|
|
Related Commands |
nv action generate system stats category |
|
|
Notes |
|
|
nv action clear system stats category
|
|
nv action clear system stats category <category-id> Clears the sampled data of a category. |
|
|
Syntax Description |
category-id |
The category name; for example, fan. |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats/category/<category-id> |
|
|
Related Commands |
nv action generate system stats category |
|
|
Notes |
|
|
nv action generate system stats category
|
|
nv action generate system stats category <category-id> Generates a CSV report file for a category. |
|
|
Syntax Description |
category-id |
The category name; for example, fan. |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats/category/<category-id> |
|
|
Related Commands |
nv show system stats files |
|
|
Notes |
|
|
nv action generate system stats
|
|
nv action generate system stats Generates a tar file with the reports of all categories. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats |
|
|
Related Commands |
nv show system stats files |
|
|
Notes |
|
|
nv action clear system stats
|
|
nv action clear system stats Clears the sampled data of all categories. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats |
|
|
Related Commands |
nv action generate system stats |
|
|
Notes |
|
|
nv action delete system stats files
|
|
nv action delete system stats files <file-name> Deletes a statistics report file. |
|
|
Syntax Description |
file-name |
The report file name. |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats/files/<file-name> |
|
|
Related Commands |
nv action generate system stats category
|
|
|
Notes |
|
|
nv action upload system stats files
|
|
nv action upload system stats files <file-name> <remote-url> Uploads a statistics report file to a remote location. |
|
|
Syntax Description
|
file-name |
The report file name. |
|
remote-url |
Remote URL path to upload the file to.
|
|
|
Default |
N/A |
|
|
History |
25.02.2002
25.02.4002 Added HTTPS support in remote-url
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/stats/files/<file-name> |
|
|
Related Commands |
nv show system stats files |
|
|
Notes |
|
|
Last updated: