diff --git a/fluent-plugin-udp-native-sensors.gemspec b/fluent-plugin-udp-native-sensors.gemspec index 961aa4f..b0a5d03 100644 --- a/fluent-plugin-udp-native-sensors.gemspec +++ b/fluent-plugin-udp-native-sensors.gemspec @@ -1,24 +1,24 @@ # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |s| s.name = "fluent-plugin-udp-native-sensors" s.version = '0.0.1' s.authors = ["Vijay Kumar gadde"] s.email = ["vijaygadde@gmail.com"] s.description = %q{Input plugin for Fluentd for Juniper devices telemetry data streaming native sensor data in UDP } s.summary = %q{Input plugin for Fluentd for Juniper devices telemetry data streaming native sensor data in UDP} s.homepage = "https://git.juniper.net/vijaygadde/fluent-plugin-udp-native-sensors" s.license = 'Apache 2.0' s.files = Dir['lib/fluent/plugin/parser*.rb', 'lib/*.rb', 'lib/google/protobuf/*.rb'] s.test_files = s.files.grep(%r{^(test|spec|features)/}) s.require_paths = %w(lib) - s.add_runtime_dependency "fluentd", "<= 0.12.36" + s.add_runtime_dependency "fluentd", "<= 0.12.42" s.add_runtime_dependency "protobuf" s.add_development_dependency "rake" s.add_runtime_dependency "fluent-plugin-rewrite-tag-filter", "< 1.7.0" end diff --git a/lib/fluent/plugin/parser_juniper_udp_native.rb b/lib/fluent/plugin/parser_juniper_udp_native.rb index 0397a2a..752daf2 100644 --- a/lib/fluent/plugin/parser_juniper_udp_native.rb +++ b/lib/fluent/plugin/parser_juniper_udp_native.rb @@ -1,110 +1,115 @@ # # Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. # require 'juniper_telemetry_udp_lib.rb' require 'protobuf' require 'telemetry_top.pb.rb' require 'port.pb.rb' require 'lsp_stats.pb.rb' require 'logical_port.pb.rb' require 'firewall.pb.rb' require 'cpu_memory_utilization.pb.rb' require 'qmon.pb.rb' require 'cmerror.pb.rb' require 'cmerror_data.pb.rb' require 'fabric.pb.rb' require 'inline_jflow.pb.rb' require 'lsp_mon.pb.rb' require 'npu_utilization.pb.rb' require 'npu_memory_utilization.pb.rb' require 'port_exp.pb.rb' require 'packet_stats.pb.rb' require 'optics.pb.rb' require 'port.pb.rb' require 'socket' require 'json' module Fluent class TextParser class JuniperJtiParser < Parser Plugin.register_parser("juniper_udp_native", self) config_param :output_format, :string, :default => 'structured' # This method is called after config_params have read configuration parameters def configure(conf) super ## Check if "output_format" has a valid value unless @output_format.to_s == "structured" || @output_format.to_s == "flat" || @output_format.to_s == "statsd" raise ConfigError, "output_format value '#{@output_format}' is not valid. Must be : structured, flat or statsd" end end def parse(text) host = Socket.gethostname ## Decode GBP packet jti_msg = TelemetryStream.decode(text) resource = "" ## Extract device name & Timestamp device_name = jti_msg.system_id - gpb_time = epoc_to_sec(jti_msg.timestamp) + yield_time = epoc_to_sec(jti_msg.timestamp) + gpb_time = epoc_to_ms(jti_msg.timestamp) + $log.debug jti_msg.timestamp + $log.debug yield_time + $log.debug gpb_time measurement_prefix = "enterprise.juniperNetworks" ## Extract sensor begin jnpr_sensor = jti_msg.enterprise.juniperNetworks datas_sensors = JSON.parse(jnpr_sensor.to_json) $log.debug "Extract sensor data from #{device_name} with output #{output_format}" rescue => e $log.warn "Unable to extract sensor data sensor from jti_msg.enterprise.juniperNetworks, Error during processing: #{$!}" $log.debug "Unable to extract sensor data sensor from jti_msg.enterprise.juniperNetworks, Data Dump : " + jti_msg.inspect.to_s return end $log.debug "==============================================================" $log.debug "TEXT: #{text}" $log.debug "JTI_MSG: #{jti_msg}" $log.debug "JNPR_SENSOR: #{jnpr_sensor}" $log.debug "INSPECT : " + jnpr_sensor.inspect $log.debug datas_sensors $log.debug "==============================================================" ## Go over each Sensor final_data = Array.new datas_sensors.each do |sensor, s_data| if s_data.is_a? Hash final_data = parse_hash(s_data, jnpr_sensor) if final_data[0].is_a? Hash final_data = final_data else final_data = final_data[0] end end end for data in final_data data['device'] = device_name data['host'] = host data['sensor_name'] = datas_sensors.keys[0] + data['time'] = gpb_time end for data in final_data - yield gpb_time, data + yield yield_time, data end end end end end diff --git a/lib/juniper_telemetry_udp_lib.rb b/lib/juniper_telemetry_udp_lib.rb index 279db64..2256ddc 100644 --- a/lib/juniper_telemetry_udp_lib.rb +++ b/lib/juniper_telemetry_udp_lib.rb @@ -1,109 +1,123 @@ # # Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. # ############################## ## Supporting functions ## ############################## def parse_hash(data, jnpr_sensor, master_key='') leaf_data = Hash.new arr_data = Array.new arr_key = Array.new fin_data = Array.new data.each do |key, value| if master_key == '' new_master_key = key else new_master_key = master_key + '.' + key end if not [Hash, Array].include?(value.class) leaf_data[new_master_key] = value elsif value.is_a? Array arr_data << parse_array(value, jnpr_sensor, new_master_key) arr_key << new_master_key elsif value.is_a? Hash hash_data = parse_hash(value, jnpr_sensor, new_master_key) if hash_data.is_a? Hash arr_data << [hash_data] else arr_data << hash_data end arr_key << new_master_key end end # Put all the data from Array to hash. # If the key names with list name to avoid overwriting if not leaf_data.empty? arr_key.length.times do |i| for data_aa in arr_data[i] leaf_tmp = leaf_data.clone if not data_aa == nil # Data could be a hash or a array. If it is an array then iterate over it and # store individual elements if data_aa.is_a? Hash data_aa.each do |key_aa, value_aa| leaf_tmp[key_aa] = value_aa end fin_data += [leaf_tmp] else for data_ha in data_aa leaf_tmp = leaf_data.clone data_ha.each do |key_aa, value_aa| leaf_tmp[key_aa] = value_aa end fin_data += [leaf_tmp] end end end end end else fin_data = arr_data.clone end arr_data.clear #if (fin_data.to_a.empty?) && (not leaf_data.empty?) && (leaf_flag) if (fin_data.to_a.empty?) && (not leaf_data.empty?) fin_data += [leaf_data] end return fin_data end def parse_array(data, jnpr_sensor, master_key) arr_data = [] for value in data # if value.is_a? Array # arr_data << parse_array(value, jnpr_sensor) if value.is_a? Hash arr_data += parse_hash(value, jnpr_sensor, master_key) else $log.error "Leaf elements in array are not coded. Please open a issue." end end return arr_data end def epoc_to_sec(epoc) # Check if sec, usec or msec nbr_digit = epoc.to_s.size if nbr_digit == 10 return epoc.to_i elsif nbr_digit == 13 return (epoc.to_i/1000).to_i elsif nbr_digit == 16 return (epoc.to_i/1000000).to_i end return epoc end +def epoc_to_ms(epoc) + nbr_digit = epoc.to_s.size + if nbr_digit == 13 + return epoc.to_i + elsif nbr_digit == 10 + return (epoc.to_i * 1000).to_i + elsif nbr_digit == 16 + return (epoc.to_i/1000).to_i + elsif nbr_digit == 19 + return (epoc.to_i/1000000).to_i + end +end + + diff --git a/test/test_parser_juniper_udp_native.rb b/test/test_parser_juniper_udp_native.rb index 0d7abbe..0ce449e 100644 --- a/test/test_parser_juniper_udp_native.rb +++ b/test/test_parser_juniper_udp_native.rb @@ -1,174 +1,174 @@ # test/plugin/test_in_your_own.rb $LOAD_PATH.unshift File.expand_path('../../lib/fluent/plugin/', __FILE__) $LOAD_PATH.unshift File.expand_path('../../lib/', __FILE__) require 'simplecov' SimpleCov.start do add_filter 'cmerror.pb.rb' add_filter 'cmerror_data.pb.rb' add_filter 'cpu_memory_utilization.pb.rb' add_filter 'fabric.pb.rb' add_filter 'firewall.pb.rb' add_filter 'lib/google' add_filter %r{lsp} add_filter %r{port} add_filter %r{npu} add_filter %r{lib/.*pb} end #require "coverage.so" Coverage.start require 'test/unit' require 'mocha/test_unit' require 'fluent/test' require 'socket' # your own plugin require 'parser_juniper_udp_native.rb' require 'juniper_telemetry_udp_lib.rb' #SimpleCov.start do # add_filter "lib/" #end class OCInputTest < Test::Unit::TestCase def setup Fluent::Test.setup # this is required to setup router and others end sub_test_case 'Juniper UDP/native parser' do test 'With empty data' do jti_msg = mock() enterp = mock() jnprnet = mock() epoc_to_sec = mock() jnpr_sensor = mock json_txt = {} enterp.stubs(:juniperNetworks).returns(jnpr_sensor) jnpr_sensor.stubs(:to_json).returns(json_txt) jti_msg.stubs(:system_id).returns('DEVICE-A') jti_msg.stubs(:timestamp).returns('1234567890909') jti_msg.stubs(:enterprise).returns(enterp) TelemetryStream.any_instance.stubs(:decode).returns(jti_msg) enterp.stubs(:juniperNetworks).returns(json_txt) parser = Fluent::TextParser::JuniperJtiParser.new assert_equal([], parser.parse({})) end test 'With proper data' do jti_msg = mock() enterp = mock() jnprnet = mock() epoc_to_sec = mock() jnpr_sensor = mock json_txt = {"jnpr_interface_ext": {"interface_stats": [{"name":"Kernel"}, {"name":"RE"}]}} enterp.stubs(:juniperNetworks).returns(jnpr_sensor) jnpr_sensor.stubs(:to_json).returns(json_txt) jti_msg.stubs(:system_id).returns('DEVICE-A') jti_msg.stubs(:timestamp).returns('1234567890909') jti_msg.stubs(:enterprise).returns(enterp) TelemetryStream.any_instance.stubs(:decode).returns(jti_msg) enterp.stubs(:juniperNetworks).returns(json_txt) parser = Fluent::TextParser::JuniperJtiParser.new count = 0 hostname = Socket.gethostname parser.parse({}) {|time, record| case count when 0 assert_equal(1234567890, time) - assert_equal({"interface_stats.name"=>"Kernel", "device"=>"DEVICE-A", "host"=>hostname, "sensor_name"=>"jnpr_interface_ext"}, record) + assert_equal({"interface_stats.name"=>"Kernel", "device"=>"DEVICE-A", "host"=>hostname, "sensor_name"=>"jnpr_interface_ext", "time"=>1234567890909}, record) when 1 assert_equal(1234567890, time) - assert_equal({"interface_stats.name"=>"RE", "device"=>"DEVICE-A", "host"=>hostname, "sensor_name"=>"jnpr_interface_ext"}, record) + assert_equal({"interface_stats.name"=>"RE", "device"=>"DEVICE-A", "host"=>hostname, "sensor_name"=>"jnpr_interface_ext", "time"=>1234567890909}, record) end count += 1 } end test 'With QMON data' do jti_msg = mock() enterp = mock() jnprnet = mock() epoc_to_sec = mock() jnpr_sensor = mock #json_txt = {"jnpr_interface_ext": {"interface_stats": [{"name":"Kernel"}, {"name":"RE"}]}} json_txt = {"jnpr_qmon_ext": {"queue_monitor_element_info"=>[{"if_name"=>"xe-2/0/1", "queue_monitor_stats_ingress"=>{"queue_monitor_stats_info"=>[{"queue_number"=>0, "queue_id"=>32, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>884571044, "octets"=>1167633778080, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>1, "queue_id"=>33, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>2, "queue_id"=>34, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>3, "queue_id"=>35, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>536, "octets"=>45024, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>4, "queue_id"=>36, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>5, "queue_id"=>37, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>6, "queue_id"=>38, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>7, "queue_id"=>39, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}]}, "queue_monitor_stats_egress"=>{"queue_monitor_stats_info"=>[{"queue_number"=>0, "queue_id"=>24, "peak_buffer_occupancy_bytes"=>1298, "peak_buffer_occupancy_percent"=>0, "packets"=>148913767806, "octets"=>196566172833096, "tail_drop_packets"=>3437, "tail_drop_octets"=>4536840, "red_drop_packets_color_0"=>441416731, "red_drop_octets_color_0"=>582670084920, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>1, "queue_id"=>25, "peak_buffer_occupancy_bytes"=>2596, "peak_buffer_occupancy_percent"=>0, "packets"=>415364122768, "octets"=>548280642053760, "tail_drop_packets"=>2107, "tail_drop_octets"=>2781240, "red_drop_packets_color_0"=>353728381, "red_drop_octets_color_0"=>466921462920, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>2, "queue_id"=>26, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>3, "queue_id"=>27, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>4, "queue_id"=>28, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>5, "queue_id"=>29, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>6, "queue_id"=>30, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}, {"queue_number"=>7, "queue_id"=>31, "peak_buffer_occupancy_bytes"=>0, "peak_buffer_occupancy_percent"=>0, "packets"=>0, "octets"=>0, "tail_drop_packets"=>0, "tail_drop_octets"=>0, "red_drop_packets_color_0"=>0, "red_drop_octets_color_0"=>0, "red_drop_packets_color_1"=>0, "red_drop_octets_color_1"=>0, "red_drop_packets_color_2"=>0, "red_drop_octets_color_2"=>0, "red_drop_packets_color_3"=>0, "red_drop_octets_color_3"=>0}]}}]}} enterp.stubs(:juniperNetworks).returns(jnpr_sensor) jnpr_sensor.stubs(:to_json).returns(json_txt) jti_msg.stubs(:system_id).returns('A:60.60.60.1') jti_msg.stubs(:timestamp).returns('1234567890909') jti_msg.stubs(:enterprise).returns(enterp) TelemetryStream.any_instance.stubs(:decode).returns(jti_msg) enterp.stubs(:juniperNetworks).returns(json_txt) parser = Fluent::TextParser::JuniperJtiParser.new count = 0 hostname = Socket.gethostname parser.parse({}) {|time, record| case count when 0 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>32,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>884571044,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>1167633778080,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>32,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>884571044,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>1167633778080,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 1 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>1,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>33,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>1,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>33,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 2 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>2,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>34,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>2,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>34,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 3 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>3,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>35,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>536,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>45024,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>3,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>35,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>536,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>45024,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 4 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>4,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>36,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>4,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>36,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 5 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>5,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>37,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>5,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>37,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 6 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>6,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>38,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>6,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>38,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 7 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>7,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>39,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_number"=>7,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.queue_id"=>39,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_ingress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 8 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>24,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>1298,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>148913767806,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>196566172833096,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>3437,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>4536840,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>441416731,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>582670084920,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>24,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>1298,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>148913767806,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>196566172833096,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>3437,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>4536840,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>441416731,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>582670084920,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 9 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>1,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>25,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>2596,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>415364122768,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>548280642053760,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>2107,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>2781240,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>353728381,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>466921462920,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>1,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>25,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>2596,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>415364122768,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>548280642053760,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>2107,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>2781240,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>353728381,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>466921462920,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 10 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>2,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>26,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>2,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>26,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 11 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>3,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>27,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>3,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>27,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 12 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>4,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>28,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>4,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>28,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 13 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>5,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>29,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>5,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>29,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 14 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>6,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>30,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>6,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>30,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) when 15 assert_equal(1234567890, time) - assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>7,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>31,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext"}, record) + assert_equal({"queue_monitor_element_info.if_name"=>"xe-2/0/1","queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_number"=>7,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.queue_id"=>31,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_bytes"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.peak_buffer_occupancy_percent"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_packets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.tail_drop_octets"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_0"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_1"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_2"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_packets_color_3"=>0,"queue_monitor_element_info.queue_monitor_stats_egress.queue_monitor_stats_info.red_drop_octets_color_3"=>0,"device"=>"A:60.60.60.1","host"=>hostname,"sensor_name"=>"jnpr_qmon_ext", "time"=>1234567890909}, record) end count += 1 } end end end