Metrics

The following sFlow counter based metrics are supported by sFlow-RT. However, the subset of available metrics will depend on the sources of sFlow data and can be queried using REST API /metrics/ or JavaScript metrics() function.

New metrics can be created by Defininig Flows or by sending Custom Metrics.

Interface Identification
NameComment
of_dpidOpenFlow datapath id
of_portOpenFlow port number
ifnameOpenFlow port name or SNMP ifName
Generic Interface Metrics
NameComment
ifinoctets
iftypeethernetCsmacd | iso88023Csmacd | ...
ifspeed
ifdirectionunknown | full-duplex | half-duplex | in | out
ifadminstatusup | down
ifoperstatusup | down
ifinoctets
ifinucastpkts
ifinmulticastpkts
ifinbroadcastpkts
ifindiscards
ifinerrors
ifinunknownprotos
ifinutilization
ifinoctets
ifinpkds
ifoutoctets
ifoutucastpkts
ifoutmulticastpkts
ifoutbroadcastpkts
ifoutdiscards
ifouterrors
ifoututilization
ifoutpkts
Ethernet Interface Metrics
NameComment
eth_alignmenterrors
eth_fcserrors
eth_singlecollisions
eth_multiplecollisions
eth_sqetesterrors
eth_deferredtx
eth_latecollision
eth_excessivecollisions
eth_internalmactxerrors
eth_carriersenseerrors
eth_toolongs
eth_internalmacrxerrors
eth_symbolerrors
WiFi Interface Metrics
NameComment
wifi_txfragments
wifi_txmulticasts
wifi_failures
wifi_retries
wifi_multiretries
wifi_duplicates
wifi_rtssuccesses
wifi_ackfailures
wifi_rxfragments
wifi_rxmulticasts
wifi_fcserrors
wifi_txframes
wifi_wepunencryptable
wifi_qosdiscardedfragments
wifi_associations
wifi_qoscfprx
wifi_qoscfpunused
wifi_qoscfpunuseable
wifi_qoscfplost
radio_on_channel
radio_on_channel_busy
LAG Interface Metrics

See Link aggregation for discussion of sFlow LAG reporting.

NameComment
agg_actorsystemid
agg_partneropersystemid
agg_attachedaggid
agg_actoradminstate
agg_actoroperstate
agg_partneradminstate
agg_partneroperstate
agg_lacpdusrx
agg_markerpdusrx
agg_markerresponsepdusrx
agg_unknownrx
agg_illegalrx
agg_lacppdustx
agg_markerpdustx
agg_markerresponsepdustx
Optical Interface Metrics

See Lasers! for discussion of optical monitoring.

NameComment
opt_module_idInteger identifying optics module within device
opt_module_lanesTotal number of optical lanes in module
opt_module_voltageModule supply voltage (mW)
opt_module_temperatureModule temperature (thousandths of a degree Celsius
opt_num_lanesNumber of lanes associated with this switch port
opt_index_<N>1-based index of lane within module, 0=unknown
opt_tx_bias_<N>Lane N transmit bias (microamps)
opt_tx_power_<N>Lane N transmit power (microwatts)
opt_tx_power_min_<N>Lane N min transmit power limit (microwatts)
opt_tx_power-max_<N>Lane N max transmit power limit (microwatts)
opt_tx_wavelength_<N>Lane N transmit wavelength (nanometers)
opt_rx_power_<N>Lane N receive power (microwatts)
opt_rx_power_min_<N>Lane N min receive power limit (microwatts)
opt_rx_power_max_<N>Lane N max receive power limit (microwatts)
opt_rx_wavelength_<N>Lane N receive wavelength (nanometers)
Switch Processor Metrics
NameComment
cpu_5sec
cpu_1min
cpu_5min
mem_free
mem_total
mem_utilization
Host Identification
NameComment
host_name
os_release
uuid
machine_typeunknown | other | x86 | x86_64 | powerpc | arm | ...
os_nameunknown | other | linux | windows | ...
VM Identification
NameComment
vir_host_name
vir_os_release
vir_uuid
vir_machine_typeunknown | other | x86 | x86_64 | powerpc | arm | ...
vir_os_nameunknown | other | linux | windows | ...
host_parent
Host CPU Metrics
NameComment
load_one
load_five
load_fifteen
proc_run
proc_total
cpu_num
cpu_speed
uptime
cpu_user
cpu_nice
cpu_system
cpu_idle
cpu_wio
cpu_intr
cpu_sintr
cpu_utilization
interrupts
contexts
cpu_steal
cpu_guest
cpu_guest_nice
load_one_per_cpu
load_five_per_cpu
load_fifteen_per_cpu
Host Memory Metrics
NameComment
mem_total
mem_free
mem_shared
mem_buffers
mem_cached
swap_total
swap_free
page_in
page_out
swap_in
mem_utilization100 * (mem_total - mem_free - mem_buffers - mem_cached) / mem_total
Host Disk I/O Metrics
NameComment
disk_total
disk_free
part_max_used
reads
bytes_read
read_time
writes
bytes_written
write_time
disk_utilization100 * (disk_total - disk_free) / disk_total
Host Network I/O Metrics
NameComment
bytes_in
pkts_in
errs_in
drops_in
bytes_out
pkts_out
errs_out
drops_out
Host IP Metrics
NameComment
ip_forwarding
ip_defaultttl
ip_inreceives
ip_inhdrerrors
ip_inaddrerrors
ip_forwdatagrams
ip_inunknownprotos
ip_indiscards
ip_indelivers
ip_outrequests
ip_outdiscards
ip_outnoroutes
ip_reasmtimeout
ip_reasmreqds
ip_reasmoks
ip_reasmfails
ip_fragoks
ip_fragfails
ip_fragcreates
Host ICMP Metrics
NameComment
icmp_inmsgs
icmp_inerrors
icmp_indestunreachs
icmp_intimeexcds
icmp_inparamprobs
icmp_insrcquenchs
icmp_inredirects
icmp_inechos
icmp_inechoreps
icmp_intimestamps
icmp_inaddrmasks
icmp_inaddrmaskreps
icmp_outmsgs
icmp_outerrors
icmp_outdestunreachs
icmp_outtimeexcds
icmp_outparamprobs
icmp_outsrcquenchs
icmp_outredirects
icmp_outechos
icmp_outechoreps
icmp_outtimestamps
icmp_outtimestampreps
icmp_outaddrmasks
icmp_outaddrmaskreps
Host TCP Metrics
NameComment
tcp_rtoalgorithm
tcp_rtomin
tcp_rtomax
tcp_maxconn
tcp_activeopens
tcp_passiveopens
tcp_attemptfails
tcp_estabresets
tcp_currestab
tcp_insegs
tcp_outsegs
tcp_retranssegs
tcp_inerrs
tcp_outrsts
tcp_incsumerrs
Host UDP Metrics
NameComment
udp_indatagrams
udp_noports
udp_inerrors
udp_outdatagrams
udp_rcvbuferrors
udp_sndbuferrors
udp_incsumerrors
Host Virtualization Node Metrics
NameComment
node_cpu_mhz
node_cpus
node_mem_total
node_mem_free
node_domains
Virtual Machine CPU Metrics
NameComment
vir_cpu_statenostate | running | blocked | ...
vir_cpu_utilization
vir_cpu_num
Virtual Machine Memory Metrics
NameComment
vir_mem_used
vir_mem_total
vir_mem_free
vir_mem_utilization
Virtual Machine Disk I/O Metrics
NameComment
vir_disk_capacity
vir_disk_allocation
vir_disk_physical
vir_reads
vir_bytes_read
vir_writes
vir_bytes_written
vir_errors
Virtual Machine Network I/O Metrics
NameComment
vir_bytes_in
vir_pkts_in
vir_errs_in
vir_drops_in
vir_bytes_out
vir_pkts_out
vir_errs_out
vir_drops_out
Java Virtual Machine Metrics

See sFlow Blog for articles on Java sFlow

NameComment
jvm_name
jvm_vendor
jvm_version
jvm_heap_initial
jvm_heap_used
jvm_heap_committed
jvm_heap_max
jvm_non_heap_initial
jvm_non_heap_used
jvm_non_heap_committed
jvm_non_heap_max
jvm_gc_count
jvm_gc_utilization
jvm_compilation_utilization
jvm_classes_loaded
jvm_classes_unloaded
jvm_classes_total
jvm_thread_live
jvm_thread_daemon
jvm_thread_started
jvm_fds_open
jvm_fds_max
HTTP Metrics

See sFlow Blog for articles on HTTP sFlow

NameComment
http_method_option
http_method_get
http_method_head
http_method_post
http_method_put
http_method_delete
http_method_trace
http_method_connect
http_method_other
http_status_1xx
http_status_2xx
http_status_3xx
http_status_4xx
http_status_5xx
http_status_other
http_requests
Generic Application Metrics
NameComment
app_success
app_other
app_timeout
app_internal_error
app_bad_request
app_forbidden
app_too_large
app_not_implemented
app_not_found
app_unavailable
app_unauthorized
app_requests
Application Resource Metrics
NameComment
app_usertime
app_systime
app_mem_used
app_mem_max
app_mem_utilization
app_fd_open
app_fd_max
app_fd_utilization
app_conn_open
app_conn_max
app_conn_utilization
Application Worker Pool Metrics

See Thread pools for discussion of sFlow worker pool reporting.

NameComment
workers_active
workers_idle
workers_max
workers_utilization
req_delayed
req_dropped
Open vSwitch Datapath Metrics

See Open vSwitch performance monitoring for discussion of sFlow datapath metrics.

NameComment
ovs_dp_hits
ovs_dp_misses
ovs_dp_lost
ovs_dp_hitrate
ovs_dp_missrate
ovs_dp_flows
ovs_dp_masks
ovs_dp_mask_hits
ovs_dp_maskhitsperpacket
Memcache Metrics

See sFlow Blog for articles on Memcache sFlow.

NameComment
memcache_cmdset
memcache_cmdtouch
memcache_cmdflush
memcache_gethits
memcache_getmisses
memcache_deletehits
memcache_deletemisses
memcache_incrhits
memcache_incrmisses
memcache_decrhits
memcache_decrmisses
memcache_cashits
memcache_casmisses
memcache_casbadval
memcache_authcmds
memcache_autherrors
memcache_threads
memcache_connectionyields
memcache_listendisabled
memcache_currentconnections
memcache_rejectedconnections
memcache_connections
memcache_connectionstructures
memcache_evictions
memcache_reclaimed
memcache_currentitems
memcache_totalitems
memcache_bytesread
memcache_byteswritted
memcache_bytes
memcache_maxbytes
memcache_requests
memcache_hitrate
memcache_missrate
NVIDIA NVML

See GPU performance monitoring for a discussion of GPU metrics

NameComment
nvml_devicecount
nvml_processes
nvml_gputime
nvml_memtime
nvml_memtotal
nvml_memfree
nvml_eccerrors
nvml_power
nvml_temperature
nvml_fanspeed
Broadcom ASIC Table Utilization Metrics

See Broadcom ASIC table utilization metrics, DevOps, and SDN for a discussion of monitoring Broadcom based switch resources using sFlow.

NameComment
bcm_host_entries
bcm_host_entries_max
bcm_host_utilization
bcm_ipv4_entries
bcm_ipv4_entries_max
bcm_ipv4_utilization
bcm_ipv6_entries
bcm_ipv6_entries_max
bcm_ipv6_utilization
bcm_ipv4_ipv6_entries
bcm_ipv4_ipv6_entries_max
bcm_ipv4_ipv6_utilization
bcm_long_ipv6_entries
bcm_long_ipv6_entries_max
bcm_long_ipv6_utilization
bcm_total_routes
bcm_total_routes_max
bcm_total_routes_utilization
bcm_ecmp_nexthops
bcm_ecmp_nexthops_max
bcm_ecmp_nexthops_utilization
bcm_mac_entries
bcm_mac_entries_max
bcm_mac_utilization
bcm_ipv4_neighbors
bcm_ipv6_neighbors
bcm_ipv4_routes
bcm_ipv6_routes
bcm_acl_ingress_entries
bcm_acl_ingress_entries_max
bcm_acl_ingress_utilization
bcm_acl_ingress_counters
bcm_acl_ingress_counters_max
bcm_acl_ingress_counters_utilization
bcm_acl_ingress_meters
bcm_acl_ingress_meters_max
bcm_acl_ingress_meters_utilization
bcm_acl_ingress_slices
bcm_acl_ingress_slices_max
bcm_acl_ingress_slices_utilization
bcm_acl_egress_entries
bcm_acl_egress_entries_max
bcm_acl_egress_utilization
bcm_acl_egress_counters
bcm_acl_egress_counters_max
bcm_acl_egress_counters_utilization
bcm_acl_egress_meters
bcm_acl_egress_meters_max
bcm_acl_egress_meters_utilization
bcm_acl_egress_slices
bcm_acl_egress_slices_max
bcm_acl_egress_slices_utilization