In FastNetMon we have complete support for Prometheus based monitoring. It can be enabled this way (please do not use 0.0.0.0 for production setups and use private ranges for security reasons):

sudo fcli set main prometheus enable
sudo fcli set main prometheus_host 0.0.0.0
sudo fcli set main prometheus_port 9209
sudo fcli commit

After that, you will be able to access metrics via standard Prometheus interface from http://127.0.0.1:9209/metrics

FastNetMon exports following types of metrics to Prometheus endpoint:

  • Total traffic for IPv4 and IPv6
  • Per network traffic (enabled by default but can be disabled)
  • Per host traffic for IPv4 and IPv6 (disabled by default).

To enable per network metrics you need to apply following configuration changes:

sudo fcli set main prometheus_export_network_ipv4_counters true
sudo fcli set main prometheus_export_network_ipv6_counters true
sudo fcli commit

To enable per host metrics you need to apply following configuration changes:

sudo fcli set main prometheus_export_host_ipv4_counters true
sudo fcli set main prometheus_export_host_ipv6_counters true
sudo fcli commit

FastNetMon exports all metrics which available using sudo fcli show system_counters command. Example:

# HELP Total number of simple packets processed
# TYPE fastnetmon_total_simple_packets_processed counter
fastnetmon_total_simple_packets_processed 209
# HELP Total number of IPv4 simple packets processed
# TYPE fastnetmon_total_ipv4_packets counter
fastnetmon_total_ipv4_packets 209
# HELP Total number of IPv6 simple packets processed
# TYPE fastnetmon_total_ipv6_packets counter
fastnetmon_total_ipv6_packets 0
# HELP Non IPv4 and non IPv6 packets
# TYPE fastnetmon_unknown_ip_version_packets counter
fastnetmon_unknown_ip_version_packets 0
# HELP Total number of packets we failed to parse
# TYPE fastnetmon_total_unparsed_packets counter
fastnetmon_total_unparsed_packets 0
# HELP Number of packets we fail to parse per second
# TYPE fastnetmon_total_unparsed_packets_speed gauge
fastnetmon_total_unparsed_packets_speed 0
# HELP Number of packets filtered with remote whitelist option
# TYPE fastnetmon_total_remote_whitelisted_packets_packets counter
fastnetmon_total_remote_whitelisted_packets_packets 0
# HELP Number of packets filtered by flow spec engine
# TYPE fastnetmon_total_flowspec_filtered_packets counter
fastnetmon_total_flowspec_filtered_packets 0
# HELP Number of bytes filtered by flow spec engine
# TYPE fastnetmon_total_flowspec_filtered_bytes counter
fastnetmon_total_flowspec_filtered_bytes 0
# HELP Number of packets white listed by flowspec whitelist
# TYPE fastnetmon_total_flowspec_whitelist_packets counter
fastnetmon_total_flowspec_whitelist_packets 0
# HELP Number of errors related with traffic db
# TYPE fastnetmon_traffic_db_errors counter
fastnetmon_traffic_db_errors 0
# HELP Number of messages pushed to traffic db
# TYPE fastnetmon_traffic_db_pushed_messages counter
fastnetmon_traffic_db_pushed_messages 209
# HELP Number of packets seen by sampler code
# TYPE fastnetmon_traffic_db_sampler_seen_packets counter
fastnetmon_traffic_db_sampler_seen_packets 0
# HELP Number of packets selected by sampler, only for mirror code
# TYPE fastnetmon_traffic_db_sampler_selected_packets counter
fastnetmon_traffic_db_sampler_selected_packets 0
# HELP Time consumed by recalculation for all IPs
# TYPE fastnetmon_speed_recalculation_time_seconds gauge
fastnetmon_speed_recalculation_time_seconds 0
# HELP Time consumed by recalculation for all IPs
# TYPE fastnetmon_speed_recalculation_time_microseconds gauge
fastnetmon_speed_recalculation_time_microseconds 0
# HELP Traffic calculation delay was shorter than we expected
# TYPE fastnetmon_all_traffic_calculation_delay_shorter counter
fastnetmon_all_traffic_calculation_delay_shorter 0
# HELP Traffic calculation delay was negative
# TYPE fastnetmon_all_traffic_calculation_delay_negative counter
fastnetmon_all_traffic_calculation_delay_negative 0
# HELP Traffic calculation delay longer then we expected
# TYPE fastnetmon_all_traffic_calculation_delay_longer counter
fastnetmon_all_traffic_calculation_delay_longer 0
# HELP Total number of hosts in our networks
# TYPE fastnetmon_total_number_of_hosts gauge
fastnetmon_total_number_of_hosts 1024
# HELP IPv4 hosts hash load factor integer
# TYPE fastnetmon_hosts_hash_load_factor_integer gauge
fastnetmon_hosts_hash_load_factor_integer 0
# HELP IPv4 hosts hash load factor fraction
# TYPE fastnetmon_hosts_hash_load_factor_fraction gauge
fastnetmon_hosts_hash_load_factor_fraction 0
# HELP IPv4 hosts hash size
# TYPE fastnetmon_hosts_hash_size gauge
fastnetmon_hosts_hash_size 0
# HELP IPv4 hosts hash buckets number
# TYPE fastnetmon_hosts_hash_bucket_count gauge
fastnetmon_hosts_hash_bucket_count 0
# HELP IPv6 hosts hash load factor integer
# TYPE fastnetmon_hosts_hash_load_factor_ipv6_integer gauge
fastnetmon_hosts_hash_load_factor_ipv6_integer 0
# HELP IPv6 hosts hash load factor fraction
# TYPE fastnetmon_hosts_hash_load_factor_ipv6_fraction gauge
fastnetmon_hosts_hash_load_factor_ipv6_fraction 0
# HELP IPv6 hosts hash size
# TYPE fastnetmon_hosts_hash_size_ipv6 gauge
fastnetmon_hosts_hash_size_ipv6 0
# HELP IPv6 hosts hash buckets number
# TYPE fastnetmon_hosts_hash_ipv6_bucket_count gauge
fastnetmon_hosts_hash_ipv6_bucket_count 0
# HELP Total number of InfluxDB writes
# TYPE fastnetmon_influxdb_writes_total counter
fastnetmon_influxdb_writes_total 0
# HELP Total number of failed InfluxDB writes
# TYPE fastnetmon_influxdb_writes_failed counter
fastnetmon_influxdb_writes_failed 0
# HELP Total number of Clickhouse writes
# TYPE fastnetmon_clickhouse_metrics_writes_total counter
fastnetmon_clickhouse_metrics_writes_total 0
# HELP Total number of failed Clickhouse writes
# TYPE fastnetmon_clickhouse_metrics_writes_failed counter
fastnetmon_clickhouse_metrics_writes_failed 0
# HELP Number of IPFIX and Netflow per second
# TYPE fastnetmon_netflow_all_protocols_total_flows_speed gauge
fastnetmon_netflow_all_protocols_total_flows_speed 0
# HELP Number of sFlow headers per second
# TYPE fastnetmon_sflow_raw_packet_headers_total_speed gauge
fastnetmon_sflow_raw_packet_headers_total_speed 0
# HELP Number of entries in flow tracking structure
# TYPE fastnetmon_entries_flow_tracking gauge
fastnetmon_entries_flow_tracking 0
# HELP Number of IPs with flow information
# TYPE fastnetmon_flow_exists_for_ip gauge
fastnetmon_flow_exists_for_ip 0
# HELP Number of IPs without flow information
# TYPE fastnetmon_flow_does_not_exist_for_ip gauge
fastnetmon_flow_does_not_exist_for_ip 0
# HELP Traffic buffer for IPv4 maximum duration in seconds
# TYPE fastnetmon_traffic_buffer_duration_seconds_ipv4 gauge
fastnetmon_traffic_buffer_duration_seconds_ipv4 0
# HELP Traffic buffer for IPv6 maximum duration in seconds
# TYPE fastnetmon_traffic_buffer_duration_seconds_ipv6 gauge
fastnetmon_traffic_buffer_duration_seconds_ipv6 0
# HELP Number of IPv4 packets matched by flexible thresholds
# TYPE fastnetmon_total_flexible_thresholds_matched_bytes_ipv4 counter
fastnetmon_total_flexible_thresholds_matched_bytes_ipv4 0
# HELP Number of IPv4 bytes matched by flexible thresholds
# TYPE fastnetmon_total_flexible_thresholds_matched_packets_ipv4 counter
fastnetmon_total_flexible_thresholds_matched_packets_ipv4 0
# HELP Number of IPv6 bytes matched by flexible thresholds
# TYPE fastnetmon_total_flexible_thresholds_matched_bytes_ipv6 counter
fastnetmon_total_flexible_thresholds_matched_bytes_ipv6 0
# HELP Number of IPv6 packets matched by flexible thresholds
# TYPE fastnetmon_total_flexible_thresholds_matched_packets_ipv6 counter
fastnetmon_total_flexible_thresholds_matched_packets_ipv6 0
# HELP Total number of Netflow v5 UDP packets received
# TYPE fastnetmon_netflow_v5_total_packets counter
fastnetmon_netflow_v5_total_packets 0
# HELP Total number of Netflow v5 flows (multiple in each packet)
# TYPE fastnetmon_netflow_v5_total_flows counter
fastnetmon_netflow_v5_total_flows 0
# HELP Netflow v5 flows with duration less then 15 seconds
# TYPE fastnetmon_netflow_v5_duration_less_15_seconds counter
fastnetmon_netflow_v5_duration_less_15_seconds 0
# HELP Netflow v5 flows with duration less then 30 seconds
# TYPE fastnetmon_netflow_v5_duration_less_30_seconds counter
fastnetmon_netflow_v5_duration_less_30_seconds 0
# HELP Netflow v5 flows with duration less then 60 seconds
# TYPE fastnetmon_netflow_v5_duration_less_60_seconds counter
fastnetmon_netflow_v5_duration_less_60_seconds 0
# HELP Netflow v5 flows with duration less then 90 seconds
# TYPE fastnetmon_netflow_v5_duration_less_90_seconds counter
fastnetmon_netflow_v5_duration_less_90_seconds 0
# HELP Netflow v5 flows with duration less then 180 seconds
# TYPE fastnetmon_netflow_v5_duration_less_180_seconds counter
fastnetmon_netflow_v5_duration_less_180_seconds 0
# HELP Netflow v5 flows with duration more then 180 seconds
# TYPE fastnetmon_netflow_v5_duration_exceed_180_seconds counter
fastnetmon_netflow_v5_duration_exceed_180_seconds 0
# HELP Total number of Netflow v5 UDP packets received
# TYPE fastnetmon_netflow_v9_total_packets counter
fastnetmon_netflow_v9_total_packets 11
# HELP Total number of Netflow v9 flows (multiple in each packet)
# TYPE fastnetmon_netflow_v9_total_flows counter
fastnetmon_netflow_v9_total_flows 209
# HELP Total number of Netflow v9 IPv4 flows (multiple in each packet)
# TYPE fastnetmon_netflow_v9_total_ipv4_flows counter
fastnetmon_netflow_v9_total_ipv4_flows 209
# HELP Total number of Netflow v9 IPv6 flows (multiple in each packet)
# TYPE fastnetmon_netflow_v9_total_ipv6_flows counter
fastnetmon_netflow_v9_total_ipv6_flows 0
# HELP Netflow v9 flows with duration less then 15 seconds
# TYPE fastnetmon_netflow_v9_duration_less_15_seconds counter
fastnetmon_netflow_v9_duration_less_15_seconds 209
# HELP Netflow v9 flows with duration less then 30 seconds
# TYPE fastnetmon_netflow_v9_duration_less_30_seconds counter
fastnetmon_netflow_v9_duration_less_30_seconds 0
# HELP Netflow v9 flows with duration less then 60 seconds
# TYPE fastnetmon_netflow_v9_duration_less_60_seconds counter
fastnetmon_netflow_v9_duration_less_60_seconds 0
# HELP Netflow v9 flows with duration less then 90 seconds
# TYPE fastnetmon_netflow_v9_duration_less_90_seconds counter
fastnetmon_netflow_v9_duration_less_90_seconds 0
# HELP Netflow v9 flows with duration less then 180 seconds
# TYPE fastnetmon_netflow_v9_duration_less_180_seconds counter
fastnetmon_netflow_v9_duration_less_180_seconds 0
# HELP Netflow v9 flows with duration more then 180 seconds
# TYPE fastnetmon_netflow_v9_duration_exceed_180_seconds counter
fastnetmon_netflow_v9_duration_exceed_180_seconds 0
# HELP Number of Netflow v9 data packets
# TYPE fastnetmon_netflow_v9_data_packet_number counter
fastnetmon_netflow_v9_data_packet_number 11
# HELP Number of Netflow v9 data template packets
# TYPE fastnetmon_netflow_v9_data_templates_number counter
fastnetmon_netflow_v9_data_templates_number 0
# HELP Number of Netflow v9 options templates packets
# TYPE fastnetmon_netflow_v9_options_templates_number counter
fastnetmon_netflow_v9_options_templates_number 0
# HELP Number of Netflow v9 options data packets
# TYPE fastnetmon_netflow_v9_options_packet_number counter
fastnetmon_netflow_v9_options_packet_number 0
# HELP Number of dropped Netflow v9 packets due to unknown template in message
# TYPE fastnetmon_netflow_v9_packets_with_unknown_templates counter
fastnetmon_netflow_v9_packets_with_unknown_templates 0
# HELP Number of times we received sampling rate from Netflow v9 agent
# TYPE fastnetmon_netflow_v9_custom_sampling_rate_received counter
fastnetmon_netflow_v9_custom_sampling_rate_received 0
# HELP How much times we changed sampling rate for same agent. As change we also count when we received it for the first time
# TYPE fastnetmon_netflow_v9_sampling_rate_changes counter
fastnetmon_netflow_v9_sampling_rate_changes 0
# HELP Number of Netflow v9 flows with re-classified protocol version
# TYPE fastnetmon_netflow_v9_protocol_version_adjustments counter
fastnetmon_netflow_v9_protocol_version_adjustments 0
# HELP Count times when template data actually changed for Netflow v9
# TYPE fastnetmon_netflow_v9_template_updates_number_due_to_real_changes counter
fastnetmon_netflow_v9_template_updates_number_due_to_real_changes 0
# HELP We increment these counters when field we use to store particular type of Netflow v9 record is smaller than we actually received from device
# TYPE fastnetmon_netflow_v9_too_large_field counter
fastnetmon_netflow_v9_too_large_field 0
# HELP Total number of headers in Netflow v9 lite received
# TYPE fastnetmon_netflow_v9_lite_headers counter
fastnetmon_netflow_v9_lite_headers 0
# HELP Number of Netflow v9 flows with forwarding status provided
# TYPE fastnetmon_netflow_v9_forwarding_status counter
fastnetmon_netflow_v9_forwarding_status 0
# HELP Netflow v9 Lite header parser errors
# TYPE fastnetmon_netflow_v9_lite_header_parser_error counter
fastnetmon_netflow_v9_lite_header_parser_error 0
# HELP Netflow v9 packets we cannot decode
# TYPE fastnetmon_netflow_v9_broken_packets counter
fastnetmon_netflow_v9_broken_packets 0
# HELP Total number of received active Netflow v9 flow timeouts
# TYPE fastnetmon_netflow_v9_active_flow_timeout_received counter
fastnetmon_netflow_v9_active_flow_timeout_received 0
# HELP Total number of received inactive Netflow v9 flow timeouts
# TYPE fastnetmon_netflow_v9_inactive_flow_timeout_received counter
fastnetmon_netflow_v9_inactive_flow_timeout_received 0
# HELP Netflow v9 flow was marked as dropped from interface and next hop information
# TYPE fastnetmon_netflow_v9_marked_zero_next_hop_and_zero_output_as_dropped counter
fastnetmon_netflow_v9_marked_zero_next_hop_and_zero_output_as_dropped 0
# HELP Total number of IPFIX flows (multiple in each packet)
# TYPE fastnetmon_ipfix_total_flows counter
fastnetmon_ipfix_total_flows 0
# HELP Total number of IPFIX UDP packets received
# TYPE fastnetmon_ipfix_total_packets counter
fastnetmon_ipfix_total_packets 0
# HELP Total number of IPFIX IPv4 flows (multiple in each packet)
# TYPE fastnetmon_ipfix_total_ipv4_flows counter
fastnetmon_ipfix_total_ipv4_flows 0
# HELP Total number of IPFIX IPv6 flows (multiple in each packet)
# TYPE fastnetmon_ipfix_total_ipv6_flows counter
fastnetmon_ipfix_total_ipv6_flows 0
# HELP IPFIX flows with duration less then 15 seconds
# TYPE fastnetmon_ipfix_duration_less_15_seconds counter
fastnetmon_ipfix_duration_less_15_seconds 0
# HELP IPFIX flows with duration less then 30 seconds
# TYPE fastnetmon_ipfix_duration_less_30_seconds counter
fastnetmon_ipfix_duration_less_30_seconds 0
# HELP IPFIX flows with duration less then 60 seconds
# TYPE fastnetmon_ipfix_duration_less_60_seconds counter
fastnetmon_ipfix_duration_less_60_seconds 0
# HELP IPFIX flows with duration less then 90 seconds
# TYPE fastnetmon_ipfix_duration_less_90_seconds counter
fastnetmon_ipfix_duration_less_90_seconds 0
# HELP IPFIX flows with duration less then 180 seconds
# TYPE fastnetmon_ipfix_duration_less_180_seconds counter
fastnetmon_ipfix_duration_less_180_seconds 0
# HELP IPFIX flows with duration more then 180 seconds
# TYPE fastnetmon_ipfix_duration_exceed_180_seconds counter
fastnetmon_ipfix_duration_exceed_180_seconds 0
# HELP IPFIX packets with negative duration, it may happen when vendor does not implement protocol correctly
# TYPE fastnetmon_ipfix_duration_negative counter
fastnetmon_ipfix_duration_negative 0
# HELP IPFIX flows finished by idle timeout
# TYPE fastnetmon_ipfix_flows_end_reason_idle_timeout counter
fastnetmon_ipfix_flows_end_reason_idle_timeout 0
# HELP IPFIX flows finished by active timeout
# TYPE fastnetmon_ipfix_flows_end_reason_active_timeout counter
fastnetmon_ipfix_flows_end_reason_active_timeout 0
# HELP IPFIX flows finished by end of flow timeout
# TYPE fastnetmon_ipfix_flows_end_reason_end_of_flow_timeout counter
fastnetmon_ipfix_flows_end_reason_end_of_flow_timeout 0
# HELP IPFIX flows finished by force end timeout
# TYPE fastnetmon_ipfix_flows_end_reason_force_end_timeout counter
fastnetmon_ipfix_flows_end_reason_force_end_timeout 0
# HELP IPFIX flows finished by lack of resources
# TYPE fastnetmon_ipfix_flows_end_reason_lack_of_resource_timeout counter
fastnetmon_ipfix_flows_end_reason_lack_of_resource_timeout 0
# HELP IPFIX data packets number
# TYPE fastnetmon_ipfix_data_packet_number counter
fastnetmon_ipfix_data_packet_number 0
# HELP IPFIX data templates number
# TYPE fastnetmon_ipfix_data_templates_number counter
fastnetmon_ipfix_data_templates_number 0
# HELP IPFIX options templates number
# TYPE fastnetmon_ipfix_options_templates_number counter
fastnetmon_ipfix_options_templates_number 0
# HELP IPFIX options data packets number
# TYPE fastnetmon_ipfix_options_packet_number counter
fastnetmon_ipfix_options_packet_number 0
# HELP Number of dropped IPFIX packets due to unknown template in message
# TYPE fastnetmon_ipfix_packets_with_unknown_templates counter
fastnetmon_ipfix_packets_with_unknown_templates 0
# HELP IPFIX customer sampling rates received
# TYPE fastnetmon_ipfix_custom_sampling_rate_received counter
fastnetmon_ipfix_custom_sampling_rate_received 0
# HELP How much times we changed sampling rate for same agent.  As change we also count when we received it for the first time
# TYPE fastnetmon_ipfix_sampling_rate_changes counter
fastnetmon_ipfix_sampling_rate_changes 0
# HELP IPFIX flow was marked as dropped from interface and next hop information
# TYPE fastnetmon_ipfix_marked_zero_next_hop_and_zero_output_as_dropped counter
fastnetmon_ipfix_marked_zero_next_hop_and_zero_output_as_dropped 0
# HELP Count times when template data actually changed for IPFIX
# TYPE fastnetmon_ipfix_template_updates_number_due_to_real_changes counter
fastnetmon_ipfix_template_updates_number_due_to_real_changes 0
# HELP Total number of IPFIX packets with padding
# TYPE fastnetmon_ipfix_packets_with_padding counter
fastnetmon_ipfix_packets_with_padding 0
# HELP Total number of headers in IPFIX received
# TYPE fastnetmon_ipfix_inline_headers counter
fastnetmon_ipfix_inline_headers 0
# HELP Number of IPFIX flows with re-classified protocol version
# TYPE fastnetmon_ipfix_protocol_version_adjustments counter
fastnetmon_ipfix_protocol_version_adjustments 0
# HELP We increment these counters when field we use to store particular type of IPFIX record is smaller than we actually received from device
# TYPE fastnetmon_ipfix_too_large_field counter
fastnetmon_ipfix_too_large_field 0
# HELP Number of IPFIX flows with forwarding status provided
# TYPE fastnetmon_ipfix_forwarding_status counter
fastnetmon_ipfix_forwarding_status 0
# HELP IPFIX inline header parser errors
# TYPE fastnetmon_ipfix_inline_header_parser_error counter
fastnetmon_ipfix_inline_header_parser_error 0
# HELP Total number of received active IPFIX flow timeouts
# TYPE fastnetmon_ipfix_active_flow_timeout_received counter
fastnetmon_ipfix_active_flow_timeout_received 0
# HELP Total number of received inactive IPFIX flow timeouts
# TYPE fastnetmon_ipfix_inactive_flow_timeout_received counter
fastnetmon_ipfix_inactive_flow_timeout_received 0
# HELP Total number of Netflow or IPFIX UDP packets received
# TYPE fastnetmon_netflow_ipfix_total_packets counter
fastnetmon_netflow_ipfix_total_packets 11
# HELP Total number of flows summarized for all kinds of Netflow and IPFIX
# TYPE fastnetmon_netflow_ipfix_all_protocols_total_flows counter
fastnetmon_netflow_ipfix_all_protocols_total_flows 209
# HELP Number of UDP packets dropped by system on our socket
# TYPE fastnetmon_netflow_ipfix_udp_packet_drops counter
fastnetmon_netflow_ipfix_udp_packet_drops 0
# HELP Number of packets with unknown Netflow version. In may be sign that some another protocol like sFlow is being send to Netflow or IPFIX port
# TYPE fastnetmon_netflow_ipfix_unknown_protocol_version counter
fastnetmon_netflow_ipfix_unknown_protocol_version 0
# HELP Number of templates received with same data as inside known by us
# TYPE fastnetmon_template_update_attempts_with_same_template_data counter
fastnetmon_template_update_attempts_with_same_template_data 0
# HELP Number of flows which exceed specified limit in configuration
# TYPE fastnetmon_netflow_ignored_long_flows counter
fastnetmon_netflow_ignored_long_flows 0
# HELP Number of times when we write Netflow or ipfix templates to disk
# TYPE fastnetmon_template_netflow_ipfix_disk_writes counter
fastnetmon_template_netflow_ipfix_disk_writes 0
# HELP System UDP counter ignoredmulti
# TYPE fastnetmon_global_system_ignoredmulti counter
fastnetmon_global_system_ignoredmulti 0
# HELP System UDP counter incsumerrors
# TYPE fastnetmon_global_system_incsumerrors counter
fastnetmon_global_system_incsumerrors 0
# HELP System UDP counter indatagrams
# TYPE fastnetmon_global_system_indatagrams counter
fastnetmon_global_system_indatagrams 2118145963
# HELP System UDP counter inerrors
# TYPE fastnetmon_global_system_inerrors counter
fastnetmon_global_system_inerrors 26214
# HELP System UDP counter noports
# TYPE fastnetmon_global_system_noports counter
fastnetmon_global_system_noports 9572
# HELP System UDP counter outdatagrams
# TYPE fastnetmon_global_system_outdatagrams counter
fastnetmon_global_system_outdatagrams 2008799213
# HELP System UDP counter rcvbuferrors
# TYPE fastnetmon_global_system_rcvbuferrors counter
fastnetmon_global_system_rcvbuferrors 26214
# HELP System UDP counter sndbuferrors
# TYPE fastnetmon_global_system_sndbuferrors counter
fastnetmon_global_system_sndbuferrors 0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="incoming",protocol_version="ipv4"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="incoming",protocol_version="ipv4"} 0
# HELP Total traffic in flows
# TYPE fastnetmon_total_traffic_flows gauge
fastnetmon_total_traffic_flows{traffic_direction="incoming",protocol_version="ipv4"}0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="outgoing",protocol_version="ipv4"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="outgoing",protocol_version="ipv4"} 0
# HELP Total traffic in flows
# TYPE fastnetmon_total_traffic_flows gauge
fastnetmon_total_traffic_flows{traffic_direction="outgoing",protocol_version="ipv4"}0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="internal",protocol_version="ipv4"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="internal",protocol_version="ipv4"} 0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="other",protocol_version="ipv4"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="other",protocol_version="ipv4"} 0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="incoming",protocol_version="ipv6"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="incoming",protocol_version="ipv6"} 0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="outgoing",protocol_version="ipv6"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="outgoing",protocol_version="ipv6"} 0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="internal",protocol_version="ipv6"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="internal",protocol_version="ipv6"} 0
# HELP Total traffic in packets
# TYPE fastnetmon_total_traffic_packets gauge
fastnetmon_total_traffic_packets{traffic_direction="other",protocol_version="ipv6"} 0
# HELP Total traffic in bits
# TYPE fastnetmon_total_traffic_bits gauge
fastnetmon_total_traffic_bits{traffic_direction="other",protocol_version="ipv6"} 0

These values can be used to create alerts and monitor that FastNetMon works correctly.

General alerts:

  • traffic_db_errors must not exceed 0, it will mean that FastNetMon is having issues with sending flows to traffic_db
  • speed_recalculation_time_seconds must not exceed 0. If it does it will mean that FastNetMon cannot recalculate traffic in reasonable time (<1 second) and it will lead to significant traffic calculation inaccuracy
  • influxdb_writes_failed must not exceed 0, it will mean that FastNetMon is having issues with sending metrics to InfluxDB
  • clickhouse_metrics_writes_failed must not exceed 0, it will mean that FastNetMon is having issues with sending metrics to Clickhouse

sFlow mode:

  • sflow_raw_packet_headers_total_speed this value must not be zero. It counts number of sFlow samples processed per second. It confirms that plugins is enabled and receives traffic from routers.
  • sflow_bad_packets and sflow_bad_flow_samples should be both be zero as they will mean some serious issues with sFlow protocol encoding.

Netflow / IPFIX mode:

  • netflow_all_protocols_total_flows_speed this value must not be zero. It counts number of Netflow / IPFIX flows processed by second. It confirms that plugins is enabled and receives traffic from routers.
  • netflow_v9_too_large_field, ipfix_too_large_field should not exceed 0, it means that device uses unusal length for some field and it may cause issues with traffic accounting
  • netflow_v9_broken_packets should be both be zero as they will mean some serious issues with Netflow v9 protocol encoding.
  • netflow_ipfix_udp_packet_drops should be 0, it means that receiving UDP socket is dropping traffic due to performance issues.
  • netflow_ipfix_unknown_protocol_version should be 0, it means that some unknown version of Netflow is being sent to FastNetMon. It may be sign that some other traffic (sFlow for example) is being sent to Netflow / IPFIX port.

Port mirror mode:

  • af_packet_socket_dropped_packets should be zero, it counts number of packets dropped due to performance issues.

24/7 Tech Support

support@fastnetmon.com

Email Us

sales@fastnetmon.com