update fixtures / e2e test for fibre channel

Signed-off-by: mhiles <hiles@hpe.com>
This commit is contained in:
mhiles 2020-07-13 09:30:19 -04:00
parent 62403d6748
commit 076c953488
3 changed files with 178 additions and 0 deletions

View file

@ -629,6 +629,48 @@ node_edac_uncorrectable_errors_total{controller="0"} 5
node_entropy_available_bits 1337 node_entropy_available_bits 1337
# HELP node_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which node_exporter was built. # HELP node_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which node_exporter was built.
# TYPE node_exporter_build_info gauge # TYPE node_exporter_build_info gauge
# HELP node_fibrechannel_error_frames Number of errors in frames
# TYPE node_fibrechannel_error_frames counter
node_fibrechannel_error_frames{host="host0"} 0
# HELP node_fibrechannel_fcp_packet_aborts Number of aborted packets
# TYPE node_fibrechannel_fcp_packet_aborts counter
node_fibrechannel_fcp_packet_aborts{host="host0"} 19
# HELP node_fibrechannel_info Non-numeric data from /sys/class/fc_host/<host>, value is always 1.
# TYPE node_fibrechannel_info gauge
node_fibrechannel_info{dev_loss_tmo="30",fabric_name="0",host="host0",port_id="000002",port_name="1000e0071bce95f2",port_state="Online",port_type="Point-To-Point (direct nport connection)",speed="16 Gbit",supported_classes="Class 3",supported_speeds="4 Gbit, 8 Gbit, 16 Gbit",symbolic_name="Emulex SN1100E2P FV12.4.270.3 DV12.4.0.0. HN:gotest. OS:Linux"} 1
# HELP node_fibrechannel_invalid_crc_count Invalid Cyclic Redundancy Check count
# TYPE node_fibrechannel_invalid_crc_count counter
node_fibrechannel_invalid_crc_count{host="host0"} 2
# HELP node_fibrechannel_invalid_tx_word_count Number of invalid words transmitted by host port
# TYPE node_fibrechannel_invalid_tx_word_count counter
node_fibrechannel_invalid_tx_word_count{host="host0"} 8
# HELP node_fibrechannel_link_failure_count Number of times the host port link has failed
# TYPE node_fibrechannel_link_failure_count counter
node_fibrechannel_link_failure_count{host="host0"} 9
# HELP node_fibrechannel_loss_of_signal_count Number of times signal has been lost
# TYPE node_fibrechannel_loss_of_signal_count counter
node_fibrechannel_loss_of_signal_count{host="host0"} 17
# HELP node_fibrechannel_loss_of_sync_count Number of failures on either bit or transmission word boundaries
# TYPE node_fibrechannel_loss_of_sync_count counter
node_fibrechannel_loss_of_sync_count{host="host0"} 16
# HELP node_fibrechannel_nos_count Number Not_Operational Primitive Sequence received by host port
# TYPE node_fibrechannel_nos_count counter
node_fibrechannel_nos_count{host="host0"} 18
# HELP node_fibrechannel_rx_frames Number of frames received
# TYPE node_fibrechannel_rx_frames counter
node_fibrechannel_rx_frames{host="host0"} 3
# HELP node_fibrechannel_rx_words Number of words received by host port
# TYPE node_fibrechannel_rx_words counter
node_fibrechannel_rx_words{host="host0"} 4
# HELP node_fibrechannel_seconds_since_last_reset Number of seconds since last host port reset
# TYPE node_fibrechannel_seconds_since_last_reset counter
node_fibrechannel_seconds_since_last_reset{host="host0"} 7
# HELP node_fibrechannel_tx_frames Number of frames transmitted by host port
# TYPE node_fibrechannel_tx_frames counter
node_fibrechannel_tx_frames{host="host0"} 5
# HELP node_fibrechannel_tx_words Number of words transmitted by host port
# TYPE node_fibrechannel_tx_words counter
node_fibrechannel_tx_words{host="host0"} 6
# HELP node_filefd_allocated File descriptor statistics: allocated. # HELP node_filefd_allocated File descriptor statistics: allocated.
# TYPE node_filefd_allocated gauge # TYPE node_filefd_allocated gauge
node_filefd_allocated 1024 node_filefd_allocated 1024
@ -2628,6 +2670,7 @@ node_scrape_collector_success{collector="diskstats"} 1
node_scrape_collector_success{collector="drbd"} 1 node_scrape_collector_success{collector="drbd"} 1
node_scrape_collector_success{collector="edac"} 1 node_scrape_collector_success{collector="edac"} 1
node_scrape_collector_success{collector="entropy"} 1 node_scrape_collector_success{collector="entropy"} 1
node_scrape_collector_success{collector="fibrechannel"} 1
node_scrape_collector_success{collector="filefd"} 1 node_scrape_collector_success{collector="filefd"} 1
node_scrape_collector_success{collector="hwmon"} 1 node_scrape_collector_success{collector="hwmon"} 1
node_scrape_collector_success{collector="infiniband"} 1 node_scrape_collector_success{collector="infiniband"} 1

View file

@ -38,6 +38,140 @@ SymlinkTo: ../../../devices/system/node/node1
Directory: sys/class Directory: sys/class
Mode: 755 Mode: 755
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Directory: sys/class/fc_host
Mode: 755
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Directory: sys/class/fc_host/host0
Mode: 755
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/dev_loss_tmo
Lines: 1
30
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/fabric_name
Lines: 1
0x0
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/node_name
Lines: 1
0x2000e0071bce95f2
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/port_id
Lines: 1
0x000002
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/port_name
Lines: 1
0x1000e0071bce95f2
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/port_state
Lines: 1
Online
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/port_type
Lines: 1
Point-To-Point (direct nport connection)
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/speed
Lines: 1
16 Gbit
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Directory: sys/class/fc_host/host0/statistics
Mode: 755
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/dumped_frames
Lines: 1
0xffffffffffffffff
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/error_frames
Lines: 1
0x0
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/fcp_packet_aborts
Lines: 1
0x13
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/invalid_crc_count
Lines: 1
0x2
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/invalid_tx_word_count
Lines: 1
0x8
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/link_failure_count
Lines: 1
0x9
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/loss_of_signal_count
Lines: 1
0x11
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/loss_of_sync_count
Lines: 1
0x10
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/nos_count
Lines: 1
0x12
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/rx_frames
Lines: 1
0x3
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/rx_words
Lines: 1
0x4
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/seconds_since_last_reset
Lines: 1
0x7
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/tx_frames
Lines: 1
0x5
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/statistics/tx_words
Lines: 1
0x6
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/supported_classes
Lines: 1
Class 3
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/supported_speeds
Lines: 1
4 Gbit, 8 Gbit, 16 Gbit
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/fc_host/host0/symbolic_name
Lines: 1
Emulex SN1100E2P FV12.4.270.3 DV12.4.0.0. HN:gotest. OS:Linux
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Directory: sys/class/hwmon Directory: sys/class/hwmon
Mode: 755 Mode: 755
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View file

@ -14,6 +14,7 @@ enabled_collectors=$(cat << COLLECTORS
drbd drbd
edac edac
entropy entropy
fibrechannel
filefd filefd
hwmon hwmon
infiniband infiniband