nbcli_get_stat.md
June 29, 2022 ยท View on GitHub
nbcli get stat
Get netbox object (server, virtual machine, ipaddress, vlan etc.) statistics
nbcli get stat [flags]
Examples
get stat --type server --entry <hostname>
get stat --type vm --entry <hostname> --out json
get stat --type ip4 --entry 192.168.1.1/24
Options
-e, --entry string entry (hostname, address etc)
-h, --help help for stat
-t, --type string type of entry (valid types: [ip vlan vm tenant server switch])
Options inherited from parent commands
--config string config file (default is configs/config.yaml)
--out string output format [yaml, json] (default "yaml")
SEE ALSO
- nbcli get - A brief description