diff options
author | Mario Trangoni <mario@mariotrangoni.de> | 2018-10-04 15:05:59 +0200 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2018-10-04 15:05:59 +0200 |
commit | 3659260b66e304ca5692354493c6828764c56897 (patch) | |
tree | d771a4d1142e1f230a1fbcc158f9dd6db2f9eaea /collector/fixtures/e2e-output.txt | |
parent | 0f9842f20a036d2db8f29102e6bc0cd7b1672865 (diff) | |
download | prometheus_node_collector-3659260b66e304ca5692354493c6828764c56897.tar.bz2 prometheus_node_collector-3659260b66e304ca5692354493c6828764c56897.tar.xz prometheus_node_collector-3659260b66e304ca5692354493c6828764c56897.zip |
infiniband: Handle iWARP* RDMA modules N/A (#974)
* infiniband: Add not connected i40iw0/ports/1 fixtures
* infiniband: Handle issue when iWARP* RDMA modules are not available
This is related to #966, and handle this error,
Jun 07 13:33:24 hostname node_exporter[81888]: time="2018-06-07T13:33:24+02:00" level=error msg="ERROR: infiniband
collector failed after 0.000929s: strconv.ParseUint: parsing \"N/A (no PMA)\": invalid syntax" source="collector.go:132"
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Diffstat (limited to 'collector/fixtures/e2e-output.txt')
-rw-r--r-- | collector/fixtures/e2e-output.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/collector/fixtures/e2e-output.txt b/collector/fixtures/e2e-output.txt index 9e24ada..5f0b8ac 100644 --- a/collector/fixtures/e2e-output.txt +++ b/collector/fixtures/e2e-output.txt | |||
@@ -787,10 +787,12 @@ node_infiniband_legacy_unicast_packets_transmitted_total{device="mlx4_0",port="1 | |||
787 | node_infiniband_legacy_unicast_packets_transmitted_total{device="mlx4_0",port="2"} 61239 | 787 | node_infiniband_legacy_unicast_packets_transmitted_total{device="mlx4_0",port="2"} 61239 |
788 | # HELP node_infiniband_link_downed_total Number of times the link failed to recover from an error state and went down | 788 | # HELP node_infiniband_link_downed_total Number of times the link failed to recover from an error state and went down |
789 | # TYPE node_infiniband_link_downed_total counter | 789 | # TYPE node_infiniband_link_downed_total counter |
790 | node_infiniband_link_downed_total{device="i40iw0",port="1"} 0 | ||
790 | node_infiniband_link_downed_total{device="mlx4_0",port="1"} 0 | 791 | node_infiniband_link_downed_total{device="mlx4_0",port="1"} 0 |
791 | node_infiniband_link_downed_total{device="mlx4_0",port="2"} 0 | 792 | node_infiniband_link_downed_total{device="mlx4_0",port="2"} 0 |
792 | # HELP node_infiniband_link_error_recovery_total Number of times the link successfully recovered from an error state | 793 | # HELP node_infiniband_link_error_recovery_total Number of times the link successfully recovered from an error state |
793 | # TYPE node_infiniband_link_error_recovery_total counter | 794 | # TYPE node_infiniband_link_error_recovery_total counter |
795 | node_infiniband_link_error_recovery_total{device="i40iw0",port="1"} 0 | ||
794 | node_infiniband_link_error_recovery_total{device="mlx4_0",port="1"} 0 | 796 | node_infiniband_link_error_recovery_total{device="mlx4_0",port="1"} 0 |
795 | node_infiniband_link_error_recovery_total{device="mlx4_0",port="2"} 0 | 797 | node_infiniband_link_error_recovery_total{device="mlx4_0",port="2"} 0 |
796 | # HELP node_infiniband_multicast_packets_received_total Number of multicast packets received (including errors) | 798 | # HELP node_infiniband_multicast_packets_received_total Number of multicast packets received (including errors) |
@@ -803,10 +805,12 @@ node_infiniband_multicast_packets_transmitted_total{device="mlx4_0",port="1"} 16 | |||
803 | node_infiniband_multicast_packets_transmitted_total{device="mlx4_0",port="2"} 0 | 805 | node_infiniband_multicast_packets_transmitted_total{device="mlx4_0",port="2"} 0 |
804 | # HELP node_infiniband_port_data_received_bytes_total Number of data octets received on all links | 806 | # HELP node_infiniband_port_data_received_bytes_total Number of data octets received on all links |
805 | # TYPE node_infiniband_port_data_received_bytes_total counter | 807 | # TYPE node_infiniband_port_data_received_bytes_total counter |
808 | node_infiniband_port_data_received_bytes_total{device="i40iw0",port="1"} 0 | ||
806 | node_infiniband_port_data_received_bytes_total{device="mlx4_0",port="1"} 1.8527668e+07 | 809 | node_infiniband_port_data_received_bytes_total{device="mlx4_0",port="1"} 1.8527668e+07 |
807 | node_infiniband_port_data_received_bytes_total{device="mlx4_0",port="2"} 0 | 810 | node_infiniband_port_data_received_bytes_total{device="mlx4_0",port="2"} 0 |
808 | # HELP node_infiniband_port_data_transmitted_bytes_total Number of data octets transmitted on all links | 811 | # HELP node_infiniband_port_data_transmitted_bytes_total Number of data octets transmitted on all links |
809 | # TYPE node_infiniband_port_data_transmitted_bytes_total counter | 812 | # TYPE node_infiniband_port_data_transmitted_bytes_total counter |
813 | node_infiniband_port_data_transmitted_bytes_total{device="i40iw0",port="1"} 0 | ||
810 | node_infiniband_port_data_transmitted_bytes_total{device="mlx4_0",port="1"} 1.493376e+07 | 814 | node_infiniband_port_data_transmitted_bytes_total{device="mlx4_0",port="1"} 1.493376e+07 |
811 | node_infiniband_port_data_transmitted_bytes_total{device="mlx4_0",port="2"} 0 | 815 | node_infiniband_port_data_transmitted_bytes_total{device="mlx4_0",port="2"} 0 |
812 | # HELP node_infiniband_unicast_packets_received_total Number of unicast packets received (including errors) | 816 | # HELP node_infiniband_unicast_packets_received_total Number of unicast packets received (including errors) |