=== Test case: snmp_agent_SUITE:big_3/1 (click for source code)
=== Config value:
[{vsn,v3},
{snmp_app_sup,<0.2864.0>},
{snmp_sup,{<0.2865.0>,<0.2834.0>}},
{snmp_sub,{<23933.591.0>,<23933.590.0>}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/test_v3"},
{watchdog,<0.2835.0>},
{snmp_sa,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{snmp_sa_peer,<0.1425.0>},
{snmp_mgr,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{snmp_mgr_peer,<0.1430.0>},
{snmp_master,test_server@405b9c08802f},
{agent_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/"},
{agent_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/db/"},
{agent_log_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/log/"},
{agent_conf_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/conf/"},
{sa_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/"},
{sa_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/db/"},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{ip,{172,17,0,2}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default"},
{socket_create_opts,[]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,
114,108,97,110,103,32,8709,8868,8478,47,108,105,98,47,115,
110,109,112,45,53,46,49,57,47,112,114,105,118,47,109,105,
98,115]},
{data_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_agent_SUITE_data/"},
{snmp_suite_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE"},
{snmp_factor,5},
{label,{host,undefined}},
{tc_logfile,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/snmp_agent_suite.big_3.html"},
{tc_group_properties,[{name,test_v3}]},
{tc_group_path,[[{name,major_tcs}],
[{name,all}],
[{name,inet_backend_default}]]},
{priv_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/"},
{nodenames,[]}]
=== Current directory is "/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03"
=== Started at 2025-08-21 17:12:39
*** [2025-08-21 17:12:39.058] INFO test_server@405b9c08802f <0.2911.0> ***
init_per_testcase -> entry with
Config: [{watchdog,<0.2912.0>},
{vsn,v3},
{snmp_app_sup,<0.2864.0>},
{snmp_sup,{<0.2865.0>,<0.2834.0>}},
{snmp_sub,{<23933.591.0>,<23933.590.0>}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/test_v3"},
{snmp_sa,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{snmp_sa_peer,<0.1425.0>},
{snmp_mgr,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{snmp_mgr_peer,<0.1430.0>},
{snmp_master,test_server@405b9c08802f},
{agent_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/"},
{agent_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/db/"},
{agent_log_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/log/"},
{agent_conf_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/conf/"},
{sa_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/"},
{sa_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/db/"},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{ip,{172,17,0,2}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default"},
{socket_create_opts,[]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,
112,47,69,114,108,97,110,103,32,8709,8868,8478,47,
108,105,98,47,115,110,109,112,45,53,46,49,57,47,112,
114,105,118,47,109,105,98,115]},
{data_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_agent_SUITE_data/"},
{snmp_suite_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE"},
{snmp_factor,5},
{label,{host,undefined}},
{tc_logfile,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/snmp_agent_suite.big_3.html"},
{tc_group_properties,[{name,test_v3}]},
{tc_group_path,[[{name,major_tcs}],
[{name,all}],
[{name,inet_backend_default}]]},
{priv_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/"},
{nodenames,[]}]
Nodes: ['snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f',
'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f']
*** [2025-08-21 17:12:39.059] INFO test_server@405b9c08802f <0.2911.0> ***
init_per_testcase -> entry with
Case: big_3
Config: [{watchdog,<0.2912.0>},
{vsn,v3},
{snmp_app_sup,<0.2864.0>},
{snmp_sup,{<0.2865.0>,<0.2834.0>}},
{snmp_sub,{<23933.591.0>,<23933.590.0>}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/test_v3"},
{snmp_sa,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{snmp_sa_peer,<0.1425.0>},
{snmp_mgr,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{snmp_mgr_peer,<0.1430.0>},
{snmp_master,test_server@405b9c08802f},
{agent_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/"},
{agent_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/db/"},
{agent_log_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/log/"},
{agent_conf_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/conf/"},
{sa_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/"},
{sa_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/db/"},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{ip,{172,17,0,2}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default"},
{socket_create_opts,[]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,
112,47,69,114,108,97,110,103,32,8709,8868,8478,47,
108,105,98,47,115,110,109,112,45,53,46,49,57,47,112,
114,105,118,47,109,105,98,115]},
{data_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_agent_SUITE_data/"},
{snmp_suite_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE"},
{snmp_factor,5},
{label,{host,undefined}},
{tc_logfile,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/snmp_agent_suite.big_3.html"},
{tc_group_properties,[{name,test_v3}]},
{tc_group_path,[[{name,major_tcs}],
[{name,all}],
[{name,inet_backend_default}]]},
{priv_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/"},
{nodenames,[]}]
*** System report during snmp_agent_SUITE:big_3/1 in test_v3 2025-08-21 17:12:39.059 ***🔗 =INFO REPORT==== 21-Aug-2025::17:12:39.059699 === ****** SNMP TEST GLOBAL SYSTEM MONITOR ****** Reset events when Total Number of Events: 0 Current Number of Events: 0
*** [2025-08-21 17:12:39.059] INFO test_server@405b9c08802f <0.2911.0> ***
init_per_testcase -> done when
Result: [{watchdog,<0.2913.0>},
{watchdog,<0.2912.0>},
{vsn,v3},
{snmp_app_sup,<0.2864.0>},
{snmp_sup,{<0.2865.0>,<0.2834.0>}},
{snmp_sub,{<23933.591.0>,<23933.590.0>}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/test_v3"},
{snmp_sa,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{snmp_sa_peer,<0.1425.0>},
{snmp_mgr,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{snmp_mgr_peer,<0.1430.0>},
{snmp_master,test_server@405b9c08802f},
{agent_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/"},
{agent_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/db/"},
{agent_log_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/log/"},
{agent_conf_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/conf/"},
{sa_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/"},
{sa_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/db/"},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{ip,{172,17,0,2}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default"},
{socket_create_opts,[]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,
112,47,69,114,108,97,110,103,32,8709,8868,8478,
47,108,105,98,47,115,110,109,112,45,53,46,49,57,
47,112,114,105,118,47,109,105,98,115]},
{data_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_agent_SUITE_data/"},
{snmp_suite_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE"},
{snmp_factor,5},
{label,{host,undefined}},
{tc_logfile,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/snmp_agent_suite.big_3.html"},
{tc_group_properties,[{name,test_v3}]},
{tc_group_path,[[{name,major_tcs}],
[{name,all}],
[{name,inet_backend_default}]]},
{priv_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/"},
{nodenames,[]}]
Nodes: ['snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f',
'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f']
*** [2025-08-21 17:12:39.061] INFO test_server@405b9c08802f <0.2911.0> ***
init_case ->
SaHost: "405b9c08802f"
MgrHost: "405b9c08802f"
MasterHost: "405b9c08802f"
MasterIP: {172,17,0,2}
MIP: {172,17,0,2}
SIP: {172,17,0,2}
*** [2025-08-21 17:12:39.061] INFO test_server@405b9c08802f <0.2911.0> ***
init_case -> done with
MasterNode: test_server@405b9c08802f
SaNode: 'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'
MgrNode: 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'
MibDir: "/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"
*** [2025-08-21 17:12:39.061] NOTICE test_server@405b9c08802f <0.2911.0> ***
Starting subagent...
*** [2025-08-21 17:12:39.062] SNMP A-MIB-SERVER LOG ***
register subagent [1,3,6,1,2,1,7], <23933.600.0>
*** [2025-08-21 17:12:39.063] SNMP MASTER-AGENT LOG ***
[false] unload mibs ["OLD-SNMPEA-MIB"]
*** [2025-08-21 17:12:39.063] SNMP A-MIB-SERVER LOG ***
[false] unload mibs ["OLD-SNMPEA-MIB"]
*** [2025-08-21 17:12:39.063] SNMP A-MIB-SERVER LOG ***
mib_operation -> failed unload_mib of mib "OLD-SNMPEA-MIB" for not_loaded
*** [2025-08-21 17:12:39.063] SNMP A-MIB-SERVER LOG ***
aborted at "OLD-SNMPEA-MIB" for reason not_loaded
*** [2025-08-21 17:12:39.063] SNMP MASTER-AGENT LOG ***
[false] load mibs ["/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/OLD-SNMPEA-MIB"]
*** [2025-08-21 17:12:39.063] SNMP A-MIB-SERVER LOG ***
[false] load mibs ["/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/OLD-SNMPEA-MIB"]
*** [2025-08-21 17:12:39.063] SNMP A-MIB-SERVER MDATA_TTTN LOG ***
load mib file: "/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/OLD-SNMPEA-MIB"
*** [2025-08-21 17:12:39.063] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityTable
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityEntry
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityDestination
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityString
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityViewIndex
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityAccess
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intCommunityStatus
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAgentIpAddress
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAgentUDPPort
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAgentMaxPacketSize
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAddressTable
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAddressEntry
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAddressDestination
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAddressUDPPort
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAddressMaxPacketSize
*** [2025-08-21 17:12:39.064] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intAddressStatus
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intTrapDestTable
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intTrapDestEntry
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intTrapDestCommunityString
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intTrapDestDestination
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intTrapDestStatus
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intTrapDestSnmpVersion
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewTable
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewEntry
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewIndex
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewSubtree
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewMask
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewType
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewStorageType
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
aliasname to oid: intViewStatus
*** [2025-08-21 17:12:39.065] SNMP A-LOCAL-DB LOG ***
table exist: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.065] SNMP A-SYMBOLIC-STORE LOG ***
add table infos for 'OLD-SNMPEA-MIB':
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add table info
intCommunityTable -> {table_info,5,[],5,[],
[{asn1_type,'IpAddress',4,4,[],true,'IpAddress',
false,undefined},
{asn1_type,'OCTET STRING',undefined,undefined,
[],true,'DisplayString',false,undefined}],
3,1}
*** [2025-08-21 17:12:39.066] SNMP A-LOCAL-DB LOG ***
table create: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add table info
intAddressTable -> {table_info,4,
[{2,162}],
4,[],
[{asn1_type,'IpAddress',4,4,[],true,'IpAddress',
false,undefined}],
2,1}
*** [2025-08-21 17:12:39.066] SNMP A-LOCAL-DB LOG ***
variable get: intAgentIpAddress [volatile]
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add table info
intTrapDestTable -> {table_info,4,[],3,[],
[{asn1_type,'OCTET STRING',0,255,[],true,
'DisplayString',false,undefined},
{asn1_type,'IpAddress',4,4,[],true,'IpAddress',
false,undefined}],
3,1}
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add table info
intViewTable -> {table_info,6,
[{3,[]},{4,1},{5,3}],
6,[],
[{asn1_type,'INTEGER',1,65535,[],true,'INTEGER',false,
undefined},
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,
[],true,'OBJECT IDENTIFIER',false,undefined}],
3,1}
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add variable infos for 'OLD-SNMPEA-MIB':
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add variable info
intAgentIpAddress -> {variable_info,[0,0,0,0]}
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add variable info
intAgentUDPPort -> {variable_info,0}
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add variable info
intAgentMaxPacketSize -> {variable_info,484}
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add aliasnames for 'OLD-SNMPEA-MIB':
*** [2025-08-21 17:12:39.066] SNMP A-SYMBOLIC-STORE LOG ***
add alias
enterprises -> {[1,3,6,1,4,1],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1] -> enterprises
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
ericsson -> {[1,3,6,1,4,1,193],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193] -> ericsson
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
otp -> {[1,3,6,1,4,1,193,19],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19] -> otp
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
otpApplications -> {[1,3,6,1,4,1,193,19,3],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3] -> otpApplications
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
otpSnmpeaMIB -> {[1,3,6,1,4,1,193,19,3,3],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3] -> otpSnmpeaMIB
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
otpSnmpeaMIBObjects -> {[1,3,6,1,4,1,193,19,3,3,2],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2] -> otpSnmpeaMIBObjects
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
snmpeaAdm -> {[1,3,6,1,4,1,193,19,3,3,2,1],[]}
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1] -> snmpeaAdm
*** [2025-08-21 17:12:39.067] SNMP A-SYMBOLIC-STORE LOG ***
add alias
community -> {[1,3,6,1,4,1,193,19,3,3,2,1,1],[]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1] -> community
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityTable -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1],[]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1] -> intCommunityTable
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityEntry -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],[]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1] -> intCommunityEntry
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityDestination -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,1],[]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,1] -> intCommunityDestination
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityString -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,2],[]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,2] -> intCommunityString
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityViewIndex -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],[]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3] -> intCommunityViewIndex
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityAccess -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],[{readWrite,2},
{read,1}]}
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4] -> intCommunityAccess
*** [2025-08-21 17:12:39.068] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intCommunityStatus -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],[{destroy,6},
{createAndWait,
5},
{createAndGo,
4},
{notReady,3},
{notInService,
2},
{active,1}]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5] -> intCommunityStatus
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAgentIpAddress -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,2],[]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,2] -> intAgentIpAddress
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAgentUDPPort -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,3],[]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,3] -> intAgentUDPPort
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAgentMaxPacketSize -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,4],[]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,4] -> intAgentMaxPacketSize
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAddressTable -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,5],[]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,5] -> intAddressTable
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAddressEntry -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1],[]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1] -> intAddressEntry
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAddressDestination -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,1],[]}
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,1] -> intAddressDestination
*** [2025-08-21 17:12:39.069] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAddressUDPPort -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,2],[]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,2] -> intAddressUDPPort
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAddressMaxPacketSize -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,3],[]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,3] -> intAddressMaxPacketSize
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intAddressStatus -> {[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,4],[{destroy,6},
{createAndWait,
5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,4] -> intAddressStatus
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
trap -> {[1,3,6,1,4,1,193,19,3,3,2,1,2],[]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2] -> trap
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intTrapDestTable -> {[1,3,6,1,4,1,193,19,3,3,2,1,2,1],[]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2,1] -> intTrapDestTable
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intTrapDestEntry -> {[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1],[]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1] -> intTrapDestEntry
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intTrapDestCommunityString -> {[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,1],[]}
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,1] -> intTrapDestCommunityString
*** [2025-08-21 17:12:39.070] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intTrapDestDestination -> {[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,2],[]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,2] -> intTrapDestDestination
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intTrapDestStatus -> {[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,3],[{destroy,6},
{createAndWait,
5},
{createAndGo,4},
{notReady,3},
{notInService,
2},
{active,1}]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,3] -> intTrapDestStatus
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intTrapDestSnmpVersion -> {[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,4],[{v2,2},
{v1,1}]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,4] -> intTrapDestSnmpVersion
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
view -> {[1,3,6,1,4,1,193,19,3,3,2,1,3],[]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3] -> view
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewTable -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1],[]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1] -> intViewTable
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewEntry -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1],[]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1] -> intViewEntry
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewIndex -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,1],[]}
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,1] -> intViewIndex
*** [2025-08-21 17:12:39.071] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewSubtree -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,2],[]}
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,2] -> intViewSubtree
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewMask -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,3],[]}
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,3] -> intViewMask
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewType -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,4],[{excluded,2},
{included,1}]}
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,4] -> intViewType
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewStorageType -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,5],[{permanent,4},
{nonVolatile,
3},
{volatile,2},
{other,1}]}
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,5] -> intViewStorageType
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add alias
intViewStatus -> {[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,6],[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add oid
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,6] -> intViewStatus
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add types for 'OLD-SNMPEA-MIB':
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add type
'StorageType' -> [{permanent,4},{nonVolatile,3},{volatile,2},{other,1}]
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
add type
'RowStatus' -> [{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]
*** [2025-08-21 17:12:39.072] SNMP A-SYMBOLIC-STORE LOG ***
variable info: intAgentIpAddress
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
variable intAgentIpAddress set [volatile]:
Val: [0,0,0,0]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
variable get: intAgentUDPPort [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-SYMBOLIC-STORE LOG ***
variable info: intAgentUDPPort
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
variable intAgentUDPPort set [volatile]:
Val: 0
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
variable get: intAgentMaxPacketSize [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-SYMBOLIC-STORE LOG ***
variable info: intAgentMaxPacketSize
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
variable intAgentMaxPacketSize set [volatile]:
Val: 484
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table exist: intAddressTable [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table create: intAddressTable [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table exist: intTrapDestTable [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table create: intTrapDestTable [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table exist: intViewTable [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table create: intViewTable [volatile]
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table create row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
Row: {[172,17,0,2],"public",2,2}
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
table create row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112]
Row: {[172,17,0,2],"standard trap",2,1}
*** [2025-08-21 17:12:39.073] SNMP A-LOCAL-DB LOG ***
variable intAgentIpAddress set [volatile]:
Val: [127,0,0,1]
*** [2025-08-21 17:12:39.073] SNMP A-MIB-SERVER LOG ***
dump on io
MIB-tables:
[{mib_info,'OLD-SNMPEA-MIB',true,
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/OLD-SNMPEA-MIB.bin"},
{mib_info,'SNMP-MPD-MIB',true,
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,
108,97,110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,
45,53,46,49,57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,
80,45,77,80,68,45,77,73,66,46,98,105,110]},
{mib_info,'SNMPv2-MIB',true,
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,
108,97,110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,
45,53,46,49,57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,
80,118,50,45,77,73,66,46,98,105,110]},
{mib_info,'SNMP-FRAMEWORK-MIB',true,
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,
108,97,110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,
45,53,46,49,57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,
80,45,70,82,65,77,69,87,79,82,75,45,77,73,66,46,98,105,110]}]
MIB-entries:
[{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,2],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,2],
table_column,intViewSubtree,
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,[],true,
'OBJECT IDENTIFIER',false,undefined},
'not-accessible',undefined,false,
[{table_name,intViewTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,11,2,1,3],
'SNMP-MPD-MIB',
{me,[1,3,6,1,6,3,11,2,1,3],
variable,snmpUnknownPDUHandlers,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpUnknownPDUHandlers]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,1],
table_column,intAddressDestination,
{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,undefined},
'not-accessible',undefined,false,
[{table_name,intAddressTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1],
table_entry,intTrapDestEntry,undefined,'not-accessible',
{snmp_generic,table_func,[{intTrapDestTable,volatile}]},
false,
[{table_entry_with_sequence,'IntTrapDestEntry'}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,2],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,2],
table_column,intAddressUDPPort,
{asn1_type,'INTEGER',undefined,undefined,[],true,'INTEGER',false,
undefined},
'read-write',undefined,false,
[{table_name,intAddressTable},{defval,162}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],
table,intCommunityTable,undefined,'not-accessible',undefined,false,
[{table_info,
{table_info,5,[],5,[],
[{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,
undefined},
{asn1_type,'OCTET STRING',undefined,undefined,[],true,
'DisplayString',false,undefined}],
3,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,11,2,1,2],
'SNMP-MPD-MIB',
{me,[1,3,6,1,6,3,11,2,1,2],
variable,snmpInvalidMsgs,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpInvalidMsgs]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,11,2,1,1],
'SNMP-MPD-MIB',
{me,[1,3,6,1,6,3,11,2,1,1],
variable,snmpUnknownSecurityModels,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpUnknownSecurityModels]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1],
table_entry,intAddressEntry,undefined,'not-accessible',
{snmp_generic,table_func,[{intAddressTable,volatile}]},
false,
[{table_entry_with_sequence,'IntAddressEntry'}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1],
table,intViewTable,undefined,'not-accessible',undefined,false,
[{table_info,
{table_info,6,
[{3,[]},{4,1},{5,3}],
6,[],
[{asn1_type,'INTEGER',1,65535,[],true,'INTEGER',false,
undefined},
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,[],
true,'OBJECT IDENTIFIER',false,undefined}],
3,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,8],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,8],
variable,sysORLastChange,
{asn1_type,'TimeTicks',undefined,undefined,[],true,'TimeStamp',
false,undefined},
'read-only',
{snmp_generic,variable_func,[{sysORLastChange,volatile}]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,1],
table_column,intViewIndex,
{asn1_type,'INTEGER',1,65535,[],true,'INTEGER',false,undefined},
'not-accessible',undefined,false,
[{table_name,intViewTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,5],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,5],
variable,snmpInBadCommunityUses,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpInBadCommunityUses]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,3],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,3],
variable,intAgentUDPPort,
{asn1_type,'INTEGER',undefined,undefined,[],true,'INTEGER',false,
undefined},
'read-only',
{snmp_generic,variable_func,[{intAgentUDPPort,volatile}]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,4],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,4],
table_column,intTrapDestSnmpVersion,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{v2,2},{v1,1}]}],
true,'INTEGER',false,undefined},
'read-write',undefined,false,
[{table_name,intTrapDestTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,1],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,1],
variable,sysDescr,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',false,
undefined},
'read-only',
{snmp_generic,variable_func,[{sysDescr,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,9,1,1],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,9,1,1],
table_column,sysORIndex,
{asn1_type,'INTEGER',1,2147483647,[],true,'INTEGER',false,undefined},
'not-accessible',undefined,false,
[{table_name,sysORTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,9],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,9],
table,sysORTable,undefined,'not-accessible',undefined,false,
[{table_info,
{table_info,4,[],undefined,[],
[{asn1_type,'INTEGER',1,2147483647,[],true,'INTEGER',false,
undefined}],
2,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,4],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,4],
variable,sysContact,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',false,
undefined},
'read-write',
{snmp_generic,variable_func,[{sysContact,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,31],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,31],
variable,snmpSilentDrops,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpSilentDrops]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,32],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,32],
variable,snmpProxyDrops,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpProxyDrops]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,9,1,3],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,9,1,3],
table_column,sysORDescr,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',false,
undefined},
'read-only',undefined,false,
[{table_name,sysORTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,2,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,2,1],
table,intTrapDestTable,undefined,'not-accessible',undefined,false,
[{table_info,
{table_info,4,[],3,[],
[{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',
false,undefined},
{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,
undefined}],
3,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
table_entry,intCommunityEntry,undefined,'not-accessible',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_entry_with_sequence,'IntCommunityEntry'}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,10,2,1,2],
'SNMP-FRAMEWORK-MIB',
{me,[1,3,6,1,6,3,10,2,1,2],
variable,snmpEngineBoots,
{asn1_type,'INTEGER',1,2147483647,[],true,'INTEGER',false,undefined},
'read-only',
{snmp_framework_mib,snmpEngineBoots,[]},
false,
[{variable_info,{variable_info,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,6],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,6],
variable,snmpInASNParseErrs,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpInASNParseErrs]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,3],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,3],
table_column,intViewMask,
{asn1_type,'OCTET STRING',0,16,[],true,'OCTET STRING',false,
undefined},
'read-write',undefined,false,
[{table_name,intViewTable},{defval,[]}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,10,2,1,1],
'SNMP-FRAMEWORK-MIB',
{me,[1,3,6,1,6,3,10,2,1,1],
variable,snmpEngineID,
{asn1_type,'OCTET STRING',5,32,[],false,'SnmpEngineID',false,
undefined},
'read-only',
{snmp_framework_mib,snmpEngineID,[]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1],
table_entry,intViewEntry,undefined,'not-accessible',
{snmp_generic,table_func,[{intViewTable,volatile}]},
false,
[{table_entry_with_sequence,'IntViewEntry'}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,3],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,3],
variable,sysUpTime,
{asn1_type,'TimeTicks',0,4294967295,[],true,'TimeTicks',false,
undefined},
'read-only',
{snmp_standard_mib,sys_up_time,[]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,4],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,4],
table_column,intAddressStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',undefined,false,
[{table_name,intAddressTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,4],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,4],
variable,intAgentMaxPacketSize,
{asn1_type,'INTEGER',484,65535,[],true,'INTEGER',false,undefined},
'read-only',
{snmp_generic,variable_func,[{intAgentMaxPacketSize,volatile}]},
false,
[{variable_info,{variable_info,484}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,2],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,2],
table_column,intCommunityString,
{asn1_type,'OCTET STRING',undefined,undefined,[],true,
'DisplayString',false,undefined},
'not-accessible',undefined,false,
[{table_name,intCommunityTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,3],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,3],
variable,snmpInBadVersions,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpInBadVersions]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',undefined,false,
[{table_name,intCommunityTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,30],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,30],
variable,snmpEnableAuthenTraps,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{disabled,2},{enabled,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_standard_mib,snmp_enable_authen_traps,[]},
false,
[{variable_info,{variable_info,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,9,1],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,9,1],
table_entry,sysOREntry,undefined,'not-accessible',
{snmp_standard_mib,sys_or_table,[]},
false,
[{table_entry_with_sequence,'SysOREntry'}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,10,2,1,4],
'SNMP-FRAMEWORK-MIB',
{me,[1,3,6,1,6,3,10,2,1,4],
variable,snmpEngineMaxMessageSize,
{asn1_type,'INTEGER',484,2147483647,[],true,'INTEGER',false,
undefined},
'read-only',
{snmp_framework_mib,snmpEngineMaxMessageSize,[]},
false,
[{variable_info,{variable_info,484}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,1],
table_column,intCommunityDestination,
{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,undefined},
'not-accessible',undefined,false,
[{table_name,intCommunityTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,3],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,3],
table_column,intTrapDestStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',undefined,false,
[{table_name,intTrapDestTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,'INTEGER',false,
undefined},
'read-write',undefined,false,
[{table_name,intCommunityTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,2],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,2],
table_column,intTrapDestDestination,
{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,undefined},
'not-accessible',undefined,false,
[{table_name,intTrapDestTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',undefined,false,
[{table_name,intCommunityTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,3],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,5,1,3],
table_column,intAddressMaxPacketSize,
{asn1_type,'INTEGER',484,65535,[],true,'INTEGER',false,undefined},
'read-write',undefined,false,
[{table_name,intAddressTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,2],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,2],
variable,intAgentIpAddress,
{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,undefined},
'read-only',
{snmp_generic,variable_func,[{intAgentIpAddress,volatile}]},
false,
[{variable_info,{variable_info,[0,0,0,0]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,2],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,2],
variable,sysObjectID,
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,[],true,
'OBJECT IDENTIFIER',false,undefined},
'read-only',
{snmp_generic,variable_func,[{sysObjectID,permanent}]},
false,
[{variable_info,{variable_info,[0,0]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,9,1,4],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,9,1,4],
table_column,sysORUpTime,
{asn1_type,'TimeTicks',undefined,undefined,[],true,'TimeStamp',
false,undefined},
'read-only',undefined,false,
[{table_name,sysORTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,1],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,1],
variable,snmpInPkts,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpInPkts]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,1],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,2,1,1,1],
table_column,intTrapDestCommunityString,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',false,
undefined},
'not-accessible',undefined,false,
[{table_name,intTrapDestTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,7],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,7],
variable,sysServices,
{asn1_type,'INTEGER',0,127,[],true,'INTEGER',false,undefined},
'read-only',
{snmp_generic,variable_func,[{sysServices,permanent}]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,6],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,6],
table_column,intViewStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',undefined,false,
[{table_name,intViewTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,4],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,4],
table_column,intViewType,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{excluded,2},{included,1}]}],
true,'INTEGER',false,undefined},
'read-write',undefined,false,
[{table_name,intViewTable},{defval,1}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,6],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',false,
undefined},
'read-write',
{snmp_generic,variable_func,[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,5],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,3,1,1,5],
table_column,intViewStorageType,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{permanent,4},{nonVolatile,3},{volatile,2},{other,1}]}],
false,'StorageType',false,undefined},
'read-write',undefined,false,
[{table_name,intViewTable},{defval,3}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,1,1,6,1],
'SNMPv2-MIB',
{me,[1,3,6,1,6,3,1,1,6,1],
variable,snmpSetSerialNo,
{asn1_type,'INTEGER',0,2147483647,[],true,'TestAndIncr',false,
undefined},
'read-write',
{snmp_standard_mib,snmp_set_serial_no,[]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,1,1,4,3],
'SNMPv2-MIB',
{me,[1,3,6,1,6,3,1,1,4,3],
variable,snmpTrapEnterprise,
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,[],true,
'OBJECT IDENTIFIER',false,undefined},
'accessible-for-notify',
{snmp_standard_mib,dummy,[]},
false,
[{variable_info,{variable_info,[0,0]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,1,1,4,1],
'SNMPv2-MIB',
{me,[1,3,6,1,6,3,1,1,4,1],
variable,snmpTrapOID,
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,[],true,
'OBJECT IDENTIFIER',false,undefined},
'accessible-for-notify',
{snmp_standard_mib,dummy,[]},
false,
[{variable_info,{variable_info,[0,0]}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,1,9,1,2],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,9,1,2],
table_column,sysORID,
{asn1_type,'OBJECT IDENTIFIER',undefined,undefined,[],true,
'OBJECT IDENTIFIER',false,undefined},
'read-only',undefined,false,
[{table_name,sysORTable}],
undefined,undefined}},
{node_info,
[1,3,6,1,4,1,193,19,3,3,2,1,1,5],
'OLD-SNMPEA-MIB',
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,5],
table,intAddressTable,undefined,'not-accessible',undefined,false,
[{table_info,
{table_info,4,
[{2,162}],
4,[],
[{asn1_type,'IpAddress',4,4,[],true,'IpAddress',false,
undefined}],
2,1}}],
undefined,undefined}},
{node_info,
[1,3,6,1,2,1,11,4],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,11,4],
variable,snmpInBadCommunityNames,
{asn1_type,'Counter32',0,4294967295,[],true,'Counter32',false,
undefined},
'read-only',
{snmp_standard_mib,variable_func,[snmpInBadCommunityNames]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined}},
{node_info,
[1,3,6,1,6,3,10,2,1,3],
'SNMP-FRAMEWORK-MIB',
{me,[1,3,6,1,6,3,10,2,1,3],
variable,snmpEngineTime,
{asn1_type,'INTEGER',0,2147483647,[],true,'INTEGER',false,undefined},
'read-only',
{snmp_framework_mib,snmpEngineTime,[]},
false,
[{variable_info,{variable_info,0}}],
undefined,"seconds"}},
{node_info,
[1,3,6,1,2,1,1,5],
'SNMPv2-MIB',
{me,[1,3,6,1,2,1,1,5],
variable,sysName,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',false,
undefined},
'read-write',
{snmp_generic,variable_func,[{sysName,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined}}]
Tree:
{tree,1,
{tree,
{undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{table_column,'SNMPv2-MIB'}},
{node,{table_column,'SNMPv2-MIB'}},
{node,{table_column,'SNMPv2-MIB'}},
{node,{table_column,'SNMPv2-MIB'}}},
{table_entry,'SNMPv2-MIB'}}},
{table,'SNMPv2-MIB'}}},
internal},
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,
{node,subagent},
undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,
{node,{variable,'SNMPv2-MIB'}},
undefined_node,
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}},
{node,{variable,'SNMPv2-MIB'}}},
internal},
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node},
internal}},
internal},
undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}}},
{table_entry,'OLD-SNMPEA-MIB'}}},
{table,'OLD-SNMPEA-MIB'}},
{node,{variable,'OLD-SNMPEA-MIB'}},
{node,{variable,'OLD-SNMPEA-MIB'}},
{node,{variable,'OLD-SNMPEA-MIB'}},
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}}},
{table_entry,'OLD-SNMPEA-MIB'}}},
{table,'OLD-SNMPEA-MIB'}}},
internal},
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}}},
{table_entry,'OLD-SNMPEA-MIB'}}},
{table,'OLD-SNMPEA-MIB'}}},
internal},
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}},
{node,{table_column,'OLD-SNMPEA-MIB'}}},
{table_entry,'OLD-SNMPEA-MIB'}}},
{table,'OLD-SNMPEA-MIB'}}},
internal}},
internal}},
internal}},
internal}},
internal}},
internal}},
internal}},
internal}},
internal},
undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,undefined_node,undefined_node,
undefined_node,
{tree,
{undefined_node,
{node,{variable,'SNMPv2-MIB'}},
undefined_node,
{node,{variable,'SNMPv2-MIB'}}},
internal},
undefined_node,
{tree,
{undefined_node,{node,{variable,'SNMPv2-MIB'}}},
internal}},
internal}},
internal},
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
{tree,
{undefined_node,undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{variable,'SNMP-FRAMEWORK-MIB'}},
{node,{variable,'SNMP-FRAMEWORK-MIB'}},
{node,{variable,'SNMP-FRAMEWORK-MIB'}},
{node,{variable,'SNMP-FRAMEWORK-MIB'}}},
internal}},
internal}},
internal},
{tree,
{undefined_node,undefined_node,
{tree,
{undefined_node,
{tree,
{undefined_node,
{node,{variable,'SNMP-MPD-MIB'}},
{node,{variable,'SNMP-MPD-MIB'}},
{node,{variable,'SNMP-MPD-MIB'}}},
internal}},
internal}},
internal},
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node,
undefined_node,undefined_node,undefined_node,undefined_node},
internal}},
internal}},
internal}},
internal}},
internal}},
internal}},
internal}}
*** [2025-08-21 17:12:39.078] SNMP A-MIB-SERVER LOG ***
dump on dumped_mibs.txt
*** [2025-08-21 17:12:39.083] SNMP A-LOCAL-DB LOG ***
print
Local DB:
{{ets,
[{{intTrapDestTable,first},{undef,first,first}},
{{intCommunityTable,
[172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112]},
{{[172,17,0,2],"standard trap",2,1},
[172,17,0,2,6,112,117,98,108,105,99],
first}},
{xDescr,[]},
{tDescr,[]},
{{intCommunityTable,[172,17,0,2,6,112,117,98,108,105,99]},
{{[172,17,0,2],"public",2,2},
first,
[172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112]}},
{intAgentMaxPacketSize,484},
{{intViewTable,first},{undef,first,first}},
{{intContextTable,first},{undef,[0],[0]}},
{sysORLastChange,0},
{tInt2,1},
{tInt1,1},
{intAgentUDPPort,0},
{next_sys_or_index,1},
{{intCommunityTable,first},
{undef,
[172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112],
[172,17,0,2,6,112,117,98,108,105,99]}},
{tStr,[]},
{intAgentIpAddress,[127,0,0,1]},
{snmpSetSerialNo,907489709},
{{sysORTable,first},{undef,first,first}},
{{intContextTable,[0]},{{[]},first,first}},
{xDescr2,[]},
{{intAddressTable,first},{undef,first,first}}]},
{dets,
[{{usmUserTable,"\vagentEngine\nauthSHA256"},
{{"agentEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
"\vagentEngine\nauthSHA224","\vagentEngine\nauthSHA384"}},
{{usmUserTable,"\vagentEngine\nauthSHA224"},
{{"agentEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]},
"\vagentEngine\nall-rights","\vagentEngine\nauthSHA256"}},
{sysContact,"{mbj,eklas}@erlang.ericsson.se"},
{{usmUserTable,"\vagentEngine\nall-rights"},
{{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
"\vagentEngine\tno-rights","\vagentEngine\nauthSHA224"}},
{{snmpTargetAddrTable,first},
{undef,"udpIpv4://172.17.0.2:5000 v3.3",
"udpIpv4://172.17.0.2:5000 v3"}},
{{usmUserTable,"\tmgrEngine\nauthSHA256"},
{{"mgrEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nauthSHA224","\tmgrEngine\nauthSHA384"}},
{{vacmViewTreeFamilyTable,first},
{undef,
[10,114,101,115,116,114,105,99,116,101,100,4,1,3,6,1],
[8,105,110,116,101,114,110,101,116,4,1,3,6,1]}},
{{snmpTargetParamsTable,"target_v3"},
{{"target_v3",3,3,"all-rights",1,3,1},first,first}},
{{vacmSecurityToGroupTable,[3,10,97,108,108,45,114,105,103,104,116,115]},
{{3,"all-rights","all-rights",3,1},
[3,7,112,114,105,118,68,69,83],
[3,10,97,117,116,104,83,72,65,50,50,52]}},
{{snmpNotifyTable,"standard inform"},
{{"standard inform","std_inform",2,3,1},first,"standard trap"}},
{snmpEnableAuthenTraps,1},
{{snmpTargetAddrTable,"udpIpv4://172.17.0.2:5000 v3"},
{{"udpIpv4://172.17.0.2:5000 v3",
[1,3,6,1,2,1,100,1,1],
[172,17,0,2,19,136],
1500,3,"std_trap","target_v3",3,1,[],[],2048},
first,"udpIpv4://172.17.0.2:5000 v3.3"}},
{snmpEngineMaxMessageSize,484},
{{snmpNotifyTable,first},{undef,"standard trap","standard inform"}},
{sysServices,72},
{{vacmSecurityToGroupTable,[3,7,97,117,116,104,83,72,65]},
{{3,"authSHA","initial",3,1},
[3,7,97,117,116,104,77,68,53],
[3,7,105,110,105,116,105,97,108]}},
{{vacmSecurityToGroupTable,[3,7,105,110,105,116,105,97,108]},
{{3,"initial","initial",3,1},
[3,7,97,117,116,104,83,72,65],
[3,7,110,101,119,85,115,101,114]}},
{{vacmViewTreeFamilyTable,
[8,105,110,116,101,114,110,101,116,9,1,3,6,1,2,1,16,1,0]},
{{"internet",[1,3,6,1,2,1,16,1,0],[],2,3,1},
[8,105,110,116,101,114,110,101,116,4,1,3,6,1],
[10,114,101,115,116,114,105,99,116,101,100,4,1,3,6,1]}},
{snmpEngineID,"agentEngine"},
{{usmUserTable,"\tmgrEngine\nauthSHA512"},
{{"mgrEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]},
"\tmgrEngine\nauthSHA384",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}},
{{vacmViewTreeFamilyTable,[8,105,110,116,101,114,110,101,116,4,1,3,6,1]},
{{"internet",[1,3,6,1],[],1,3,1},
first,
[8,105,110,116,101,114,110,101,116,9,1,3,6,1,2,1,16,1,0]}},
{{usmUserTable,"\tmgrEngine\nall-rights"},
{{"mgrEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
"\tmgrEngine\tno-rights","\tmgrEngine\nauthSHA224"}},
{{vacmSecurityToGroupTable,[3,7,97,117,116,104,77,68,53]},
{{3,"authMD5","initial",3,1},first,[3,7,97,117,116,104,83,72,65]}},
{snmpEngineBoots,1},
{{snmpTargetParamsTable,first},{undef,"target_v3","target_v3"}},
{{usmUserTable,"\tmgrEngine\nauthSHA224"},
{{"mgrEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nall-rights","\tmgrEngine\nauthSHA256"}},
{{usmUserTable,
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,
105,97,108]},
{{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65],
[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,68,69,
83]}},
{{usmUserTable,"\vagentEngine\nauthSHA384"},
{{"agentEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
"\vagentEngine\nauthSHA256","\vagentEngine\nauthSHA512"}},
{{usmUserTable,"\vagentEngine\tno-rights"},
{{"agentEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,68,69,
83],
"\vagentEngine\nall-rights"}},
{{usmUserTable,"\tmgrEngine\nauthSHA384"},
{{"mgrEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nauthSHA256","\tmgrEngine\nauthSHA512"}},
{{usmUserTable,"\vagentEngine\nauthSHA512"},
{{"agentEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]},
"\vagentEngine\nauthSHA384",first}},
{{usmUserTable,
[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83]},
{{"mgrEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65],
"\tmgrEngine\tno-rights"}},
{{vacmSecurityToGroupTable,[3,10,97,117,116,104,83,72,65,50,50,52]},
{{3,"authSHA224","initial",3,1},
[3,10,97,108,108,45,114,105,103,104,116,115],
[3,10,97,117,116,104,83,72,65,50,53,54]}},
{{usmUserTable,"\tmgrEngine\tno-rights"},
{{"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83],
"\tmgrEngine\nall-rights"}},
{{vacmSecurityToGroupTable,[3,10,97,117,116,104,83,72,65,53,49,50]},
{{3,"authSHA512","initial",3,1},
[3,10,97,117,116,104,83,72,65,51,56,52],
first}},
{{usmUserTable,
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53]},
{{"mgrEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
first,
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65]}},
{sysObjectID,[1,2,3]},
{{usmUserTable,
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,
72,65]},
{{"agentEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53],
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108]}},
{{vacmViewTreeFamilyTable,
[10,114,101,115,116,114,105,99,116,101,100,4,1,3,6,1]},
{{"restricted",[1,3,6,1],[],1,3,1},
[8,105,110,116,101,114,110,101,116,9,1,3,6,1,2,1,16,1,0],
first}},
{sysLocation,"new_value"},
{{snmpNotifyTable,"standard trap"},
{{"standard trap","std_trap",1,3,1},"standard inform",first}},
{{usmUserTable,first},
{undef,"\vagentEngine\nauthSHA512",
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53]}},
{{usmUserTable,
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,
68,53]},
{{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
"\tmgrEngine\nauthSHA512",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}},
{{vacmSecurityToGroupTable,[3,7,112,114,105,118,68,69,83]},
{{3,"privDES","initial",3,1},
[3,7,110,101,119,85,115,101,114],
[3,10,97,108,108,45,114,105,103,104,116,115]}},
{sysName,"test"},
{{usmUserTable,
[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,68,
69,83]},
{{"agentEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108],
"\vagentEngine\tno-rights"}},
{{usmUserTable,
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65]},
{{"mgrEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53],
[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83]}},
{{vacmSecurityToGroupTable,[3,10,97,117,116,104,83,72,65,51,56,52]},
{{3,"authSHA384","initial",3,1},
[3,10,97,117,116,104,83,72,65,50,53,54],
[3,10,97,117,116,104,83,72,65,53,49,50]}},
{sysDescr,"Erlang SNMP agent"},
{{snmpTargetAddrTable,"udpIpv4://172.17.0.2:5000 v3.3"},
{{"udpIpv4://172.17.0.2:5000 v3.3",
[1,3,6,1,2,1,100,1,1],
[172,17,0,2,19,136],
1500,3,"std_inform","target_v3",3,1,"mgrEngine",[],2048},
"udpIpv4://172.17.0.2:5000 v3",first}},
{{vacmSecurityToGroupTable,first},
{undef,
[3,10,97,117,116,104,83,72,65,53,49,50],
[3,7,97,117,116,104,77,68,53]}},
{intAgentTransports,
[{transportDomainUdpIpv4,{{172,17,0,2},4000},all,[]}]},
{{vacmSecurityToGroupTable,[3,7,110,101,119,85,115,101,114]},
{{3,"newUser","initial",3,1},
[3,7,105,110,105,116,105,97,108],
[3,7,112,114,105,118,68,69,83]}},
{{vacmSecurityToGroupTable,[3,10,97,117,116,104,83,72,65,50,53,54]},
{{3,"authSHA256","initial",3,1},
[3,10,97,117,116,104,83,72,65,50,50,52],
[3,10,97,117,116,104,83,72,65,51,56,52]}}]}}
*** [2025-08-21 17:12:39.085] NOTICE test_server@405b9c08802f <0.2911.0> ***
try test big_test...
*** [2025-08-21 17:12:39.085] INFO test_server@405b9c08802f <0.2911.0> ***
tc_try -> entry with
N: 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'
M: snmp_agent_test_lib
F: tc_run
A: [snmp_agent_SUITE,big_test,[],[]]
when
get(): [{ipfamily,inet},
{test_server_logopts,[]},
{mip,[172,17,0,2]},
{master_host,"405b9c08802f"},
{master_node,test_server@405b9c08802f},
{mgr_host,"405b9c08802f"},
{mgr_node,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{test_case,big_3},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{sa_host,"405b9c08802f"},
{sa_node,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{ct_process_type,system},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,
112,47,69,114,108,97,110,103,32,8709,8868,8478,47,
108,105,98,47,115,110,109,112,45,53,46,49,57,47,
112,114,105,118,47,109,105,98,115,47]},
{test_server_timetraps,[{<0.2913.0>,<0.2911.0>,{600000,false}},
{<0.2912.0>,<0.2911.0>,
{1800000,false}}]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{test_server_multiply_timetraps,{1,false}},
{vsn,v3},
{test_server_loc,[{snmp_agent_SUITE,big_3}]},
{receive_response_timeout,10000},
{sip,[172,17,0,2]},
{masterip,[172,17,0,2]}]
*** [2025-08-21 17:12:39.086] INFO test_server@405b9c08802f <0.2911.0> ***
tc_try -> 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' still running - start runner
*** [2025-08-21 17:12:39.086] INFO test_server@405b9c08802f <0.2911.0> ***
await tc-runner (<23934.753.0>) start ack
*** [2025-08-21 17:12:39.086] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
tc_wait -> entry with
From: <9047.2911.0>
Env: [{ipfamily,inet},
{test_server_logopts,[]},
{mip,[172,17,0,2]},
{master_host,"405b9c08802f"},
{master_node,test_server@405b9c08802f},
{mgr_host,"405b9c08802f"},
{mgr_node,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{test_case,big_3},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{sa_host,"405b9c08802f"},
{sa_node,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{ct_process_type,system},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,112,
47,69,114,108,97,110,103,32,8709,8868,8478,47,108,105,
98,47,115,110,109,112,45,53,46,49,57,47,112,114,105,
118,47,109,105,98,115,47]},
{test_server_timetraps,[{<9047.2913.0>,<9047.2911.0>,{600000,false}},
{<9047.2912.0>,<9047.2911.0>,
{1800000,false}}]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{test_server_multiply_timetraps,{1,false}},
{vsn,v3},
{test_server_loc,[{snmp_agent_SUITE,big_3}]},
{receive_response_timeout,10000},
{sip,[172,17,0,2]},
{masterip,[172,17,0,2]}]
M: snmp_agent_test_lib
F: tc_run
A: [snmp_agent_SUITE,big_test,[],[]]
*** [2025-08-21 17:12:39.086] INFO test_server@405b9c08802f <0.2911.0> ***
TC runner start acknowledged
*** [2025-08-21 17:12:39.086] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
tc_wait -> env set - now run tc
*** [2025-08-21 17:12:39.087] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
tc_run -> entry with
Mod: snmp_agent_SUITE
Func: big_test
Args: []
Opts: []
*** [2025-08-21 17:12:39.087] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
tc_run -> config:
M: "/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"
Vsn: v3
Dir: "/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"
User: "all-rights"
SecLevel: noAuthNoPriv
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
Community: "all-rights"
StdM: [47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,
114,108,97,110,103,32,8709,8868,8478,47,108,105,98,47,115,
110,109,112,45,53,46,49,57,47,112,114,105,118,47,109,105,98,
115,47]
*** [2025-08-21 17:12:39.087] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> PacksDbg: true
*** [2025-08-21 17:12:39.087] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> RecBufSz: 65535
*** [2025-08-21 17:12:39.088] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Mibs:
[[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,118,50,45,77,73,
66,46,98,105,110],
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/OLD-SNMPEA-MIB.bin",
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,45,70,82,65,77,69,
87,79,82,75,45,77,73,66],
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,45,77,80,68,45,77,
73,66],
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,45,86,73,69,87,45,
66,65,83,69,68,45,65,67,77,45,77,73,66],
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,45,85,83,69,82,45,
66,65,83,69,68,45,83,77,45,77,73,66],
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,45,84,65,82,71,69,
84,45,77,73,66],
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,47,69,114,108,97,
110,103,32,8709,8868,8478,47,108,105,98,47,115,110,109,112,45,53,46,49,
57,47,112,114,105,118,47,109,105,98,115,47,83,78,77,80,45,78,79,84,73,70,
73,67,65,84,73,79,78,45,77,73,66],
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/Klas1.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/Klas2.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/Klas3.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/Klas4.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/SA-MIB.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/TestTrap.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/Test1.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/Test2.bin",
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/TestTrapv2.bin"]
*** [2025-08-21 17:12:39.088] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Udp: 4000
*** [2025-08-21 17:12:39.088] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> User: "all-rights"
*** [2025-08-21 17:12:39.088] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> EngineId: "agentEngine"
*** [2025-08-21 17:12:39.089] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> CtxEngineId: "agentEngine"
*** [2025-08-21 17:12:39.089] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> TrapUdp: 5000
*** [2025-08-21 17:12:39.089] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Dir: "/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"
*** [2025-08-21 17:12:39.089] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> SecLevel: noAuthNoPriv
*** [2025-08-21 17:12:39.091] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Version: 'version-3'
*** [2025-08-21 17:12:39.092] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Com: []
*** [2025-08-21 17:12:39.092] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> VsnHdrD: {[],"all-rights","agentEngine","agentEngine",0}
*** [2025-08-21 17:12:39.092] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> IpFamily: inet
*** [2025-08-21 17:12:39.092] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Host: "405b9c08802f"
*** [2025-08-21 17:12:39.092] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> AgIp: {172,17,0,2}
*** [2025-08-21 17:12:39.093] INFO MGR 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.754.0> ***
init -> Quiet: true
*** [2025-08-21 17:12:39.093] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
starting
*** [2025-08-21 17:12:39.093] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> create (and init) fake "agent" table
*** [2025-08-21 17:12:39.093] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> ensure (old) fake local-db is dead
*** [2025-08-21 17:12:39.093] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
ensure_dead -> already dead
*** [2025-08-21 17:12:39.094] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> try start fake local-db
*** [2025-08-21 17:12:39.094] SNMP MGR-LOCAL-DB LOG ***
starting
*** [2025-08-21 17:12:39.094] SNMP MGR-LOCAL-DB DEBUG ***
dets open done
*** [2025-08-21 17:12:39.095] SNMP MGR-LOCAL-DB TRACE ***
shadow table created and populated
*** [2025-08-21 17:12:39.095] SNMP MGR-LOCAL-DB DEBUG ***
started
*** [2025-08-21 17:12:39.095] SNMP MGR-LOCAL-DB DEBUG ***
started
*** [2025-08-21 17:12:39.095] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> local-db started: <0.756.0>
[{registered_name,snmpa_local_db},
{current_function,{gen_server,loop,5}},
{initial_call,{proc_lib,init_p,5}},
{status,waiting},
{message_queue_len,0},
{links,[<0.755.0>,<0.739.0>]},
{dictionary,
[{'$initial_call',{snmpa_local_db,init,1}},
{sname,"MGR-LOCAL-DB"},
{verbosity,trace},
{'$ancestors',[<0.755.0>,snmp_test_mgr,<0.753.0>]},
{started,"2025-08-21 17:12:39.095"}]},
{trap_exit,true},
{error_handler,error_handler},
{priority,normal},
{group_leader,<9047.1247.0>},
{total_heap_size,3203},
{heap_size,1598},
{stack_size,9},
{reductions,4643},
{garbage_collection,
[{max_heap_size,
#{error_logger => true,include_shared_binaries => false,
kill => true,size => 0}},
{min_bin_vheap_size,46422},
{min_heap_size,233},
{fullsweep_after,65535},
{minor_gcs,17}]},
{suspending,[]}]
*** [2025-08-21 17:12:39.096] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> try set manager engine-id
*** [2025-08-21 17:12:39.096] SNMP MGR-LOCAL-DB LOG ***
variable snmpEngineID set [persistent]:
Val: "mgrEngine"
*** [2025-08-21 17:12:39.096] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: snmpEngineID
Val: "mgrEngine"
*** [2025-08-21 17:12:39.097] SNMP MGR_MISC INFO ***
init_usm -> engine-id set result: true
*** [2025-08-21 17:12:39.097] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> try set engine boots (framework-mib)
*** [2025-08-21 17:12:39.097] SNMP MGR-LOCAL-DB LOG ***
variable snmpEngineBoots set [persistent]:
Val: 1
*** [2025-08-21 17:12:39.098] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: snmpEngineBoots
Val: 1
*** [2025-08-21 17:12:39.098] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> try set engine time (framework-mib)
*** [2025-08-21 17:12:39.098] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> try usm (mib) reconfigure
*** [2025-08-21 17:12:39.098] SNMP MGR_MISC USM_MIB DEBUG ***
read usm configuration files
*** [2025-08-21 17:12:39.098] SNMP MGR_MISC USM_MIB DEBUG ***
read usm config file
*** [2025-08-21 17:12:39.098] SNMP MGR_MISC CONF DEBUG ***
read_files -> entry with
FileName: "usm.conf"
*** [2025-08-21 17:12:39.099] SNMP MGR_MISC CONF DEBUG ***
read -> entry with
File: "/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/usm.conf"
*** [2025-08-21 17:12:39.099] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","initial","initial",zeroDotZero,usmNoAuthProtocol,
[],[],usmNoPrivProtocol,[],[],[],[],[]}
EndLine: 17
*** [2025-08-21 17:12:39.099] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","all-rights","all-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]}
EndLine: 18
*** [2025-08-21 17:12:39.099] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","no-rights","no-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]}
EndLine: 19
*** [2025-08-21 17:12:39.100] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","authMD5","authMD5",zeroDotZero,
usmHMACMD5AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_md5xxxxxx",[]}
EndLine: 20
*** [2025-08-21 17:12:39.100] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","authSHA","authSHA",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx",[]}
EndLine: 21
*** [2025-08-21 17:12:39.100] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","authSHA224","authSHA224",zeroDotZero,
usmHMAC128SHA224AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha224xxxxxxxxxxxxxxx",[]}
EndLine: 22
*** [2025-08-21 17:12:39.100] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","authSHA256","authSHA256",zeroDotZero,
usmHMAC192SHA256AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]}
EndLine: 23
*** [2025-08-21 17:12:39.101] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","authSHA384","authSHA384",zeroDotZero,
usmHMAC256SHA384AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]}
EndLine: 24
*** [2025-08-21 17:12:39.101] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","authSHA512","authSHA512",zeroDotZero,
usmHMAC384SHA512AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
EndLine: 25
*** [2025-08-21 17:12:39.101] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","privDES","privDES",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
EndLine: 26
*** [2025-08-21 17:12:39.101] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","all-rights","all-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]}
EndLine: 27
*** [2025-08-21 17:12:39.102] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","no-rights","no-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]}
EndLine: 28
*** [2025-08-21 17:12:39.102] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","authMD5","authMD5",zeroDotZero,
usmHMACMD5AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_md5xxxxxx",[]}
EndLine: 29
*** [2025-08-21 17:12:39.102] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","authSHA","authSHA",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx",[]}
EndLine: 30
*** [2025-08-21 17:12:39.102] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","authSHA224","authSHA224",zeroDotZero,
usmHMAC128SHA224AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha224xxxxxxxxxxxxxxx",[]}
EndLine: 31
*** [2025-08-21 17:12:39.102] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","authSHA256","authSHA256",zeroDotZero,
usmHMAC192SHA256AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]}
EndLine: 32
*** [2025-08-21 17:12:39.103] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","authSHA384","authSHA384",zeroDotZero,
usmHMAC256SHA384AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]}
EndLine: 33
*** [2025-08-21 17:12:39.103] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","authSHA512","authSHA512",zeroDotZero,
usmHMAC384SHA512AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
EndLine: 34
*** [2025-08-21 17:12:39.103] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","privDES","privDES",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
EndLine: 35
*** [2025-08-21 17:12:39.104] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"agentEngine","newUser","newUser",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
EndLine: 36
*** [2025-08-21 17:12:39.104] SNMP MGR_MISC CONF TRACE ***
read_fd ->
Row: {"mgrEngine","newUser","newUser",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
EndLine: 37
*** [2025-08-21 17:12:39.104] SNMP MGR_MISC CONF TRACE ***
read_fd to read_check ->
Lines: [{1,
{"agentEngine","initial","initial",zeroDotZero,usmNoAuthProtocol,
[],[],usmNoPrivProtocol,[],[],[],[],[]},
17},
{17,
{"agentEngine","all-rights","all-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]},
18},
{18,
{"agentEngine","no-rights","no-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]},
19},
{19,
{"agentEngine","authMD5","authMD5",zeroDotZero,
usmHMACMD5AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_md5xxxxxx",[]},
20},
{20,
{"agentEngine","authSHA","authSHA",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx",[]},
21},
{21,
{"agentEngine","authSHA224","authSHA224",zeroDotZero,
usmHMAC128SHA224AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha224xxxxxxxxxxxxxxx",[]},
22},
{22,
{"agentEngine","authSHA256","authSHA256",zeroDotZero,
usmHMAC192SHA256AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
23},
{23,
{"agentEngine","authSHA384","authSHA384",zeroDotZero,
usmHMAC256SHA384AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
24},
{24,
{"agentEngine","authSHA512","authSHA512",zeroDotZero,
usmHMAC384SHA512AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]},
25},
{25,
{"agentEngine","privDES","privDES",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
26},
{26,
{"mgrEngine","all-rights","all-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]},
27},
{27,
{"mgrEngine","no-rights","no-rights",zeroDotZero,
usmNoAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],[],[]},
28},
{28,
{"mgrEngine","authMD5","authMD5",zeroDotZero,
usmHMACMD5AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_md5xxxxxx",[]},
29},
{29,
{"mgrEngine","authSHA","authSHA",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx",[]},
30},
{30,
{"mgrEngine","authSHA224","authSHA224",zeroDotZero,
usmHMAC128SHA224AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha224xxxxxxxxxxxxxxx",[]},
31},
{31,
{"mgrEngine","authSHA256","authSHA256",zeroDotZero,
usmHMAC192SHA256AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
32},
{32,
{"mgrEngine","authSHA384","authSHA384",zeroDotZero,
usmHMAC256SHA384AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
33},
{33,
{"mgrEngine","authSHA512","authSHA512",zeroDotZero,
usmHMAC384SHA512AuthProtocol,[],[],usmNoPrivProtocol,[],[],[],
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]},
34},
{34,
{"mgrEngine","privDES","privDES",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
35},
{35,
{"agentEngine","newUser","newUser",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
36},
{36,
{"mgrEngine","newUser","newUser",zeroDotZero,
usmHMACSHAAuthProtocol,[],[],usmDESPrivProtocol,[],[],[],
"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
37}]
*** [2025-08-21 17:12:39.105] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.105] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.105] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.105] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]}
*** [2025-08-21 17:12:39.105] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.106] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.106] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.106] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.106] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.106] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.106] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.107] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.107] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]}
*** [2025-08-21 17:12:39.107] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.107] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.107] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.108] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.108] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.108] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.108] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"agentEngine","newUser","newUser",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.108] SNMP MGR_MISC CONF TRACE ***
read_check -> ok:
NewRow: {"mgrEngine","newUser","newUser",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.109] SNMP MGR_MISC USM_MIB DEBUG ***
check users
*** [2025-08-21 17:12:39.109] SNMP MGR_MISC USM_MIB DEBUG ***
initiate tables
*** [2025-08-21 17:12:39.109] SNMP MGR_MISC USM_MIB DEBUG ***
create usm user table
*** [2025-08-21 17:12:39.109] SNMP MGR-LOCAL-DB LOG ***
table delete: usmUserTable [persistent]
*** [2025-08-21 17:12:39.109] SNMP MGR-LOCAL-DB LOG ***
table create: usmUserTable [persistent]
*** [2025-08-21 17:12:39.110] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,first,first}
*** [2025-08-21 17:12:39.110] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,
105,97,108]
Row: {"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.110] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,
116,105,97,108],
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,
116,105,97,108]}
*** [2025-08-21 17:12:39.110] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
first,first}
*** [2025-08-21 17:12:39.110] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.111] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
Row: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.111] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
first,"\vagentEngine\nall-rights"}
*** [2025-08-21 17:12:39.111] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nall-rights",
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,
116,105,97,108]}
*** [2025-08-21 17:12:39.111] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nall-rights"}
Val: {{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108],
first}
*** [2025-08-21 17:12:39.111] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.112] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\tno-rights"
Row: {"agentEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.112] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
first,"\vagentEngine\tno-rights"}
*** [2025-08-21 17:12:39.112] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nall-rights"}
Val: {{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
"\vagentEngine\tno-rights",first}
*** [2025-08-21 17:12:39.112] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\tno-rights"}
Val: {{"agentEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108],
"\vagentEngine\nall-rights"}
*** [2025-08-21 17:12:39.112] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.113] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,
68,53]
Row: {"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]}
*** [2025-08-21 17:12:39.113] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nall-rights",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
*** [2025-08-21 17:12:39.113] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53],
"\vagentEngine\tno-rights"}
*** [2025-08-21 17:12:39.113] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
first,
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108]}
*** [2025-08-21 17:12:39.114] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.114] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,
72,65]
Row: {"agentEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.114] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
first,
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}
*** [2025-08-21 17:12:39.114] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65],
"\vagentEngine\tno-rights"}
*** [2025-08-21 17:12:39.114] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,83,72,65]}
Val: {{"agentEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53],
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108]}
*** [2025-08-21 17:12:39.115] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.115] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nauthSHA224"
Row: {"agentEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.115] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nall-rights"}
Val: {{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
"\vagentEngine\tno-rights","\vagentEngine\nauthSHA224"}
*** [2025-08-21 17:12:39.115] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA224",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
*** [2025-08-21 17:12:39.115] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA224"}
Val: {{"agentEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]},
"\vagentEngine\nall-rights",first}
*** [2025-08-21 17:12:39.116] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.116] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nauthSHA256"
Row: {"agentEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.116] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA224"}
Val: {{"agentEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]},
"\vagentEngine\nall-rights","\vagentEngine\nauthSHA256"}
*** [2025-08-21 17:12:39.116] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA256",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
*** [2025-08-21 17:12:39.116] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA256"}
Val: {{"agentEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
"\vagentEngine\nauthSHA224",first}
*** [2025-08-21 17:12:39.117] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.117] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nauthSHA384"
Row: {"agentEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.117] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA256"}
Val: {{"agentEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
"\vagentEngine\nauthSHA224","\vagentEngine\nauthSHA384"}
*** [2025-08-21 17:12:39.117] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA384",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
*** [2025-08-21 17:12:39.118] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA384"}
Val: {{"agentEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
"\vagentEngine\nauthSHA256",first}
*** [2025-08-21 17:12:39.118] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.118] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nauthSHA512"
Row: {"agentEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.118] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA384"}
Val: {{"agentEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
"\vagentEngine\nauthSHA256","\vagentEngine\nauthSHA512"}
*** [2025-08-21 17:12:39.118] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA512",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
*** [2025-08-21 17:12:39.119] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\nauthSHA512"}
Val: {{"agentEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]},
"\vagentEngine\nauthSHA384",first}
*** [2025-08-21 17:12:39.119] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.119] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,
68,69,83]
Row: {"agentEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.119] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65],
[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,68,
69,83]}
*** [2025-08-21 17:12:39.120] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\vagentEngine\tno-rights"}
Val: {{"agentEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,68,
69,83],
"\vagentEngine\nall-rights"}
*** [2025-08-21 17:12:39.120] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,
105,118,68,69,83]}
Val: {{"agentEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108],
"\vagentEngine\tno-rights"}
*** [2025-08-21 17:12:39.120] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.120] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\tmgrEngine\nall-rights"
Row: {"mgrEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.120] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA512","\tmgrEngine\nall-rights"}
*** [2025-08-21 17:12:39.121] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
"\tmgrEngine\nall-rights",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}
*** [2025-08-21 17:12:39.121] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nall-rights"}
Val: {{"mgrEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
first,
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.121] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.121] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\tmgrEngine\tno-rights"
Row: {"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.122] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA512","\tmgrEngine\tno-rights"}
*** [2025-08-21 17:12:39.122] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nall-rights"}
Val: {{"mgrEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
"\tmgrEngine\tno-rights",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.122] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\tno-rights"}
Val: {{"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
first,"\tmgrEngine\nall-rights"}
*** [2025-08-21 17:12:39.122] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.122] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
Row: {"mgrEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]}
*** [2025-08-21 17:12:39.123] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,first}
Val: {undef,"\vagentEngine\nauthSHA512",
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.123] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\tno-rights"}
Val: {{"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53],
"\tmgrEngine\nall-rights"}
*** [2025-08-21 17:12:39.123] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
Val: {{"mgrEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
first,"\tmgrEngine\tno-rights"}
*** [2025-08-21 17:12:39.123] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.124] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65]
Row: {"mgrEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.124] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,
77,68,53]}
Val: {{"mgrEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
first,
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65]}
*** [2025-08-21 17:12:39.124] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\tno-rights"}
Val: {{"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65],
"\tmgrEngine\nall-rights"}
*** [2025-08-21 17:12:39.124] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,
83,72,65]}
Val: {{"mgrEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53],
"\tmgrEngine\tno-rights"}
*** [2025-08-21 17:12:39.124] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.125] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\tmgrEngine\nauthSHA224"
Row: {"mgrEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.125] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nall-rights"}
Val: {{"mgrEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
"\tmgrEngine\tno-rights","\tmgrEngine\nauthSHA224"}
*** [2025-08-21 17:12:39.125] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
"\tmgrEngine\nauthSHA224",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}
*** [2025-08-21 17:12:39.125] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA224"}
Val: {{"mgrEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nall-rights",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.126] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.126] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\tmgrEngine\nauthSHA256"
Row: {"mgrEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]}
*** [2025-08-21 17:12:39.126] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA224"}
Val: {{"mgrEngine","authSHA224","authSHA224",
[0,0],
[1,3,6,1,6,3,10,1,1,4],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha224xxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nall-rights","\tmgrEngine\nauthSHA256"}
*** [2025-08-21 17:12:39.126] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
"\tmgrEngine\nauthSHA256",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}
*** [2025-08-21 17:12:39.126] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA256"}
Val: {{"mgrEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nauthSHA224",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.127] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.127] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\tmgrEngine\nauthSHA384"
Row: {"mgrEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.127] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA256"}
Val: {{"mgrEngine","authSHA256","authSHA256",
[0,0],
[1,3,6,1,6,3,10,1,1,5],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha256xxxxxxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nauthSHA224","\tmgrEngine\nauthSHA384"}
*** [2025-08-21 17:12:39.127] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
"\tmgrEngine\nauthSHA384",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}
*** [2025-08-21 17:12:39.128] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA384"}
Val: {{"mgrEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nauthSHA256",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.128] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.128] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: "\tmgrEngine\nauthSHA512"
Row: {"mgrEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]}
*** [2025-08-21 17:12:39.128] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA384"}
Val: {{"mgrEngine","authSHA384","authSHA384",
[0,0],
[1,3,6,1,6,3,10,1,1,6],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_sha384xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",[]},
"\tmgrEngine\nauthSHA256","\tmgrEngine\nauthSHA512"}
*** [2025-08-21 17:12:39.128] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,
116,104,77,68,53]}
Val: {{"agentEngine","authMD5","authMD5",
[0,0],
[1,3,6,1,6,3,10,1,1,2],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_md5xxxxxx",[]},
"\tmgrEngine\nauthSHA512",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65]}
*** [2025-08-21 17:12:39.129] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\nauthSHA512"}
Val: {{"mgrEngine","authSHA512","authSHA512",
[0,0],
[1,3,6,1,6,3,10,1,1,7],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,
"passwd_sha512xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
[]},
"\tmgrEngine\nauthSHA384",
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,
53]}
*** [2025-08-21 17:12:39.129] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.129] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83]
Row: {"mgrEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.129] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,
83,72,65]}
Val: {{"mgrEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53],
[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83]}
*** [2025-08-21 17:12:39.130] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,"\tmgrEngine\tno-rights"}
Val: {{"mgrEngine","no-rights","no-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83],
"\tmgrEngine\nall-rights"}
*** [2025-08-21 17:12:39.130] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,
68,69,83]}
Val: {{"mgrEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65],
"\tmgrEngine\tno-rights"}
*** [2025-08-21 17:12:39.130] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.130] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [11,97,103,101,110,116,69,110,103,105,110,101,7,110,101,119,85,
115,101,114]
Row: {"agentEngine","newUser","newUser",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.131] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,
105,116,105,97,108]}
Val: {{"agentEngine","initial","initial",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]},
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,83,72,
65],
[11,97,103,101,110,116,69,110,103,105,110,101,7,110,101,119,85,115,
101,114]}
*** [2025-08-21 17:12:39.131] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,
105,118,68,69,83]}
Val: {{"agentEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[11,97,103,101,110,116,69,110,103,105,110,101,7,110,101,119,85,115,
101,114],
"\vagentEngine\tno-rights"}
*** [2025-08-21 17:12:39.131] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[11,97,103,101,110,116,69,110,103,105,110,101,7,110,101,
119,85,115,101,114]}
Val: {{"agentEngine","newUser","newUser",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[11,97,103,101,110,116,69,110,103,105,110,101,7,105,110,105,116,105,
97,108],
[11,97,103,101,110,116,69,110,103,105,110,101,7,112,114,105,118,68,
69,83]}
*** [2025-08-21 17:12:39.131] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.131] SNMP MGR-LOCAL-DB LOG ***
table create row [persistent]:
Name: usmUserTable
Indexes: [9,109,103,114,69,110,103,105,110,101,7,110,101,119,85,115,101,
114]
Row: {"mgrEngine","newUser","newUser",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"}
*** [2025-08-21 17:12:39.132] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,
83,72,65]}
Val: {{"mgrEngine","authSHA","authSHA",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,"passwd_shaxxxxxxxxxx",[]},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,77,68,53],
[9,109,103,114,69,110,103,105,110,101,7,110,101,119,85,115,101,114]}
*** [2025-08-21 17:12:39.132] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,
68,69,83]}
Val: {{"mgrEngine","privDES","privDES",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[9,109,103,114,69,110,103,105,110,101,7,110,101,119,85,115,101,114],
"\tmgrEngine\tno-rights"}
*** [2025-08-21 17:12:39.132] SNMP MGR-LOCAL-DB TRACE ***
insert(persistent) -> entry with
Key: {usmUserTable,[9,109,103,114,69,110,103,105,110,101,7,110,101,119,85,
115,101,114]}
Val: {{"mgrEngine","newUser","newUser",
[0,0],
[1,3,6,1,6,3,10,1,1,3],
[],[],
[1,3,6,1,6,3,10,1,2,2],
[],[],[],3,1,"passwd_shaxxxxxxxxxx","passwd_desxxxxxx"},
[9,109,103,114,69,110,103,105,110,101,7,97,117,116,104,83,72,65],
[9,109,103,114,69,110,103,105,110,101,7,112,114,105,118,68,69,83]}
*** [2025-08-21 17:12:39.132] SNMP MGR-LOCAL-DB DEBUG ***
table create row result:
true
*** [2025-08-21 17:12:39.132] SNMP MGR_MISC USM_MIB DEBUG ***
initiate vars
*** [2025-08-21 17:12:39.133] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
init_usm -> done
*** [2025-08-21 17:12:39.133] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
started
*** [2025-08-21 17:12:39.133] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4257
*** [2025-08-21 17:12:39.133] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1591
*** [2025-08-21 17:12:39.133] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.133] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1591,noError,0,
[{varbind,[1,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.133] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1591,noError,0,
[{varbind,[1,1],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.134] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.134] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.134] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.135] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.135] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.135] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.135] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.135] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.135] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.136] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.136] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.136] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.136] SNMP MGR_MISC LOG ***
attempt send message (97 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.136] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.137] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF MPD LOG ***
v3, msgID: 1, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 1
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.137] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.137] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.137] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,36,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
19,2,2,6,55,2,1,0,2,1,0,48,7,48,5,6,1,41,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1591,noError,0,
[{varbind,[1,1],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.138] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.139] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1591,noError,0,[{varbind,[1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.139] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1591,noError,0,
[{varbind,[1,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.123819>}]
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.139] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.139] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.139] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1591,noError,0,
[{varbind,[1,1],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.139] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.139] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1591
Vbs: [{varbind,[1,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.140] SNMP A-MIB-SERVER LOG ***
next [1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.140] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.140] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1591,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.140] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1591,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.141] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.141] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.141] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.141] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.142] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.142] SNMP A-NET-IF INFO ***
time in agent: 5134 mysec
*** [2025-08-21 17:12:39.142] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.142] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.142] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.142] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.142] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.143] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.143] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.143] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.143] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.143] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.143] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.144] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.144] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.144] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.144] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.144] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.145] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.145] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.145] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.145] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.145] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.146] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.146] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.146] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.146] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,55,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.146] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1591,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.146] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.147] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4257 =>
ok
*** [2025-08-21 17:12:39.147] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4259
*** [2025-08-21 17:12:39.147] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1592
*** [2025-08-21 17:12:39.147] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.147] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1592,noError,0,
[{varbind,[1,3],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.148] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1592,noError,0,
[{varbind,[1,3],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.148] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.148] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.148] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.148] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.149] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.149] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.149] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.149] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.149] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.149] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.150] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.150] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.150] SNMP MGR_MISC LOG ***
attempt send message (97 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.150] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.150] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.150] SNMP A-NET-IF MPD LOG ***
v3, msgID: 2, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.150] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.150] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 2
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.150] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.151] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.151] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,36,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
19,2,2,6,56,2,1,0,2,1,0,48,7,48,5,6,1,43,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.151] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1592,noError,0,
[{varbind,[1,3],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.152] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1592,noError,0,[{varbind,[1,3],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.152] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1592,noError,0,
[{varbind,[1,3],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.124154>}]
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.152] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.152] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.152] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1592,noError,0,
[{varbind,[1,3],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.152] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.152] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.152] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1592
Vbs: [{varbind,[1,3],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.153] SNMP A-MIB-SERVER LOG ***
next [1,3] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.153] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.153] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1592,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.153] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1592,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.153] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.153] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.153] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.154] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.154] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF INFO ***
time in agent: 4103 mysec
*** [2025-08-21 17:12:39.154] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.154] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.155] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.155] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.155] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.155] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.155] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.156] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.156] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.156] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.156] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.156] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.156] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.157] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.157] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.157] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.157] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.157] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.157] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.158] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.158] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.158] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.158] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.158] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.159] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,56,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.159] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1592,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.159] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.159] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4259 =>
ok
*** [2025-08-21 17:12:39.160] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4261
*** [2025-08-21 17:12:39.160] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1593
*** [2025-08-21 17:12:39.160] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.160] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1593,noError,0,
[{varbind,[1,3,6],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.160] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1593,noError,0,
[{varbind,[1,3,6],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.160] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.161] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.161] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.161] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.161] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.161] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.161] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.162] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.162] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.162] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.162] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.162] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.162] SNMP MGR_MISC LOG ***
attempt send message (98 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.163] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF MPD LOG ***
v3, msgID: 3, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 3
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.163] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.163] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.164] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,37,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
20,2,2,6,57,2,1,0,2,1,0,48,8,48,6,6,2,43,6,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1593,noError,0,
[{varbind,[1,3,6],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.164] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.165] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1593,noError,0,[{varbind,[1,3,6],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1593,noError,0,
[{varbind,[1,3,6],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.124308>}]
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.165] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1593,noError,0,
[{varbind,[1,3,6],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.165] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1593
Vbs: [{varbind,[1,3,6],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.165] SNMP A-MIB-SERVER LOG ***
next [1,3,6] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.166] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.166] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.166] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.166] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.166] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.166] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.166] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1593,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1593,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.166] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.166] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.166] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.166] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.167] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.167] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.167] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.167] SNMP A-NET-IF INFO ***
time in agent: 3926 mysec
*** [2025-08-21 17:12:39.167] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.167] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.167] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.167] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.167] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.167] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.168] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.168] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.168] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.168] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.168] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.169] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.169] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.169] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.169] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.169] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.170] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.170] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.170] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.170] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.170] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.171] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.171] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.171] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.171] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,57,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.171] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1593,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.172] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.172] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4261 =>
ok
*** [2025-08-21 17:12:39.172] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4263
*** [2025-08-21 17:12:39.172] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1594
*** [2025-08-21 17:12:39.173] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.173] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1594,noError,0,
[{varbind,[1,3,6,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.173] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1594,noError,0,
[{varbind,[1,3,6,1],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.173] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.173] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.173] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.174] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.174] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.174] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.174] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.174] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.174] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.174] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.175] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.175] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.175] SNMP MGR_MISC LOG ***
attempt send message (99 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.175] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.175] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.175] SNMP A-NET-IF MPD LOG ***
v3, msgID: 4, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.175] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.175] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 4
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.176] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.176] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.176] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,38,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
21,2,2,6,58,2,1,0,2,1,0,48,9,48,7,6,3,43,6,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1594,noError,0,
[{varbind,[1,3,6,1],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.177] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1594,noError,0,[{varbind,[1,3,6,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.177] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1594,noError,0,
[{varbind,[1,3,6,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.124665>}]
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.177] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.177] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.177] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1594,noError,0,
[{varbind,[1,3,6,1],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.177] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.177] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.177] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1594
Vbs: [{varbind,[1,3,6,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.178] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.178] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.178] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1594,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1594,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.178] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.178] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.178] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.178] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF INFO ***
time in agent: 3451 mysec
*** [2025-08-21 17:12:39.179] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.179] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.179] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.179] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.179] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.180] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.180] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.180] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.180] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.180] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.180] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.180] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.181] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.181] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.181] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.181] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.181] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.181] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.182] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.182] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.182] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.182] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.182] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.182] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.183] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,58,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.183] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1594,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.183] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.183] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4263 =>
ok
*** [2025-08-21 17:12:39.184] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4265
*** [2025-08-21 17:12:39.184] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1595
*** [2025-08-21 17:12:39.184] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.184] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1595,noError,0,
[{varbind,[1,3,6,1,2],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.184] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1595,noError,0,
[{varbind,[1,3,6,1,2],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.184] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.184] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.185] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.185] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.185] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.185] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.185] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.185] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.186] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.186] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.186] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.186] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.186] SNMP MGR_MISC LOG ***
attempt send message (100 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.186] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.187] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF MPD LOG ***
v3, msgID: 5, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 5
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.187] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.187] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.187] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,39,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
22,2,2,6,59,2,1,0,2,1,0,48,10,48,8,6,4,43,6,1,2,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1595,noError,0,
[{varbind,[1,3,6,1,2],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.188] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1595,noError,0,[{varbind,[1,3,6,1,2],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.188] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1595,noError,0,
[{varbind,[1,3,6,1,2],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.125036>}]
*** [2025-08-21 17:12:39.188] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.188] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.189] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1595,noError,0,
[{varbind,[1,3,6,1,2],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1595
Vbs: [{varbind,[1,3,6,1,2],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.189] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.189] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.189] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1595,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.189] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1595,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.189] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.190] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.190] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.190] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF INFO ***
time in agent: 3747 mysec
*** [2025-08-21 17:12:39.190] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.190] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.191] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.191] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.191] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.191] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.191] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.191] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.192] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.192] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.192] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.192] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.192] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.192] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.193] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.193] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.193] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.193] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.193] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.193] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.194] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.194] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.194] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.194] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.194] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,59,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.194] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1595,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.195] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.195] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4265 =>
ok
*** [2025-08-21 17:12:39.195] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4267
*** [2025-08-21 17:12:39.195] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1596
*** [2025-08-21 17:12:39.195] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.196] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1596,noError,0,
[{varbind,[1,3,6,1,2,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.196] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1596,noError,0,
[{varbind,[1,3,6,1,2,1],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.196] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.196] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.196] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.197] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.197] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.197] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.197] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.197] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.197] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.198] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.198] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.198] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.198] SNMP MGR_MISC LOG ***
attempt send message (101 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.198] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.198] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.198] SNMP A-NET-IF MPD LOG ***
v3, msgID: 6, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.198] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.198] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 6
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.199] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.199] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,40,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
23,2,2,6,60,2,1,0,2,1,0,48,11,48,9,6,5,43,6,1,2,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.199] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1596,noError,0,
[{varbind,[1,3,6,1,2,1],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.200] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1596,noError,0,[{varbind,[1,3,6,1,2,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.200] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1596,noError,0,
[{varbind,[1,3,6,1,2,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.125407>}]
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.200] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.200] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.200] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1596,noError,0,
[{varbind,[1,3,6,1,2,1],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.200] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.200] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.200] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1596
Vbs: [{varbind,[1,3,6,1,2,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.201] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.201] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.201] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1596,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.201] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1596,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.201] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.201] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.201] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.201] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.202] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF INFO ***
time in agent: 3818 mysec
*** [2025-08-21 17:12:39.202] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.202] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.202] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.203] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.203] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.203] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.203] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.203] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.203] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.204] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.204] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.204] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.204] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.204] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.204] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.205] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.205] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.205] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.205] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.205] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.205] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.206] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.206] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.206] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.206] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,60,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.206] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1596,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.207] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.207] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4267 =>
ok
*** [2025-08-21 17:12:39.207] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4269
*** [2025-08-21 17:12:39.207] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1597
*** [2025-08-21 17:12:39.207] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.208] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.208] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.208] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.208] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.208] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.208] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.209] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.209] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.209] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.209] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.209] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.209] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.210] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.210] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.210] SNMP MGR_MISC LOG ***
attempt send message (102 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.210] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.210] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.210] SNMP A-NET-IF MPD LOG ***
v3, msgID: 7, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.210] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.210] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 7
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.211] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.211] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,41,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
24,2,2,6,61,2,1,0,2,1,0,48,12,48,10,6,6,43,6,1,2,1,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.211] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.212] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1597,noError,0,[{varbind,[1,3,6,1,2,1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.212] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.125778>}]
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.212] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.212] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.212] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.212] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.212] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.212] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1597
Vbs: [{varbind,[1,3,6,1,2,1,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.213] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.213] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.213] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.213] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1597,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.213] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.213] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.213] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.213] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.213] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.213] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.214] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF INFO ***
time in agent: 3720 mysec
*** [2025-08-21 17:12:39.214] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.214] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.214] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.215] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.215] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.215] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.215] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.215] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.215] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.216] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.216] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.216] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.216] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.216] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.217] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.217] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.217] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.217] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.217] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.217] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.218] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.218] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.218] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.218] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.218] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,61,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.219] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1597,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.219] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.219] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4269 =>
ok
*** [2025-08-21 17:12:39.219] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4271
*** [2025-08-21 17:12:39.220] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1598
*** [2025-08-21 17:12:39.220] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.220] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.220] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.220] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.220] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.221] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.221] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.221] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.221] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.221] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.222] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.222] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.222] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.222] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.222] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.222] SNMP MGR_MISC LOG ***
attempt send message (103 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.223] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF MPD LOG ***
v3, msgID: 8, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 8
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.223] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.223] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.223] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,42,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
25,2,2,6,62,2,1,0,2,1,0,48,13,48,11,6,7,43,6,1,2,1,1,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.224] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1598,noError,0,[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.224] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.126149>}]
*** [2025-08-21 17:12:39.225] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.225] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1598
Vbs: [{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.225] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.225] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.225] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.226] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1598,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.226] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.226] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.226] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.226] SNMP A-NET-IF INFO ***
time in agent: 3673 mysec
*** [2025-08-21 17:12:39.227] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.227] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.227] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.227] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.227] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.227] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.227] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.228] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.228] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.228] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.228] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.228] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.229] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.229] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.229] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.229] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.229] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.229] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.230] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.230] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.230] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.230] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.230] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.231] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.231] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,62,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.231] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1598,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.231] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.232] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4271 =>
ok
*** [2025-08-21 17:12:39.232] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4273
*** [2025-08-21 17:12:39.232] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1599
*** [2025-08-21 17:12:39.232] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"}]
*** [2025-08-21 17:12:39.232] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.232] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.233] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.233] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.233] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.233] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.233] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.233] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.234] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.234] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.234] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.234] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.234] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.234] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.235] SNMP MGR_MISC LOG ***
attempt send message (104 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.235] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF MPD LOG ***
v3, msgID: 9, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 9
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.235] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.235] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.236] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
26,2,2,6,63,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,1,1,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.236] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.236] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1599,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.237] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.237] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.126520>}]
*** [2025-08-21 17:12:39.237] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.237] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT TRACE ***
get 1599
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.237] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT GET TRACE ***
try_get(ivarbind) -> entry with
IVb: {ivarbind,noError,
{me,[1,3,6,1,2,1,1,1],
variable,sysDescr,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',
false,undefined},
'read-only',
{snmp_generic,variable_func,[{sysDescr,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,1,0],'NULL','NULL',1}}
*** [2025-08-21 17:12:39.237] SNMP MASTER-AGENT GET TRACE ***
get_var_value_from_ivb(noError) -> entry
*** [2025-08-21 17:12:39.238] SNMP MASTER-AGENT GET TRACE ***
get_var_value_from_mib(variable) -> entry when
Mod: snmp_generic
Func: variable_func
Args: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.238] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.238] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.238] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.238] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.238] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.238] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1599,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1}]}
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.238] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.238] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.238] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.238] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF INFO ***
time in agent: 3934 mysec
*** [2025-08-21 17:12:39.239] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.239] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 121
*** [2025-08-21 17:12:39.239] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.239] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.239] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.240] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.240] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.240] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.240] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.240] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.240] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.241] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.241] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.241] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.241] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.241] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.241] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.242] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.243] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,60,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,43,
2,2,6,63,2,1,0,2,1,0,48,31,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.243] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1599,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1}]}
*** [2025-08-21 17:12:39.243] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
*** [2025-08-21 17:12:39.243] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4273 =>
ok
*** [2025-08-21 17:12:39.244] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4276
*** [2025-08-21 17:12:39.244] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1600
*** [2025-08-21 17:12:39.244] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr],noSuchObject}]
*** [2025-08-21 17:12:39.244] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.244] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.244] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.244] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.245] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.245] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.245] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.245] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.245] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.245] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.246] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.246] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.246] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.246] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.246] SNMP MGR_MISC LOG ***
attempt send message (103 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.246] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.247] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF MPD LOG ***
v3, msgID: 10, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 10
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.247] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.247] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.247] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,42,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
25,2,2,6,64,2,1,0,2,1,0,48,13,48,11,6,7,43,6,1,2,1,1,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.248] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1600,noError,0,[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.248] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.126911>}]
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.248] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.248] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.248] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT TRACE ***
get 1600
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,1,1]
*** [2025-08-21 17:12:39.249] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,1,1]
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT GET TRACE ***
try_get(ivarbind) -> entry with
IVb: {ivarbind,noSuchObject,undefined,
{varbind,[1,3,6,1,2,1,1,1],'NULL','NULL',1}}
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT GET TRACE ***
get_var_value_from_ivb(noSuchObject) -> entry
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,1],'NULL',noSuchObject,1}]
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,1,1],'NULL',noSuchObject,1}]
*** [2025-08-21 17:12:39.249] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.249] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1600,noError,0,[{varbind,[1,3,6,1,2,1,1,1],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.249] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.249] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.249] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.249] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.250] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF INFO ***
time in agent: 3628 mysec
*** [2025-08-21 17:12:39.250] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.250] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 103
*** [2025-08-21 17:12:39.250] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.251] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.251] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.251] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.251] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.251] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.251] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.252] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.252] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.252] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.252] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.252] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.252] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.253] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.253] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.253] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.253] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.253] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.253] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.254] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.254] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.254] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.254] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,42,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,25,
2,2,6,64,2,1,0,2,1,0,48,13,48,11,6,7,43,6,1,2,1,1,1,128,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.254] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1600,noError,0,
[{varbind,[1,3,6,1,2,1,1,1],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.254] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1],'NULL',noSuchObject,1}]
when
ExpVBs: [{[sysDescr],noSuchObject}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1]
*** [2025-08-21 17:12:39.255] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4276 =>
ok
*** [2025-08-21 17:12:39.255] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4279
*** [2025-08-21 17:12:39.255] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1601
*** [2025-08-21 17:12:39.255] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[1,6,7,0],noSuchObject}]
*** [2025-08-21 17:12:39.255] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1601,noError,0,
[{varbind,[1,6,7,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.255] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1601,noError,0,
[{varbind,[1,6,7,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.256] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.256] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.256] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.256] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.256] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.257] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.258] SNMP MGR_MISC LOG ***
attempt send message (99 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.258] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF MPD LOG ***
v3, msgID: 11, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 11
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.258] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.258] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.259] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,38,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
21,2,2,6,65,2,1,0,2,1,0,48,9,48,7,6,3,46,7,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1601,noError,0,
[{varbind,[1,6,7,0],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.259] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.259] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1601,noError,0,[{varbind,[1,6,7,0],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.260] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.260] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1601,noError,0,
[{varbind,[1,6,7,0],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.127285>}]
*** [2025-08-21 17:12:39.260] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.260] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1601,noError,0,
[{varbind,[1,6,7,0],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT TRACE ***
get 1601
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,6,7,0],'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,6,7,0],'NULL',noSuchObject,1}]
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,6,7,0],'NULL',noSuchObject,1}]
*** [2025-08-21 17:12:39.260] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1601,noError,0,
[{varbind,[1,6,7,0],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.260] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1601,noError,0,[{varbind,[1,6,7,0],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.260] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.261] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.261] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.261] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF INFO ***
time in agent: 3384 mysec
*** [2025-08-21 17:12:39.261] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.261] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 99
*** [2025-08-21 17:12:39.262] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.262] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.262] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.262] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.262] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.262] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.263] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.263] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.263] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.263] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.263] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.263] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.264] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.264] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.264] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.264] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.264] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.264] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.265] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.265] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.265] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.265] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.265] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,38,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,21,
2,2,6,65,2,1,0,2,1,0,48,9,48,7,6,3,46,7,0,128,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.265] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1601,noError,0,
[{varbind,[1,6,7,0],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.266] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,6,7,0],'NULL',noSuchObject,1}]
when
ExpVBs: [{[1,6,7,0],noSuchObject}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [1,6,7,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,6,7,0]
*** [2025-08-21 17:12:39.266] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4279 =>
ok
*** [2025-08-21 17:12:39.266] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4282
*** [2025-08-21 17:12:39.266] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1602
*** [2025-08-21 17:12:39.266] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[1,13],endOfMibView}]
*** [2025-08-21 17:12:39.266] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1602,noError,0,
[{varbind,[1,13],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.267] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1602,noError,0,
[{varbind,[1,13],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.267] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.267] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.267] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.267] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.267] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.268] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.268] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.268] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.268] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.268] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.268] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.269] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.269] SNMP MGR_MISC LOG ***
attempt send message (97 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.269] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF MPD LOG ***
v3, msgID: 12, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 12
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.269] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.270] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.270] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,36,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
19,2,2,6,66,2,1,0,2,1,0,48,7,48,5,6,1,53,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1602,noError,0,
[{varbind,[1,13],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.270] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.270] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1602,noError,0,[{varbind,[1,13],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1602,noError,0,
[{varbind,[1,13],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.127642>}]
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.271] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1602,noError,0,
[{varbind,[1,13],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1602
Vbs: [{varbind,[1,13],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.271] SNMP A-MIB-SERVER LOG ***
next [1,13] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,13],'NULL',endOfMibView,1}]
*** [2025-08-21 17:12:39.271] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,13],'NULL',endOfMibView,1}]
*** [2025-08-21 17:12:39.272] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1602,noError,0,
[{varbind,[1,13],'NULL',endOfMibView,1}]}
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1602,noError,0,[{varbind,[1,13],'NULL',endOfMibView,1}]}
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.272] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.272] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.272] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF INFO ***
time in agent: 3345 mysec
*** [2025-08-21 17:12:39.272] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.272] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 97
*** [2025-08-21 17:12:39.273] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.273] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.273] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.273] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.273] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.274] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.274] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.274] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.274] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.274] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.274] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.275] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.275] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.275] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.275] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.275] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.275] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.276] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.276] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.276] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.276] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.276] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.276] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,36,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,19,
2,2,6,66,2,1,0,2,1,0,48,7,48,5,6,1,53,130,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.277] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1602,noError,0,
[{varbind,[1,13],'NULL',endOfMibView,1}]}
*** [2025-08-21 17:12:39.277] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,13],'NULL',endOfMibView,1}]
when
ExpVBs: [{[1,13],endOfMibView}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [1,13]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,13]
*** [2025-08-21 17:12:39.277] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4282 =>
ok
*** [2025-08-21 17:12:39.277] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4284
*** [2025-08-21 17:12:39.277] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1603
*** [2025-08-21 17:12:39.278] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysLocation,0],"new_value"}]
*** [2025-08-21 17:12:39.278] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1603,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",undefined}]}
*** [2025-08-21 17:12:39.278] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1603,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.278] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.278] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.278] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.279] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.279] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.279] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.279] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.279] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.279] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.280] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.280] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.280] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.280] SNMP MGR_MISC LOG ***
attempt send message (113 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.280] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.280] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.280] SNMP A-NET-IF MPD LOG ***
v3, msgID: 13, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.280] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 13
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.281] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.281] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.281] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,52,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
35,2,2,6,67,2,1,0,2,1,0,48,23,48,21,6,8,43,6,1,2,1,1,6,0,4,9,
110,101,119,95,118,97,108,117,101],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1603,noError,0,
[{varbind,
[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",1}]}}
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.282] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1603,noError,0,[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',[110,101,119,95,118,97,108,117,101],1}]}
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.282] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1603,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.127996>}]
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.282] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.282] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.282] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1603,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.282] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.282] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,1,6,0]
Index: 1
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.283] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,
'DisplayString',false,undefined},
'read-write',
{snmp_generic,variable_func,
[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,
[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",1}}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',
false,undefined},
'read-write',
{snmp_generic,variable_func,[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}}]
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
IVarbind: {ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',
false,undefined},
'read-write',
{snmp_generic,variable_func,[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}}
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_variable -> entry with
MFA: {snmp_generic,variable_func,[{sysLocation,permanent}]}
Val: "new_value"
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,variable_func,[is_set_ok,"new_value",
{sysLocation,permanent}]
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB LOG ***
returned: noError
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_variable -> Result:
noError
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.283] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,
'DisplayString',false,undefined},
'read-write',
{snmp_generic,variable_func,
[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,
[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",1}}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.284] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,variable_func,[set,"new_value",{sysLocation,permanent}]
*** [2025-08-21 17:12:39.284] SNMP A-LOCAL-DB LOG ***
variable sysLocation set [permanent]:
Val: "new_value"
*** [2025-08-21 17:12:39.284] SNMP MASTER-AGENT SETLIB LOG ***
returned: noError
*** [2025-08-21 17:12:39.284] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.284] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.284] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.284] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1603,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]}
*** [2025-08-21 17:12:39.284] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1603,noError,0,[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',[110,101,119,95,118,97,108,117,101],1}]}
*** [2025-08-21 17:12:39.284] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.284] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.284] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.284] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.284] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.284] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.284] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.285] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF INFO ***
time in agent: 4585 mysec
*** [2025-08-21 17:12:39.285] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.285] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 113
*** [2025-08-21 17:12:39.285] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.285] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.286] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.286] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.286] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.286] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.286] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.286] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.287] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.287] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.287] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.287] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.287] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.287] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.288] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.288] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.288] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.288] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.288] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.289] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.289] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.289] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.289] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,52,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,35,
2,2,6,67,2,1,0,2,1,0,48,23,48,21,6,8,43,6,1,2,1,1,6,0,4,9,110,
101,119,95,118,97,108,117,101],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.289] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1603,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]}
*** [2025-08-21 17:12:39.289] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",1}]
when
ExpVBs: [{[sysLocation,0],"new_value"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysLocation,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.290] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4284 =>
ok
*** [2025-08-21 17:12:39.290] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4286
*** [2025-08-21 17:12:39.290] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1604
*** [2025-08-21 17:12:39.290] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysLocation,0],"new_value"}]
*** [2025-08-21 17:12:39.290] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.291] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.291] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.291] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.291] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.291] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.292] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.292] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.292] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.292] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.292] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.292] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.293] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.293] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.293] SNMP MGR_MISC LOG ***
attempt send message (104 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.293] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF MPD LOG ***
v3, msgID: 14, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 14
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.293] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.294] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.294] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
26,2,2,6,68,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,1,6,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.294] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.295] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1604,noError,0,[{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.128424>}]
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.295] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT TRACE ***
get 1604
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.295] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.296] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT GET TRACE ***
try_get(ivarbind) -> entry with
IVb: {ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',
false,undefined},
'read-write',
{snmp_generic,variable_func,[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,6,0],'NULL','NULL',1}}
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT GET TRACE ***
get_var_value_from_ivb(noError) -> entry
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT GET TRACE ***
get_var_value_from_mib(variable) -> entry when
Mod: snmp_generic
Func: variable_func
Args: [{sysLocation,permanent}]
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysLocation,permanent}]
*** [2025-08-21 17:12:39.296] SNMP A-LOCAL-DB LOG ***
variable get: sysLocation [permanent]
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"new_value"}
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]
*** [2025-08-21 17:12:39.296] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]}
*** [2025-08-21 17:12:39.296] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1604,noError,0,[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',[110,101,119,95,118,97,108,117,101],1}]}
*** [2025-08-21 17:12:39.296] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.296] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.296] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.296] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.297] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF INFO ***
time in agent: 3932 mysec
*** [2025-08-21 17:12:39.297] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.297] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 113
*** [2025-08-21 17:12:39.297] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.298] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.298] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.298] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.298] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.298] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.298] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.299] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.299] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.299] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.299] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.299] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.299] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.300] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.300] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.300] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.300] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.300] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.300] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.301] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.301] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.301] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.301] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,52,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,35,
2,2,6,68,2,1,0,2,1,0,48,23,48,21,6,8,43,6,1,2,1,1,6,0,4,9,110,
101,119,95,118,97,108,117,101],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.301] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1604,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'OCTET STRING',"new_value",1}]}
*** [2025-08-21 17:12:39.302] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,6,0],
'OCTET STRING',"new_value",1}]
when
ExpVBs: [{[sysLocation,0],"new_value"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysLocation,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.302] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4286 =>
ok
Testing noSuchName and badValue...
*** [2025-08-21 17:12:39.302] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4289
*** [2025-08-21 17:12:39.302] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1605
*** [2025-08-21 17:12:39.302] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response' within 5500 ms with
Error: notWritable
Index: 1
Varbinds: any
*** [2025-08-21 17:12:39.303] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1605,noError,0,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,undefined}]}
*** [2025-08-21 17:12:39.303] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1605,noError,0,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.303] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.303] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.303] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.304] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.304] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.304] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.304] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.304] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.304] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.305] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.305] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.305] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.305] SNMP MGR_MISC LOG ***
attempt send message (105 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.305] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.305] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.305] SNMP A-NET-IF MPD LOG ***
v3, msgID: 15, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.305] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.305] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 15
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.306] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.306] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,44,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
27,2,2,6,69,2,1,0,2,1,0,48,15,48,13,6,8,43,6,1,2,1,1,7,0,2,1,
3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.306] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1605,noError,0,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}}
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.307] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1605,noError,0,[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.307] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1605,noError,0,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.128817>}]
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.307] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.307] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.307] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1605,noError,0,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.307] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.307] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.307] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,1,7,0]
Index: 1
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,1,7,0]
*** [2025-08-21 17:12:39.308] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,1,7,0]
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{ivarbind,noError,
{me,[1,3,6,1,2,1,1,7],
variable,sysServices,
{asn1_type,'INTEGER',0,127,[],true,'INTEGER',
false,undefined},
'read-only',
{snmp_generic,variable_func,
[{sysServices,permanent}]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{ivarbind,noError,
{me,[1,3,6,1,2,1,1,7],
variable,sysServices,
{asn1_type,'INTEGER',0,127,[],true,'INTEGER',false,
undefined},
'read-only',
{snmp_generic,variable_func,[{sysServices,permanent}]},
false,
[{variable_info,{variable_info,0}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}}]
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds erroneous: 1 -> notWritable
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT LOG ***
set final result:
Error Status: notWritable
Error Index: 1
when
Original Result:
{notWritable,1}
*** [2025-08-21 17:12:39.308] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1605,notWritable,1,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.308] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1605,notWritable,1,[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.308] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.308] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.308] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.308] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.308] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.309] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF INFO ***
time in agent: 3774 mysec
*** [2025-08-21 17:12:39.309] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.309] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 105
*** [2025-08-21 17:12:39.309] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.309] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.310] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.310] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.310] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.310] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.310] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.310] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.311] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.311] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.311] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.311] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.311] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.312] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.312] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.312] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.312] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.312] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.312] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.313] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.313] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.313] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.313] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,44,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,27,
2,2,6,69,2,1,17,2,1,1,48,15,48,13,6,8,43,6,1,2,1,1,7,0,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.313] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1605,notWritable,1,
[{varbind,[1,3,6,1,2,1,1,7,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.313] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received expected pdu (1)
*** [2025-08-21 17:12:39.314] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4289 =>
ok
*** [2025-08-21 17:12:39.314] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4291
*** [2025-08-21 17:12:39.314] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1606
*** [2025-08-21 17:12:39.314] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response' within 5500 ms with
Error: wrongType
Index: 1
Varbinds: any
*** [2025-08-21 17:12:39.314] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1606,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,undefined}]}
*** [2025-08-21 17:12:39.314] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1606,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.315] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.315] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.315] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.315] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.315] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.315] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.316] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.316] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.316] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.316] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.316] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.316] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.317] SNMP MGR_MISC LOG ***
attempt send message (105 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.317] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF MPD LOG ***
v3, msgID: 16, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 16
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.317] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.317] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.318] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,44,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
27,2,2,6,70,2,1,0,2,1,0,48,15,48,13,6,8,43,6,1,2,1,1,6,0,2,1,
3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1606,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}}
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.318] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.318] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1606,noError,0,[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.319] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.319] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1606,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.129191>}]
*** [2025-08-21 17:12:39.319] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.319] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1606,noError,0,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,1,6,0]
Index: 1
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.319] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,1,6,0]
*** [2025-08-21 17:12:39.319] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,
'DisplayString',false,undefined},
'read-write',
{snmp_generic,variable_func,
[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.320] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{ivarbind,noError,
{me,[1,3,6,1,2,1,1,6],
variable,sysLocation,
{asn1_type,'OCTET STRING',0,255,[],true,'DisplayString',
false,undefined},
'read-write',
{snmp_generic,variable_func,[{sysLocation,permanent}]},
false,
[{variable_info,{variable_info,[]}}],
undefined,undefined},
{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}}]
*** [2025-08-21 17:12:39.320] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds erroneous: 1 -> wrongType
*** [2025-08-21 17:12:39.320] SNMP MASTER-AGENT LOG ***
set final result:
Error Status: wrongType
Error Index: 1
when
Original Result:
{wrongType,1}
*** [2025-08-21 17:12:39.320] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1606,wrongType,1,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1606,wrongType,1,[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.320] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.320] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.320] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.320] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.321] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.321] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.321] SNMP A-NET-IF INFO ***
time in agent: 3783 mysec
*** [2025-08-21 17:12:39.321] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.321] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 105
*** [2025-08-21 17:12:39.321] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.321] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.321] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.321] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.322] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.322] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.322] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.322] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.322] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.322] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.323] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.323] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.323] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.323] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.323] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.323] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.324] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.324] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.324] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.324] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.324] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.324] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.324] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,44,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,27,
2,2,6,70,2,1,7,2,1,1,48,15,48,13,6,8,43,6,1,2,1,1,6,0,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.325] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1606,wrongType,1,
[{varbind,[1,3,6,1,2,1,1,6,0],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.325] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received expected pdu (1)
*** [2025-08-21 17:12:39.325] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4291 =>
ok
*** [2025-08-21 17:12:39.325] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4364
*** [2025-08-21 17:12:39.325] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1607
*** [2025-08-21 17:12:39.325] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[fname,0],[]}]
*** [2025-08-21 17:12:39.326] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.326] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.326] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.326] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.326] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.326] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.327] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.327] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.327] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.327] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.327] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.327] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.328] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.328] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.328] SNMP MGR_MISC LOG ***
attempt send message (102 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.328] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.328] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.328] SNMP A-NET-IF MPD LOG ***
v3, msgID: 17, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.328] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.328] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 17
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.328] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.328] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.329] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.329] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,41,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
24,2,2,6,71,2,1,0,2,1,0,48,12,48,10,6,6,43,6,1,2,1,7,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.329] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.330] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1607,noError,0,[{varbind,[1,3,6,1,2,1,7],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.129565>}]
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.330] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.330] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1607
Vbs: [{varbind,[1,3,6,1,2,1,7],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.330] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,7] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.331] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
*** [2025-08-21 17:12:39.331] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
*** [2025-08-21 17:12:39.331] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1607,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.331] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.331] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.331] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.331] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF INFO ***
time in agent: 3659 mysec
*** [2025-08-21 17:12:39.332] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.332] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 104
*** [2025-08-21 17:12:39.332] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.332] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.332] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.333] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.333] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.333] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.333] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.333] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.333] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.334] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.334] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.334] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.334] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.334] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.334] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.335] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.335] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.335] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.335] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.335] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.335] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.336] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.336] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,26,
2,2,6,71,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,7,1,0,4,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.336] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1607,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.336] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
when
ExpVBs: [{[fname,0],[]}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.337] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4364 =>
ok
*** [2025-08-21 17:12:39.337] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4366
*** [2025-08-21 17:12:39.337] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1608
*** [2025-08-21 17:12:39.337] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[fname,0],[]}]
*** [2025-08-21 17:12:39.337] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.337] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.337] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.338] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.338] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.338] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.338] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.338] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.338] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.339] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.339] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.339] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.339] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.339] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.339] SNMP MGR_MISC LOG ***
attempt send message (104 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.340] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF MPD LOG ***
v3, msgID: 18, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 18
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.340] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.340] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.340] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
26,2,2,6,72,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,7,1,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.341] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1608,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.341] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.129920>}]
*** [2025-08-21 17:12:39.342] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.342] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT TRACE ***
get 1608
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.342] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.342] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
*** [2025-08-21 17:12:39.343] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
*** [2025-08-21 17:12:39.343] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1608,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.343] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.343] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.343] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.343] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.344] SNMP A-NET-IF INFO ***
time in agent: 3801 mysec
*** [2025-08-21 17:12:39.344] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.344] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 104
*** [2025-08-21 17:12:39.344] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.344] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.344] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.344] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.345] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.345] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.345] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.345] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.345] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.345] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.346] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.346] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.346] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.346] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.346] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.347] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.347] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.347] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.347] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.347] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.347] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.348] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.348] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,26,
2,2,6,72,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,7,1,0,4,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.348] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1608,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.348] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
when
ExpVBs: [{[fname,0],[]}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.349] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4366 =>
ok
*** [2025-08-21 17:12:39.349] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4368
*** [2025-08-21 17:12:39.349] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1609
*** [2025-08-21 17:12:39.349] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[fname,0],"test set"}]
*** [2025-08-21 17:12:39.349] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1609,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",undefined}]}
*** [2025-08-21 17:12:39.349] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1609,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.350] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.350] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.350] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.350] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.350] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.351] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.351] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.351] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.351] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.351] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.351] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.352] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.352] SNMP MGR_MISC LOG ***
attempt send message (112 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.352] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.352] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.352] SNMP A-NET-IF MPD LOG ***
v3, msgID: 19, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.352] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.352] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 19
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.352] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.352] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.353] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.353] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,51,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
34,2,2,6,73,2,1,0,2,1,0,48,22,48,20,6,8,43,6,1,2,1,7,1,0,4,8,
116,101,115,116,32,115,101,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1609,noError,0,
[{varbind,
[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}]}}
*** [2025-08-21 17:12:39.353] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.354] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1609,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[116,101,115,116,32,115,101,116],1}]}
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1609,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.130287>}]
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.354] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1609,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.354] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,1,0]
Index: 1
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.355] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}}]}]
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}}]}]
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.355] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.356] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1609,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1609,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[116,101,115,116,32,115,101,116],1}]}
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.356] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.356] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.356] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.356] SNMP A-NET-IF INFO ***
time in agent: 4364 mysec
*** [2025-08-21 17:12:39.357] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.357] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 112
*** [2025-08-21 17:12:39.357] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.357] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.357] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.357] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.358] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.358] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.358] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.358] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.358] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.358] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.359] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.359] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.359] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.359] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.359] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.360] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.360] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.360] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.360] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.360] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.360] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.361] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.361] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,51,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,34,
2,2,6,73,2,1,0,2,1,0,48,22,48,20,6,8,43,6,1,2,1,7,1,0,4,8,116,
101,115,116,32,115,101,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.361] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1609,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
*** [2025-08-21 17:12:39.361] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}]
when
ExpVBs: [{[fname,0],"test set"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.362] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4368 =>
ok
*** [2025-08-21 17:12:39.362] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4370
*** [2025-08-21 17:12:39.362] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1610
*** [2025-08-21 17:12:39.362] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[fname,0],"test set"}]
*** [2025-08-21 17:12:39.362] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.362] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.363] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.363] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.363] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.363] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.363] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.364] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.364] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.364] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.364] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.364] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.364] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.365] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.365] SNMP MGR_MISC LOG ***
attempt send message (104 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.365] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.365] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.365] SNMP A-NET-IF MPD LOG ***
v3, msgID: 20, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.365] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.365] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 20
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.365] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.365] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.366] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.366] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
26,2,2,6,74,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,7,1,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.366] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.367] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1610,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.367] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.130687>}]
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.367] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.367] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.367] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.367] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.367] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.367] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT TRACE ***
get 1610
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.368] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]
*** [2025-08-21 17:12:39.368] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
*** [2025-08-21 17:12:39.368] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1610,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[116,101,115,116,32,115,101,116],1}]}
*** [2025-08-21 17:12:39.368] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.368] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.368] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.368] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.368] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.368] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.369] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF INFO ***
time in agent: 3894 mysec
*** [2025-08-21 17:12:39.369] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.369] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 112
*** [2025-08-21 17:12:39.369] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.370] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.370] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.370] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.370] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.370] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.370] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.371] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.371] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.371] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.371] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.371] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.371] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.372] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.372] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.372] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.372] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.372] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.373] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.373] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.373] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.373] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.373] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,51,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,34,
2,2,6,74,2,1,0,2,1,0,48,22,48,20,6,8,43,6,1,2,1,7,1,0,4,8,116,
101,115,116,32,115,101,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.374] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1610,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
*** [2025-08-21 17:12:39.374] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}]
when
ExpVBs: [{[fname,0],"test set"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.374] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4370 =>
ok
*** [2025-08-21 17:12:39.374] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4375
*** [2025-08-21 17:12:39.375] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1611
*** [2025-08-21 17:12:39.375] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[fname,0],"test set"}]
*** [2025-08-21 17:12:39.375] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1611,noError,0,
[{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.375] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1611,noError,0,
[{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.375] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.375] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.376] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.376] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.376] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.376] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.376] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.376] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.377] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.377] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.377] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.377] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.377] SNMP MGR_MISC LOG ***
attempt send message (104 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.378] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF MPD LOG ***
v3, msgID: 21, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 21
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.378] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.378] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.378] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
26,2,2,6,75,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,1,8,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1611,noError,0,
[{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.379] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1611,noError,0,[{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.379] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1611,noError,0,
[{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.131054>}]
*** [2025-08-21 17:12:39.379] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.379] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.380] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.380] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1611,noError,0,
[{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.380] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.380] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.380] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.380] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1611
Vbs: [{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.380] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,1,8,0] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.380] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_standard_mib, sys_or_table, [get_next,[],[0]]
*** [2025-08-21 17:12:39.380] SNMP A-SYMBOLIC-STORE LOG ***
table info: sysORTable
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.380] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.381] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [endOfTable]
*** [2025-08-21 17:12:39.381] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,1,9,2] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.381] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]
*** [2025-08-21 17:12:39.381] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]
*** [2025-08-21 17:12:39.381] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1611,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
*** [2025-08-21 17:12:39.381] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1611,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[116,101,115,116,32,115,101,116],1}]}
*** [2025-08-21 17:12:39.381] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.381] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.381] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.381] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.381] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.381] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.381] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.381] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF INFO ***
time in agent: 4275 mysec
*** [2025-08-21 17:12:39.382] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.382] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 112
*** [2025-08-21 17:12:39.382] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.382] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.383] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.383] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.383] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.383] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.383] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.383] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.384] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.384] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.384] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.384] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.384] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.385] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.385] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.385] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.385] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.385] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.386] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.386] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.386] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.386] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.386] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,51,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,34,
2,2,6,75,2,1,0,2,1,0,48,22,48,20,6,8,43,6,1,2,1,7,1,0,4,8,116,
101,115,116,32,115,101,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.386] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1611,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",1}]}
*** [2025-08-21 17:12:39.387] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",1}]
when
ExpVBs: [{[fname,0],"test set"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.387] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4375 =>
ok
*** [2025-08-21 17:12:39.387] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4377
*** [2025-08-21 17:12:39.387] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1612
*** [2025-08-21 17:12:39.388] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[sysDescr,0],"Erlang SNMP agent"},{[fname,0],"test set"}]
*** [2025-08-21 17:12:39.388] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1612,noError,0,
[{varbind,[1,1],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.388] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1612,noError,0,
[{varbind,[1,1],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.388] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.388] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.389] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.389] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.389] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.389] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.389] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.389] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.390] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.390] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.390] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.390] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.390] SNMP MGR_MISC LOG ***
attempt send message (111 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.391] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF MPD LOG ***
v3, msgID: 22, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 22
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.391] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.391] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.391] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,50,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
33,2,2,6,76,2,1,0,2,1,0,48,21,48,5,6,1,41,5,0,48,12,6,8,43,6,
1,2,1,1,8,0,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1612,noError,0,
[{varbind,[1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',2}]}}
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.392] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1612,noError,0,[{varbind,[1,1],'NULL','NULL',1},{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',2}]}
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.392] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1612,noError,0,
[{varbind,[1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.131463>}]
*** [2025-08-21 17:12:39.392] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.393] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1612,noError,0,
[{varbind,[1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1612
Vbs: [{varbind,[1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,1,8,0],'NULL','NULL',2}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.393] SNMP A-MIB-SERVER LOG ***
next [1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{sysDescr,permanent}]
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{sysDescr,permanent}]
*** [2025-08-21 17:12:39.393] SNMP A-LOCAL-DB LOG ***
variable get: sysDescr [permanent]
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,"Erlang SNMP agent"}
*** [2025-08-21 17:12:39.393] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,1,8,0] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.393] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_standard_mib, sys_or_table, [get_next,[],[0]]
*** [2025-08-21 17:12:39.393] SNMP A-SYMBOLIC-STORE LOG ***
table info: sysORTable
*** [2025-08-21 17:12:39.393] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table next: sysORTable [volatile]
*** [2025-08-21 17:12:39.394] SNMP A-LOCAL-DB LOG ***
table sysORTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.394] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [endOfTable]
*** [2025-08-21 17:12:39.394] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,1,9,2] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.394] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",2},
{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1}]
*** [2025-08-21 17:12:39.394] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1},
{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",2}]
*** [2025-08-21 17:12:39.394] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1612,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1},
{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",2}]}
*** [2025-08-21 17:12:39.394] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1612,noError,0,[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',[69,114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116],1},{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[116,101,115,116,32,115,101,116],2}]}
*** [2025-08-21 17:12:39.394] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.395] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.395] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.395] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF INFO ***
time in agent: 4582 mysec
*** [2025-08-21 17:12:39.395] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.395] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 144
*** [2025-08-21 17:12:39.396] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.396] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.396] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.396] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.396] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.396] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.397] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.397] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.397] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.397] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.397] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.398] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.398] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.398] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.398] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.398] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.398] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.399] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.399] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.399] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.399] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.399] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.399] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,82,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,65,
2,2,6,76,2,1,0,2,1,0,48,53,48,29,6,8,43,6,1,2,1,1,1,0,4,17,69,
114,108,97,110,103,32,83,78,77,80,32,97,103,101,110,116,48,20,6,
8,43,6,1,2,1,7,1,0,4,8,116,101,115,116,32,115,101,116],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.400] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1612,noError,0,
[{varbind,[1,3,6,1,2,1,1,1,0],'OCTET STRING',"Erlang SNMP agent",1},
{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',"test set",2}]}
*** [2025-08-21 17:12:39.400] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,1,1,0],
'OCTET STRING',"Erlang SNMP agent",1},
{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',"test set",2}]
when
ExpVBs: [{[sysDescr,0],"Erlang SNMP agent"},
{[fname,0],"test set"}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [sysDescr,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,1,1,0]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.401] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4377 =>
ok
*** [2025-08-21 17:12:39.401] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4380
*** [2025-08-21 17:12:39.401] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1613
*** [2025-08-21 17:12:39.401] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[fname,0],[]}]
*** [2025-08-21 17:12:39.401] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],undefined}]}
*** [2025-08-21 17:12:39.401] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],
'OCTET STRING',[],undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.402] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.402] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.402] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.402] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.402] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.403] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.403] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.403] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.403] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.403] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.404] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.404] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.404] SNMP MGR_MISC LOG ***
attempt send message (104 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.404] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.404] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.404] SNMP A-NET-IF MPD LOG ***
v3, msgID: 23, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.404] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.404] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 23
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.404] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.405] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.405] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
26,2,2,6,77,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,7,1,0,4,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.405] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}}
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.406] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1613,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.131898>}]
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.406] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.406] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,1,0]
Index: 1
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.407] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}}]}]
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}}]}]
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.407] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.408] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1613,noError,0,[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.408] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.408] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.408] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.408] SNMP A-NET-IF INFO ***
time in agent: 4252 mysec
*** [2025-08-21 17:12:39.409] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.409] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 104
*** [2025-08-21 17:12:39.409] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.409] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.409] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.409] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.409] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.410] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.410] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.410] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.410] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.410] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.411] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.411] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.411] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.411] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.411] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.412] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.412] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.412] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.412] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.412] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.412] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.413] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.413] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,43,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,26,
2,2,6,77,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,7,1,0,4,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.413] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1613,noError,0,
[{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]}
*** [2025-08-21 17:12:39.413] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,1,0],'OCTET STRING',[],1}]
when
ExpVBs: [{[fname,0],[]}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [fname,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,1,0]
*** [2025-08-21 17:12:39.414] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4380 =>
ok
Testing simple get, next and set on communityTable...
*** [2025-08-21 17:12:39.414] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4196
*** [2025-08-21 17:12:39.414] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1614
*** [2025-08-21 17:12:39.414] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.414] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1614,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.415] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1614,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.415] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.415] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.415] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.415] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.416] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.416] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.416] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.416] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.416] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.416] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.417] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.417] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.417] SNMP MGR_MISC LOG ***
attempt send message (111 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.417] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.417] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.417] SNMP A-NET-IF MPD LOG ***
v3, msgID: 24, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.417] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.417] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 24
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.418] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.418] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,50,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
33,2,2,6,78,2,1,0,2,1,0,48,21,48,19,6,15,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.418] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1614,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.419] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1614,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.419] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1614,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.132300>}]
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.419] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.419] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.419] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1614,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.419] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.419] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.419] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1614
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.420] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,[],
[0],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.420] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.420] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.420] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.420] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.420] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.420] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: []
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.420] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[3,172,17,0,2,6,112,117,98,108,105,99],2}]
*** [2025-08-21 17:12:39.420] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.420] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.421] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.421] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1614,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1614,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.421] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.421] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.421] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.421] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.422] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.422] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.422] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.422] SNMP A-NET-IF INFO ***
time in agent: 4555 mysec
*** [2025-08-21 17:12:39.422] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.422] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.422] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.423] SNMP A-NET-IF DEBUG ***
disk log event: "snmpa_log", {wrap,56}
*** [2025-08-21 17:12:39.423] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.423] SNMP A-NET-IF LOG ***
Audit Trail Log - wrapped: 56 previously logged items where lost
*** [2025-08-21 17:12:39.423] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.423] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.423] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.423] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.423] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.424] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.424] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.424] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.424] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.424] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.424] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.425] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.425] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.425] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.425] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.425] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.425] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.426] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.426] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.426] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.426] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.426] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,78,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.426] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1614,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.427] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.427] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4196 =>
ok
*** [2025-08-21 17:12:39.427] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4198
*** [2025-08-21 17:12:39.427] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1615
*** [2025-08-21 17:12:39.428] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.428] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1615,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.428] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1615,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.428] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.428] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.428] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.429] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.429] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.429] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.429] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.429] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.429] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.430] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.430] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.430] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.430] SNMP MGR_MISC LOG ***
attempt send message (110 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.430] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.430] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.430] SNMP A-NET-IF MPD LOG ***
v3, msgID: 25, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.430] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 25
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.431] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.431] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.431] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,49,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
32,2,2,6,79,2,1,0,2,1,0,48,20,48,18,6,14,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1615,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.432] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1615,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.432] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1615,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.132726>}]
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.432] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.432] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.432] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1615,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.432] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1615
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.433] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3,2,1,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,[],
[0],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.433] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.433] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.433] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.433] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.433] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.433] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: []
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.433] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[3,172,17,0,2,6,112,117,98,108,105,99],2}]
*** [2025-08-21 17:12:39.433] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.433] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.434] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.434] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1615,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1615,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.434] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.434] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.434] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.434] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.435] SNMP A-NET-IF INFO ***
time in agent: 4205 mysec
*** [2025-08-21 17:12:39.435] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.435] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.435] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.435] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.435] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.435] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.436] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.436] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.436] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.436] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.436] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.436] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.437] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.437] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.437] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.437] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.437] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.437] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.438] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.438] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.438] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.438] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.438] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.438] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.438] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,79,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.439] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1615,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.439] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.440] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4198 =>
ok
*** [2025-08-21 17:12:39.440] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4200
*** [2025-08-21 17:12:39.440] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1616
*** [2025-08-21 17:12:39.440] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.440] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1616,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.440] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1616,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.441] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.441] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.441] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.441] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.441] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.442] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.442] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.442] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.442] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.442] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.442] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.443] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.443] SNMP MGR_MISC LOG ***
attempt send message (109 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.443] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF MPD LOG ***
v3, msgID: 26, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 26
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.443] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.444] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.444] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,48,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
31,2,2,6,80,2,1,0,2,1,0,48,19,48,17,6,13,43,6,1,4,1,129,65,
19,3,3,2,1,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1616,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.444] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.445] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1616,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1616,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.133138>}]
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.445] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1616,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.445] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1616
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.446] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3,2,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,[],
[0],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.446] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.446] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.446] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.446] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.446] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.446] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: []
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.446] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[3,172,17,0,2,6,112,117,98,108,105,99],2}]
*** [2025-08-21 17:12:39.446] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.446] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1616,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1616,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.447] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.447] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.447] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.447] SNMP A-NET-IF INFO ***
time in agent: 4304 mysec
*** [2025-08-21 17:12:39.448] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.448] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.448] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.448] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.448] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.448] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.449] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.449] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.449] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.449] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.449] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.449] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.450] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.450] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.450] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.450] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.450] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.451] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.451] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.451] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.451] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.451] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.451] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.452] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.452] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,80,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.452] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1616,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.452] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.453] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4200 =>
ok
*** [2025-08-21 17:12:39.453] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4202
*** [2025-08-21 17:12:39.453] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1617
*** [2025-08-21 17:12:39.453] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.453] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.454] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.454] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.454] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.454] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.454] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.455] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.455] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.455] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.455] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.455] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.456] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.456] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.456] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.456] SNMP MGR_MISC LOG ***
attempt send message (106 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.456] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.456] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.456] SNMP A-NET-IF MPD LOG ***
v3, msgID: 27, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.456] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.456] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 27
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.457] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.457] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.457] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,45,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
28,2,2,6,81,2,1,0,2,1,0,48,16,48,14,6,10,43,6,1,4,1,129,65,
19,3,3,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.458] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1617,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.458] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.133550>}]
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.458] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.458] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.458] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.458] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.458] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.458] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1617
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.459] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,[],
[0],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.459] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.459] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.459] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.459] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.459] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.459] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: []
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.459] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[3,172,17,0,2,6,112,117,98,108,105,99],2}]
*** [2025-08-21 17:12:39.459] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.459] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.460] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.460] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1617,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.460] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.460] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.460] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.460] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.461] SNMP A-NET-IF INFO ***
time in agent: 4228 mysec
*** [2025-08-21 17:12:39.461] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.461] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.461] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.461] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.461] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.461] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.462] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.462] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.462] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.462] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.462] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.462] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.463] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.463] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.463] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.463] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.463] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.464] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.464] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.464] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.464] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.464] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.465] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.465] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.465] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,81,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.465] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1617,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.465] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.466] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4202 =>
ok
*** [2025-08-21 17:12:39.466] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4204
*** [2025-08-21 17:12:39.466] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1618
*** [2025-08-21 17:12:39.466] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.466] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.467] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193],'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.467] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.467] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.467] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.467] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.468] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.468] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.468] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.468] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.468] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.469] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.469] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.469] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.469] SNMP MGR_MISC LOG ***
attempt send message (103 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.469] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.469] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.469] SNMP A-NET-IF MPD LOG ***
v3, msgID: 28, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.469] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 28
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.470] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.470] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.470] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,42,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
25,2,2,6,82,2,1,0,2,1,0,48,13,48,11,6,7,43,6,1,4,1,129,65,5,
0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193],'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.471] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1618,noError,0,[{varbind,[1,3,6,1,4,1,193],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.471] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193],'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.133962>}]
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.471] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.471] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.471] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193],'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.471] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.471] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1618
Vbs: [{varbind,[1,3,6,1,4,1,193],'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.472] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,[],
[0],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.472] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.472] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.472] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.472] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.472] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.472] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: []
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.472] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[3,172,17,0,2,6,112,117,98,108,105,99],2}]
*** [2025-08-21 17:12:39.472] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.472] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.473] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.473] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1618,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.473] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.473] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.473] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.473] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.474] SNMP A-NET-IF INFO ***
time in agent: 4228 mysec
*** [2025-08-21 17:12:39.474] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.474] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.474] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.474] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.474] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.474] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.475] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.475] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.475] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.475] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.475] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.475] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.476] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.476] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.476] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.476] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.476] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.477] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.477] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.477] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.477] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.477] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.477] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.478] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.478] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,82,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.478] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1618,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.478] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.479] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4204 =>
ok
*** [2025-08-21 17:12:39.479] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4206
*** [2025-08-21 17:12:39.479] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1619
*** [2025-08-21 17:12:39.479] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,[172,17,0,2],"\rstandard trap"],2}]
*** [2025-08-21 17:12:39.479] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1619,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.480] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1619,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
6,112,117,98,108,105,99],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.480] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.480] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.480] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.480] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.481] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.481] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.481] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.481] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.481] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.481] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.482] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.482] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.482] SNMP MGR_MISC LOG ***
attempt send message (124 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.482] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.482] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.482] SNMP A-NET-IF MPD LOG ***
v3, msgID: 29, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.482] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 29
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.483] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.483] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.483] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,63,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
46,2,2,6,83,2,1,0,2,1,0,48,34,48,32,6,28,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1619,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.484] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1619,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.484] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1619,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.134374>}]
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.484] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.484] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.484] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1619,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,6,112,117,98,108,105,99],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.484] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1619
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.485] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,
[172,17,0,2,6,112,117,98,108,105,99],
[3],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.485] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.485] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,
112]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.485] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112]
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[3,172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,
112],
2}]
*** [2025-08-21 17:12:39.485] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,97,110,
100,97,114,100,32,116,114,97,112]
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,
115,116,97,110,100,97,114,100,32,116,114,97,112],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,97,110,
100,97,114,100,32,116,114,97,112],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.485] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1619,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,
115,116,97,110,100,97,114,100,32,116,114,97,112],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1619,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.486] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.486] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.486] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF INFO ***
time in agent: 3999 mysec
*** [2025-08-21 17:12:39.486] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.486] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 133
*** [2025-08-21 17:12:39.487] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.487] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.487] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.487] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.487] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.488] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.488] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.488] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.488] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.488] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.488] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.489] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.489] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.489] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.489] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.489] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.490] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.490] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.490] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.490] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.490] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.490] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.491] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,71,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,54,
2,2,6,83,2,1,0,2,1,0,48,42,48,40,6,35,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,13,115,116,97,110,100,97,114,100,32,
116,114,97,112,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.491] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1619,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,
97,110,100,97,114,100,32,116,114,97,112],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.491] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,13,115,116,97,110,100,97,114,100,32,116,
114,97,112],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
"\rstandard trap"],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[13,115,116,97,110,100,97,114,100,32,116,114,97,112]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,97,110,100,
97,114,100,32,116,114,97,112]
*** [2025-08-21 17:12:39.492] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4206 =>
ok
*** [2025-08-21 17:12:39.492] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4208
*** [2025-08-21 17:12:39.492] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1620
*** [2025-08-21 17:12:39.492] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityAccess,[172,17,0,2],[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.492] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1620,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,
116,97,110,100,97,114,100,32,116,114,97,112],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.492] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1620,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
13,115,116,97,110,100,97,114,100,32,116,114,
97,112],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.493] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.493] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.493] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.493] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.493] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.494] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.494] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.494] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.494] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.494] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.495] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.495] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.495] SNMP MGR_MISC LOG ***
attempt send message (132 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.495] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.495] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.495] SNMP A-NET-IF MPD LOG ***
v3, msgID: 30, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.495] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.495] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 30
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.495] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.495] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.496] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.496] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,70,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
53,2,2,6,84,2,1,0,2,1,0,48,41,48,39,6,35,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,3,129,44,17,0,2,13,115,116,97,110,100,97,
114,100,32,116,114,97,112,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.496] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1620,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,
115,116,97,110,100,97,114,100,32,116,114,97,112],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.497] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1620,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.497] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1620,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,
115,116,97,110,100,97,114,100,32,116,114,97,112],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.134765>}]
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.497] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.497] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.497] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1620,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,13,115,116,97,110,100,97,114,100,32,
116,114,97,112],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.497] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.497] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.497] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1620
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,
116,97,110,100,97,114,100,32,116,114,97,112],
'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.498] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,13,115,116,97,110,100,
97,114,100,32,116,114,97,112] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get_next,
[172,17,0,2,13,115,116,97,110,100,97,114,
100,32,116,114,97,112],
[3],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.498] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.498] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: [172,17,0,2,13,115,116,97,110,100,97,114,100,32,116,114,97,112]
*** [2025-08-21 17:12:39.498] SNMP A-LOCAL-DB LOG ***
table next: intCommunityTable [volatile]
*** [2025-08-21 17:12:39.498] SNMP A-LOCAL-DB LOG ***
table intCommunityTable next [volatile]:
Indexes: first
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [4]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.498] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{[4,172,17,0,2,6,112,117,98,108,105,99],2}]
*** [2025-08-21 17:12:39.498] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.498] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1620,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.498] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1620,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.499] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.499] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.499] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF INFO ***
time in agent: 4147 mysec
*** [2025-08-21 17:12:39.499] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.499] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.500] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.500] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.500] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.500] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.500] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.501] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.501] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.501] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.501] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.501] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.501] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.502] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.502] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.502] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.502] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.502] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.502] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.503] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.503] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.503] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.503] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.503] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.504] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,84,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,4,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.504] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1620,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.504] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityAccess,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityAccess,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.505] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4208 =>
ok
*** [2025-08-21 17:12:39.505] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4211
*** [2025-08-21 17:12:39.505] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1621
*** [2025-08-21 17:12:39.505] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intAgentIpAddress,0],any}]
*** [2025-08-21 17:12:39.505] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1621,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.505] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1621,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,
6,112,117,98,108,105,99],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.506] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.506] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.506] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.506] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.506] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.506] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.507] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.507] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.507] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.507] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.507] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.508] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.508] SNMP MGR_MISC LOG ***
attempt send message (124 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.508] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF MPD LOG ***
v3, msgID: 31, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 31
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.508] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.509] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.509] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,63,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
46,2,2,6,85,2,1,0,2,1,0,48,34,48,32,6,28,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,9,129,44,17,0,2,6,112,117,98,108,105,99,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1621,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.509] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.510] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1621,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,105,99],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1621,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.135160>}]
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.510] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1621,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,
0,2,6,112,117,98,108,105,99],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1621
Vbs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',1}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.510] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,105,
99] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.510] SNMP MASTER-AGENT GET TRACE ***
try_get_instance -> entry with
M: snmp_generic
F: variable_func
A: [{intAgentIpAddress,volatile}]
*** [2025-08-21 17:12:39.511] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, variable_func, [get,{intAgentIpAddress,volatile}]
*** [2025-08-21 17:12:39.511] SNMP A-LOCAL-DB LOG ***
variable get: intAgentIpAddress [volatile]
*** [2025-08-21 17:12:39.511] SNMP MASTER-AGENT GET-LIB LOG ***
returned: {value,[127,0,0,1]}
*** [2025-08-21 17:12:39.511] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,2,0],
'IpAddress',
[127,0,0,1],
1}]
*** [2025-08-21 17:12:39.511] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,2,0],'IpAddress',[127,0,0,1],1}]
*** [2025-08-21 17:12:39.511] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1621,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,2,0],
'IpAddress',
[127,0,0,1],
1}]}
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1621,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,2,0],'IpAddress',[127,0,0,1],1}]}
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.511] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.511] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.511] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.511] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.512] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.512] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.512] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.512] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.512] SNMP A-NET-IF INFO ***
time in agent: 3727 mysec
*** [2025-08-21 17:12:39.512] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.512] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 115
*** [2025-08-21 17:12:39.512] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.512] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.512] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.513] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.513] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.513] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.513] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.513] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.513] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.514] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.514] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.514] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.514] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.514] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.515] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.515] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.515] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.515] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.515] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.515] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.516] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.516] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.516] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,54,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,37,
2,2,6,85,2,1,0,2,1,0,48,25,48,23,6,15,43,6,1,4,1,129,65,19,3,3,
2,1,1,2,0,64,4,127,0,0,1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.516] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1621,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,2,0],
'IpAddress',
[127,0,0,1],
1}]}
*** [2025-08-21 17:12:39.516] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,2,0],
'IpAddress',
[127,0,0,1],
1}]
when
ExpVBs: [{[intAgentIpAddress,0],any}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intAgentIpAddress,0]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,2,0]
*** [2025-08-21 17:12:39.517] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4211 =>
ok
*** [2025-08-21 17:12:39.517] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4213
*** [2025-08-21 17:12:39.517] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1622
*** [2025-08-21 17:12:39.517] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
*** [2025-08-21 17:12:39.517] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1622,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.518] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1622,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
6,112,117,98,108,105,99],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.518] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.518] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.518] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.518] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.519] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.519] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.519] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.519] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.519] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.520] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.520] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.520] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.520] SNMP MGR_MISC LOG ***
attempt send message (124 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.520] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.520] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.520] SNMP A-NET-IF MPD LOG ***
v3, msgID: 32, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.520] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 32
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.521] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.521] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.521] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,63,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
46,2,2,6,86,2,1,0,2,1,0,48,34,48,32,6,28,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1622,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.522] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1622,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.522] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1622,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.135532>}]
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.522] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.522] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.522] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1622,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,6,112,117,98,108,105,99],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.522] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT TRACE ***
get 1622
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
6,112,117,98,108,105,99],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,
98,108,105,99]
*** [2025-08-21 17:12:39.523] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
OrgCols: [{3,
{asn1_type,'INTEGER',undefined,undefined,[],true,'INTEGER',
false,undefined},
1}]
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,6,112,117,98,108,105,99],
[3],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.523] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,6,112,117,98,108,105,99]
Cols: [3]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.523] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,6,112,117,98,108,105,99]
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[2]
*** [2025-08-21 17:12:39.523] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,2}]
*** [2025-08-21 17:12:39.524] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.524] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',2},1}]
*** [2025-08-21 17:12:39.524] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,
112,117,98,108,105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.524] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,
105,99],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.524] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1622,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,
117,98,108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1622,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,99],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.524] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.524] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.524] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.524] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.525] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.525] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.525] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.525] SNMP A-NET-IF INFO ***
time in agent: 4378 mysec
*** [2025-08-21 17:12:39.525] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.525] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 125
*** [2025-08-21 17:12:39.525] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.525] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.525] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.526] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.526] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.526] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.526] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.526] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.526] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.527] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.527] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.527] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.527] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.527] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.528] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.528] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.528] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.528] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.528] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.529] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.529] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.529] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.529] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,64,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,47,
2,2,6,86,2,1,0,2,1,0,48,35,48,33,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,6,112,117,98,108,105,99,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.529] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1622,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,
108,105,99],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.530] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,6,112,117,98,108,105,99],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[6,112,117,98,108,105,99]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.530] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4213 =>
ok
*** [2025-08-21 17:12:39.530] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4216
*** [2025-08-21 17:12:39.530] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1623
*** [2025-08-21 17:12:39.531] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityEntry,"\t",
[172,17,0,2],
[6,112,117,98,108,105,99]],
noSuchObject}]
*** [2025-08-21 17:12:39.531] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1623,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,
117,98,108,105,99],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.531] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1623,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,
6,112,117,98,108,105,99],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.531] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.531] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.532] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.532] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.532] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.532] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.532] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.532] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.533] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.533] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.533] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.533] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.533] SNMP MGR_MISC LOG ***
attempt send message (124 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.534] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF MPD LOG ***
v3, msgID: 33, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 33
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.534] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.534] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.534] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,63,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
46,2,2,6,87,2,1,0,2,1,0,48,34,48,32,6,28,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,9,129,44,17,0,2,6,112,117,98,108,105,99,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1623,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.535] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1623,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,105,99],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.535] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1623,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.135945>}]
*** [2025-08-21 17:12:39.535] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.536] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1623,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,
0,2,6,112,117,98,108,105,99],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT TRACE ***
get 1623
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,
6,112,117,98,108,105,99],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,
98,108,105,99]
*** [2025-08-21 17:12:39.536] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT GET TRACE ***
try_get(ivarbind) -> entry with
IVb: {ivarbind,noSuchObject,undefined,
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,
112,117,98,108,105,99],
'NULL','NULL',1}}
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT GET TRACE ***
get_var_value_from_ivb(noSuchObject) -> entry
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,
112,117,98,108,105,99],
'NULL',noSuchObject,1}]
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,
105,99],
'NULL',noSuchObject,1}]
*** [2025-08-21 17:12:39.536] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1623,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,
117,98,108,105,99],
'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1623,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,105,99],'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.537] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.537] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.537] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF INFO ***
time in agent: 3734 mysec
*** [2025-08-21 17:12:39.537] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.537] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 124
*** [2025-08-21 17:12:39.538] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.538] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.538] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.538] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.538] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.539] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.539] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.539] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.539] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.539] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.540] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.540] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.540] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.540] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.540] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.540] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.541] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.541] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.541] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.541] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.541] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.542] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.542] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,63,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,46,
2,2,6,87,2,1,0,2,1,0,48,34,48,32,6,28,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,9,129,44,17,0,2,6,112,117,98,108,105,99,128,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.542] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1623,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,
108,105,99],
'NULL',noSuchObject,1}]}
*** [2025-08-21 17:12:39.542] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,
2,6,112,117,98,108,105,99],
'NULL',noSuchObject,1}]
when
ExpVBs: [{[intCommunityEntry,"\t",
[172,17,0,2],
[6,112,117,98,108,105,99]],
noSuchObject}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityEntry,[9],[172,17,0,2],[6,112,117,98,108,105,99]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,9,172,17,0,2,6,112,117,98,108,105,
99]
*** [2025-08-21 17:12:39.543] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4216 =>
ok
Testing row creation/deletion on communityTable...
*** [2025-08-21 17:12:39.543] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4223
*** [2025-08-21 17:12:39.543] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1624
*** [2025-08-21 17:12:39.543] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response' within 5500 ms with
Error: inconsistentValue
Index: 1
Varbinds: any
*** [2025-08-21 17:12:39.544] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1624,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',4,undefined}]}
*** [2025-08-21 17:12:39.544] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1624,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',4,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.544] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.544] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.544] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.545] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.545] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.545] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.545] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.545] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.546] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.546] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.546] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.546] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.546] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.546] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.547] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF MPD LOG ***
v3, msgID: 34, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 34
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.547] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.547] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.547] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,88,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1624,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1}]}}
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.548] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1624,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',4,1}]}
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.548] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1624,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.136322>}]
*** [2025-08-21 17:12:39.548] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.548] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.549] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1624,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',4,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.549] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',4,1}}]}]
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.549] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',4,1}}]
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[5,172,17,0,2,4,116,101,115,116],4}]
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{5,4,1}]}
Done: []
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{5,4}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.550] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.550] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.550] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT SETLIB LOG ***
returned: {inconsistentValue,5}
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT LOG ***
set final result:
Error Status: inconsistentValue
Error Index: 1
when
Original Result:
{inconsistentValue,1}
*** [2025-08-21 17:12:39.550] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1624,inconsistentValue,1,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',4,1}]}
*** [2025-08-21 17:12:39.550] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1624,inconsistentValue,1,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',4,1}]}
*** [2025-08-21 17:12:39.550] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.550] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.550] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.551] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.551] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF INFO ***
time in agent: 4565 mysec
*** [2025-08-21 17:12:39.551] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.551] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.551] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.552] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.552] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.552] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.552] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.552] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.553] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.553] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.553] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.553] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.553] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.554] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.554] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.554] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.554] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.554] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.554] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.555] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.555] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.555] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.555] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.555] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.556] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,88,2,1,12,2,1,1,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.556] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1624,inconsistentValue,1,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',4,1}]}
*** [2025-08-21 17:12:39.556] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received expected pdu (1)
*** [2025-08-21 17:12:39.556] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4223 =>
ok
*** [2025-08-21 17:12:39.556] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4225
*** [2025-08-21 17:12:39.557] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1625
*** [2025-08-21 17:12:39.557] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],4},
{[intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]],2},
{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.557] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1625,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',4,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined}]}
*** [2025-08-21 17:12:39.557] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1625,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',4,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.557] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.558] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.558] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.558] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.558] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.558] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.559] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.559] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.559] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.559] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.559] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.559] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.560] SNMP MGR_MISC LOG ***
attempt send message (191 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.560] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF MPD LOG ***
v3, msgID: 35, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 35
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.560] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.560] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.561] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,129,128,4,11,97,103,101,110,116,69,110,103,105,110,101,4,
0,163,111,2,2,6,89,2,1,0,2,1,0,48,99,48,31,6,26,43,6,1,4,1,
129,65,19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,
1,4,48,31,6,26,43,6,1,4,1,129,65,19,3,3,2,1,1,1,1,3,129,44,
17,0,2,4,116,101,115,116,2,1,2,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1625,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,3}]}}
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.561] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.561] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.562] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1625,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',4,1},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',2,2},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,...
*** [2025-08-21 17:12:39.562] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.562] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1625,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,3}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.136736>}]
*** [2025-08-21 17:12:39.562] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.562] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1625,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',4,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,2},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,3}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.562] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
Index: 2
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
Index: 3
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.563] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.563] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.563] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,3}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.563] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,
116],
'INTEGER',2,3}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,'INTEGER',
false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,
116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',4,1}}]}]
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,3}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',4,1}}]
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[4,172,17,0,2,4,116,101,115,116],2},
{[3,172,17,0,2,4,116,101,115,116],2},
{[5,172,17,0,2,4,116,101,115,116],4}]
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{3,2,2},{4,2,1},{5,4,3}]}
Done: []
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{3,2},{4,2},{5,4}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.564] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.564] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.564] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.564] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,3}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',4,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{3,2},{4,2},{5,4}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.565] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.565] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.565] SNMP A-LOCAL-DB LOG ***
table create row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
Row: {[172,17,0,2],"test",2,2,1}
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.565] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1625,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',4,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,2},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,3}]}
*** [2025-08-21 17:12:39.565] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1625,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',4,1},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',2,2},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1...
*** [2025-08-21 17:12:39.565] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.566] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.566] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.566] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF INFO ***
time in agent: 6231 mysec
*** [2025-08-21 17:12:39.566] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.566] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 191
*** [2025-08-21 17:12:39.566] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.567] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.567] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.567] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.567] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.567] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.568] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.568] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.568] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.568] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.568] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.568] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.569] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.569] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.569] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.569] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.569] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.570] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.570] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.570] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.570] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.570] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.570] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,129,128,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,
162,111,2,2,6,89,2,1,0,2,1,0,48,99,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,4,48,31,
6,26,43,6,1,4,1,129,65,19,3,3,2,1,1,1,1,3,129,44,17,0,2,4,116,
101,115,116,2,1,2,48,31,6,26,43,6,1,4,1,129,65,19,3,3,2,1,1,1,1,
4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.571] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1625,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',4,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,2},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,3}]}
*** [2025-08-21 17:12:39.571] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',4,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,2},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,3}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
4},
{[intCommunityViewIndex,
[172,17,0,2],
[4,116,101,115,116]],
2},
{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityAccess,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.572] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4225 =>
ok
*** [2025-08-21 17:12:39.573] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4227
*** [2025-08-21 17:12:39.573] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1626
*** [2025-08-21 17:12:39.573] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.573] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1626,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.573] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1626,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.573] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.574] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.574] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.574] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.574] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.574] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.575] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.575] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.575] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.575] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.575] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.575] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.576] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.576] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF MPD LOG ***
v3, msgID: 36, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 36
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.576] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.577] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.577] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,90,2,1,0,2,1,0,48,32,48,30,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1626,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.577] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.577] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1626,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1626,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.137239>}]
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.578] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1626,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,
0,2,4,116,101,115,116],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT TRACE ***
get 1626
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.578] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.579] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,4,116,101,115,116]
OrgCols: [{4,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
1}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,4,116,101,115,116],
[4],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.579] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,4,116,101,115,116]
Cols: [4]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.579] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[2]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,2}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',2},1}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.579] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1626,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.579] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1626,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.579] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.580] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.580] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.580] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF INFO ***
time in agent: 4337 mysec
*** [2025-08-21 17:12:39.580] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.580] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.581] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.581] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.581] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.581] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.581] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.582] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.582] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.582] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.582] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.582] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.582] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.583] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.583] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.583] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.583] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.583] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.584] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.584] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.584] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.584] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.584] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.584] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.585] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,90,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.585] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1626,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.585] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityAccess,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.586] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4227 =>
ok
*** [2025-08-21 17:12:39.586] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4229
*** [2025-08-21 17:12:39.586] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1627
*** [2025-08-21 17:12:39.586] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],6}]
*** [2025-08-21 17:12:39.586] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1627,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,undefined}]}
*** [2025-08-21 17:12:39.586] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1627,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',6,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.587] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.587] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.587] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.587] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.587] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.588] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.588] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.588] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.588] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.588] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.589] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.589] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.589] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.589] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.589] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.589] SNMP A-NET-IF MPD LOG ***
v3, msgID: 37, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.589] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.589] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 37
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.590] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.590] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.590] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,91,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1627,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}]}}
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.591] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1627,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.591] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1627,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.137647>}]
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.591] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.591] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.591] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1627,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',6,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.592] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,1}}]
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[5,172,17,0,2,4,116,101,115,116],6}]
*** [2025-08-21 17:12:39.592] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{5,6,1}]}
Done: []
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{5,6}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.593] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{5,6}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.593] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.593] SNMP A-LOCAL-DB LOG ***
table delete row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.593] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1627,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.593] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1627,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.593] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.594] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.594] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.594] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF INFO ***
time in agent: 4969 mysec
*** [2025-08-21 17:12:39.594] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.594] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.595] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.595] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.595] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.595] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.595] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.596] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.596] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.596] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.596] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.596] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.596] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.597] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.597] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.597] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.597] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.597] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.598] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.598] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.598] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.598] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.598] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.598] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.599] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,91,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.599] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1627,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.599] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',6,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
6}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.600] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4229 =>
ok
*** [2025-08-21 17:12:39.600] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4231
*** [2025-08-21 17:12:39.600] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1628
*** [2025-08-21 17:12:39.600] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response' within 5500 ms with
Error: inconsistentName
Index: 1
Varbinds: [{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.600] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1628,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined}]}
*** [2025-08-21 17:12:39.600] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1628,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.601] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.601] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.601] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.601] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.601] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.601] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.602] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.602] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.602] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.602] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.602] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.602] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.603] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.603] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF MPD LOG ***
v3, msgID: 38, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 38
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.603] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.603] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.604] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,92,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1628,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]}}
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.604] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.604] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.605] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1628,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.605] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.605] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1628,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.138090>}]
*** [2025-08-21 17:12:39.605] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.605] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1628,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.605] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.605] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}}]}]
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}}]
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[4,172,17,0,2,4,116,101,115,116],2}]
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{4,2,1}]}
Done: []
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{4,2}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.606] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.606] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT SETLIB LOG ***
returned: {inconsistentName,4}
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT LOG ***
set final result:
Error Status: inconsistentName
Error Index: 1
when
Original Result:
{inconsistentName,1}
*** [2025-08-21 17:12:39.606] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1628,inconsistentName,1,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.606] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1628,inconsistentName,1,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.606] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.606] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.607] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.607] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.607] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF INFO ***
time in agent: 4379 mysec
*** [2025-08-21 17:12:39.607] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.607] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.608] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.608] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.608] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.608] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.608] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.608] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.608] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.609] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.609] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.609] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.609] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.609] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.609] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.610] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.610] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.610] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.610] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.610] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.610] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.611] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.611] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.611] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.611] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,92,2,1,18,2,1,1,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.611] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1628,inconsistentName,1,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.612] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: inconsistentName
[exp] Error Index: 1
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityAccess,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.612] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4231 =>
ok
*** [2025-08-21 17:12:39.612] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4233
*** [2025-08-21 17:12:39.612] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1629
*** [2025-08-21 17:12:39.612] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],5}]
*** [2025-08-21 17:12:39.613] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1629,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',5,undefined}]}
*** [2025-08-21 17:12:39.613] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1629,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',5,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.613] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.613] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.613] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.614] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.614] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.614] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.614] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.614] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.614] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.614] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.615] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.615] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.615] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.615] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.615] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.615] SNMP A-NET-IF MPD LOG ***
v3, msgID: 39, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.615] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.615] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 39
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.615] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.616] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.616] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,93,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,5],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.616] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1629,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1}]}}
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.617] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1629,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',5,1}]}
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.617] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1629,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.138498>}]
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.617] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.617] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.617] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1629,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',5,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.617] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.617] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.618] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',5,1}}]}]
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',5,1}}]
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[5,172,17,0,2,4,116,101,115,116],5}]
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{5,5,1}]}
Done: []
*** [2025-08-21 17:12:39.618] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{5,5}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.619] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.619] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.619] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{5,5}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.619] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.619] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.619] SNMP A-LOCAL-DB LOG ***
table create row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
Row: {[172,17,0,2],"test",noinit,noinit,3}
*** [2025-08-21 17:12:39.619] SNMP MASTER-AGENT GENERIC LOG ***
apply: fun snmp_generic:table_try_make_consistent/3,[{intCommunityTable,
volatile},
[172,17,0,2,4,116,101,
115,116],
[{5,5}]]
*** [2025-08-21 17:12:39.619] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.620] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 5
*** [2025-08-21 17:12:39.620] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.620] SNMP MASTER-AGENT GENERIC LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.620] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.620] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.620] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.620] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.620] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1629,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',5,1}]}
*** [2025-08-21 17:12:39.620] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1629,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',5,1}]}
*** [2025-08-21 17:12:39.620] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.620] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.620] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.620] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.620] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.620] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.620] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.620] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF INFO ***
time in agent: 5624 mysec
*** [2025-08-21 17:12:39.621] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.621] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.621] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.621] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.621] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.622] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.622] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.622] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.622] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.622] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.622] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.623] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.623] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.623] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.623] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.623] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.623] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.624] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.624] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.624] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.624] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.624] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.624] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.625] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.625] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,93,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,5],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.625] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1629,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',5,1}]}
*** [2025-08-21 17:12:39.625] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',5,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
5}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.626] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4233 =>
ok
*** [2025-08-21 17:12:39.626] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4235
*** [2025-08-21 17:12:39.626] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1630
*** [2025-08-21 17:12:39.626] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],3}]
*** [2025-08-21 17:12:39.626] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1630,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.626] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1630,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.627] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.627] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.627] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.627] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.627] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.628] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.629] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.629] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF MPD LOG ***
v3, msgID: 40, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 40
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.629] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.629] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.630] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,94,2,1,0,2,1,0,48,32,48,30,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1630,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.630] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.631] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1630,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1630,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.138988>}]
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.631] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1630,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT TRACE ***
get 1630
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.631] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.632] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,4,116,101,115,116]
OrgCols: [{5,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
1}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,4,116,101,115,116],
[5],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.632] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,4,116,101,115,116]
Cols: [5]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.632] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[3]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,3}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',3},1}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',3,1}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],
'INTEGER',3,1}]
*** [2025-08-21 17:12:39.632] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1630,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1630,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.633] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.633] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.633] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.633] SNMP A-NET-IF INFO ***
time in agent: 4479 mysec
*** [2025-08-21 17:12:39.634] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.634] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.634] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.634] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.634] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.634] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.634] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.635] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.635] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.635] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.635] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.635] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.635] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.636] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.636] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.636] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.636] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.636] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.636] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.637] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.637] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.637] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.637] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.637] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.637] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,94,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.638] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1630,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.638] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',3,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
3}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.638] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4235 =>
ok
*** [2025-08-21 17:12:39.639] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4237
*** [2025-08-21 17:12:39.639] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1631
*** [2025-08-21 17:12:39.639] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.639] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1631,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined}]}
*** [2025-08-21 17:12:39.639] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1631,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.639] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.640] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.640] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.640] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.640] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.640] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.640] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.641] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.641] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.641] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.641] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.641] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.641] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.641] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.642] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF MPD LOG ***
v3, msgID: 41, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 41
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.642] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.642] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.642] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,95,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1631,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]}}
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.643] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1631,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.643] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1631,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.139396>}]
*** [2025-08-21 17:12:39.643] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.644] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1631,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.644] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}}]}]
*** [2025-08-21 17:12:39.644] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}}]
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[4,172,17,0,2,4,116,101,115,116],2}]
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{4,2,1}]}
Done: []
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{4,2}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.645] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.645] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{4,2}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.645] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.645] SNMP A-LOCAL-DB LOG ***
table intCommunityTable set element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Cols: [{4,2}]
*** [2025-08-21 17:12:39.645] SNMP MASTER-AGENT GENERIC LOG ***
apply: fun snmp_generic:table_try_make_consistent/3,[{intCommunityTable,
volatile},
[172,17,0,2,4,116,101,
115,116],
[{4,2}]]
*** [2025-08-21 17:12:39.645] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.646] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 5
*** [2025-08-21 17:12:39.646] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.646] SNMP MASTER-AGENT GENERIC LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.646] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.646] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.646] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.646] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.646] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1631,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.646] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1631,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.646] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.646] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.646] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.646] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.646] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.646] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.646] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.647] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF INFO ***
time in agent: 5306 mysec
*** [2025-08-21 17:12:39.647] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.647] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.647] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.647] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.648] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.648] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.648] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.648] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.648] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.648] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.649] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.649] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.649] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.649] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.649] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.649] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.649] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.650] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.650] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.650] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.650] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.650] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.650] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.651] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.651] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,95,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.651] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1631,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.651] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityAccess,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.652] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4237 =>
ok
*** [2025-08-21 17:12:39.652] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4239
*** [2025-08-21 17:12:39.652] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1632
*** [2025-08-21 17:12:39.652] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],3}]
*** [2025-08-21 17:12:39.652] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1632,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.652] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1632,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.653] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.653] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.653] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.653] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.653] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.654] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.655] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.655] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF MPD LOG ***
v3, msgID: 42, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 42
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.655] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.655] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.656] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,96,2,1,0,2,1,0,48,32,48,30,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1632,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.656] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.656] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.657] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1632,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.657] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.657] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1632,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.139866>}]
*** [2025-08-21 17:12:39.657] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.657] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1632,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT TRACE ***
get 1632
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.657] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.657] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,4,116,101,115,116]
OrgCols: [{5,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
1}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,4,116,101,115,116],
[5],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.658] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,4,116,101,115,116]
Cols: [5]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.658] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[3]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,3}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',3},1}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',3,1}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],
'INTEGER',3,1}]
*** [2025-08-21 17:12:39.658] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1632,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.658] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1632,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.658] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.659] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.659] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.659] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF INFO ***
time in agent: 4376 mysec
*** [2025-08-21 17:12:39.659] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.659] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.660] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.660] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.660] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.660] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.660] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.660] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.661] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.661] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.661] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.661] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.661] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.661] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.662] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.662] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.662] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.662] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.662] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.662] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.663] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.663] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.663] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.663] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.663] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,96,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.663] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1632,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.664] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',3,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
3}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.664] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4239 =>
ok
*** [2025-08-21 17:12:39.664] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4241
*** [2025-08-21 17:12:39.664] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1633
*** [2025-08-21 17:12:39.664] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.665] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1633,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined}]}
*** [2025-08-21 17:12:39.665] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1633,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.665] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.665] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.665] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.666] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.666] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.666] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.666] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.666] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.666] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.667] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.667] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.667] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.667] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.667] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.667] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.667] SNMP A-NET-IF MPD LOG ***
v3, msgID: 43, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 43
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.668] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.668] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.668] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,97,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,3,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1633,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]}}
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.669] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1633,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.669] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1633,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.140274>}]
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.669] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.669] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.669] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1633,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.670] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}}]}]
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}}]
*** [2025-08-21 17:12:39.670] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[3,172,17,0,2,4,116,101,115,116],2}]
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{3,2,1}]}
Done: []
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{3,2}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.671] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.671] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{3,2}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.671] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.671] SNMP A-LOCAL-DB LOG ***
table intCommunityTable set element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Cols: [{3,2}]
*** [2025-08-21 17:12:39.671] SNMP MASTER-AGENT GENERIC LOG ***
apply: fun snmp_generic:table_try_make_consistent/3,[{intCommunityTable,
volatile},
[172,17,0,2,4,116,101,
115,116],
[{3,2}]]
*** [2025-08-21 17:12:39.671] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.671] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 5
*** [2025-08-21 17:12:39.672] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.672] SNMP A-LOCAL-DB LOG ***
table intCommunityTable set element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Cols: [{5,2}]
*** [2025-08-21 17:12:39.672] SNMP MASTER-AGENT GENERIC LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.672] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.672] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.672] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.672] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.672] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1633,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.672] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1633,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.672] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.672] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.672] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.672] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.672] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.672] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.672] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.673] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF INFO ***
time in agent: 5525 mysec
*** [2025-08-21 17:12:39.673] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.673] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.673] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.673] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.674] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.674] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.674] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.674] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.674] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.675] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.675] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.675] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.675] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.675] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.676] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.676] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.676] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.676] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.676] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.676] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.677] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.677] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.677] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.677] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.677] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,97,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,3,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.678] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1633,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.678] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.678] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4241 =>
ok
*** [2025-08-21 17:12:39.679] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4243
*** [2025-08-21 17:12:39.679] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1634
*** [2025-08-21 17:12:39.679] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.679] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1634,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.679] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1634,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.679] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.680] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.680] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.680] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.680] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.680] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.681] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.681] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.681] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.681] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.681] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.681] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.682] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.682] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF MPD LOG ***
v3, msgID: 44, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 44
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.682] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.682] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.683] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,98,2,1,0,2,1,0,48,32,48,30,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1634,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.683] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.683] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.684] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.684] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1634,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.684] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.684] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1634,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.140753>}]
*** [2025-08-21 17:12:39.684] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.684] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1634,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT TRACE ***
get 1634
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.684] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.684] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,4,116,101,115,116]
OrgCols: [{5,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
1}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,4,116,101,115,116],
[5],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.685] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,4,116,101,115,116]
Cols: [5]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.685] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[2]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,2}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',2},1}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],
'INTEGER',2,1}]
*** [2025-08-21 17:12:39.685] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1634,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.685] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1634,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.685] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.686] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.686] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.686] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF INFO ***
time in agent: 4356 mysec
*** [2025-08-21 17:12:39.686] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.686] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.687] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.687] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.687] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.687] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.687] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.688] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.688] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.688] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.688] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.688] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.688] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.689] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.689] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.689] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.689] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.689] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.689] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.690] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.690] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.690] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.690] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.690] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.691] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,98,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.691] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1634,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,1}]}
*** [2025-08-21 17:12:39.691] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.692] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4243 =>
ok
*** [2025-08-21 17:12:39.692] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4245
*** [2025-08-21 17:12:39.692] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1635
*** [2025-08-21 17:12:39.692] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],1}]
*** [2025-08-21 17:12:39.692] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1635,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,undefined}]}
*** [2025-08-21 17:12:39.692] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1635,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',1,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.693] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.693] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.693] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.693] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.693] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.694] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.694] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.694] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.694] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.694] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.694] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.695] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.695] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.695] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.695] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.695] SNMP A-NET-IF MPD LOG ***
v3, msgID: 45, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.695] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.695] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 45
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.695] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.695] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.696] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.696] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,99,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.696] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1635,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}]}}
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.697] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1635,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1635,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.141161>}]
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.697] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1635,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',1,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.697] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.698] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',1,1}}]}]
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,1}}]
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[5,172,17,0,2,4,116,101,115,116],1}]
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{5,1,1}]}
Done: []
*** [2025-08-21 17:12:39.698] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{5,1}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.698] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.698] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{5,1}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.699] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.699] SNMP A-LOCAL-DB LOG ***
table intCommunityTable set element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Cols: [{5,1}]
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT GENERIC LOG ***
apply: fun snmp_generic:table_try_make_consistent/3,[{intCommunityTable,
volatile},
[172,17,0,2,4,116,101,
115,116],
[{5,1}]]
*** [2025-08-21 17:12:39.699] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.699] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 5
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT GENERIC LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.699] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1635,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1635,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.700] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.700] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.700] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF INFO ***
time in agent: 5215 mysec
*** [2025-08-21 17:12:39.700] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.700] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.701] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.701] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.701] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.701] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.701] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.702] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.702] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.702] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.702] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.702] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.703] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.703] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.703] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.703] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.703] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.703] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.704] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.704] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.704] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.704] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.704] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.704] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.705] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,99,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.705] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1635,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.705] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',1,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
1}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.706] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4245 =>
ok
*** [2025-08-21 17:12:39.706] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4247
*** [2025-08-21 17:12:39.706] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1636
*** [2025-08-21 17:12:39.706] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],6}]
*** [2025-08-21 17:12:39.706] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1636,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,undefined}]}
*** [2025-08-21 17:12:39.707] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1636,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',6,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.707] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.707] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.707] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.707] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.708] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.708] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.708] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.708] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.708] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.708] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.709] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.709] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.709] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.709] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.709] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.709] SNMP A-NET-IF MPD LOG ***
v3, msgID: 46, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.709] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.709] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 46
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.710] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.710] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,100,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.710] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1636,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}]}}
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.711] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1636,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.711] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1636,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.141627>}]
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.711] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.711] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.711] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1636,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',6,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.711] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.711] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.712] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,1}}]
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[5,172,17,0,2,4,116,101,115,116],6}]
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{5,6,1}]}
Done: []
*** [2025-08-21 17:12:39.712] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{5,6}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.713] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{5,6}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.713] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.713] SNMP A-LOCAL-DB LOG ***
table delete row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.713] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1636,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.713] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1636,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.713] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.713] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.714] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.714] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.714] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF INFO ***
time in agent: 4951 mysec
*** [2025-08-21 17:12:39.714] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.714] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.715] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.715] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.715] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.715] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.715] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.715] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.716] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.716] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.716] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.716] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.716] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.717] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.717] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.717] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.717] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.717] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.717] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.718] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.718] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.718] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.718] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.718] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.719] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,100,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.719] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1636,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.719] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',6,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
6}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.720] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4247 =>
ok
*** [2025-08-21 17:12:39.720] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4249
*** [2025-08-21 17:12:39.720] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1637
*** [2025-08-21 17:12:39.720] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response' within 5500 ms with
Error: inconsistentName
Index: 1
Varbinds: [{[intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]],3}]
*** [2025-08-21 17:12:39.720] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1637,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,undefined}]}
*** [2025-08-21 17:12:39.720] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1637,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
4,116,101,115,116],
'INTEGER',3,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.721] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.721] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.721] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.721] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.721] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.722] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.722] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.722] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.722] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.722] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.722] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.723] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.723] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.723] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF MPD LOG ***
v3, msgID: 47, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 47
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.723] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.724] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.724] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,101,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,3,129,44,17,0,2,4,116,101,115,116,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.724] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1637,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',3,1}]}}
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.725] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1637,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1637,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',3,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.142070>}]
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.725] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1637,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,4,116,101,115,116],
'INTEGER',3,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.725] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.726] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',3,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,1}}]}]
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 3
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,1}}]
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[3,172,17,0,2,4,116,101,115,116],3}]
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{3,3,1}]}
Done: []
*** [2025-08-21 17:12:39.726] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{3,3}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.726] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.726] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.727] SNMP MASTER-AGENT SETLIB LOG ***
returned: {inconsistentName,3}
*** [2025-08-21 17:12:39.727] SNMP MASTER-AGENT LOG ***
set final result:
Error Status: inconsistentName
Error Index: 1
when
Original Result:
{inconsistentName,1}
*** [2025-08-21 17:12:39.727] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1637,inconsistentName,1,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1637,inconsistentName,1,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.727] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.727] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.727] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.727] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.728] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.728] SNMP A-NET-IF INFO ***
time in agent: 4543 mysec
*** [2025-08-21 17:12:39.728] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.728] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.728] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.728] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.728] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.728] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.729] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.729] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.729] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.729] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.729] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.730] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.730] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.730] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.730] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.730] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.730] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.731] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.731] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.731] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.731] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.731] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.732] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.732] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.732] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,101,2,1,18,2,1,1,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,
3,2,1,1,1,1,3,129,44,17,0,2,4,116,101,115,116,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.732] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1637,inconsistentName,1,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.732] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: inconsistentName
[exp] Error Index: 1
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',3,1}]
when
ExpVBs: [{[intCommunityViewIndex,
[172,17,0,2],
[4,116,101,115,116]],
3}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.733] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4249 =>
ok
Testing bug reported in ticket OTP-1128...
*** [2025-08-21 17:12:39.733] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:6992
*** [2025-08-21 17:12:39.733] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1638
*** [2025-08-21 17:12:39.733] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],5},
{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.734] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1638,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',5,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined}]}
*** [2025-08-21 17:12:39.734] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1638,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',5,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.734] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.734] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.735] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.735] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.735] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.735] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.735] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.735] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.736] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.736] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.736] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.736] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.736] SNMP MGR_MISC LOG ***
attempt send message (157 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.736] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.737] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF MPD LOG ***
v3, msgID: 48, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 48
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.737] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.737] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.737] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,95,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
78,2,2,6,102,2,1,0,2,1,0,48,66,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,5,48,
31,6,26,43,6,1,4,1,129,65,19,3,3,2,1,1,1,1,4,129,44,17,0,2,4,
116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1638,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}]}}
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.738] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1638,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',5,1},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.738] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.739] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.739] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1638,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.142486>}]
*** [2025-08-21 17:12:39.739] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.739] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.739] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.739] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1638,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',5,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.739] SNMP A-NET-IF DEBUG ***
disk log event: "snmpa_log", {wrap,67}
*** [2025-08-21 17:12:39.739] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.739] SNMP A-NET-IF LOG ***
Audit Trail Log - wrapped: 67 previously logged items where lost
*** [2025-08-21 17:12:39.739] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.740] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
Index: 2
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.740] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.740] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,
116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',5,1}}]}]
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.740] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',5,1}}]
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[4,172,17,0,2,4,116,101,115,116],2},
{[5,172,17,0,2,4,116,101,115,116],5}]
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{4,2,1},{5,5,2}]}
Done: []
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{4,2},{5,5}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.741] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.741] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 1
*** [2025-08-21 17:12:39.741] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4],
table_column,intCommunityAccess,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{readWrite,2},{read,1}]}],
true,'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',5,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.741] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{4,2},{5,5}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.741] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.742] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT TRACE ***
table_construct_row Indexes: [{asn1_type,'IpAddress',4,4,[],true,
'IpAddress',false,undefined},
{asn1_type,'OCTET STRING',undefined,
undefined,[],true,'DisplayString',false,
undefined}]
RowIndex: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.742] SNMP A-LOCAL-DB LOG ***
table create row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
Row: {[172,17,0,2],"test",noinit,2,3}
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT GENERIC LOG ***
apply: fun snmp_generic:table_try_make_consistent/3,[{intCommunityTable,
volatile},
[172,17,0,2,4,116,101,
115,116],
[{4,2},{5,5}]]
*** [2025-08-21 17:12:39.742] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.742] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 5
*** [2025-08-21 17:12:39.742] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT GENERIC LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.742] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1638,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',5,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.742] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1638,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',5,1},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116],'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.742] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.742] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.742] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.742] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.742] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.742] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.743] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF INFO ***
time in agent: 6279 mysec
*** [2025-08-21 17:12:39.743] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.743] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 157
*** [2025-08-21 17:12:39.743] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.743] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.744] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.744] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.744] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.744] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.744] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.744] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.745] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.745] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.745] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.745] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.745] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.745] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.746] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.746] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.746] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.746] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.746] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.746] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.747] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.747] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.747] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,95,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,78,
2,2,6,102,2,1,0,2,1,0,48,66,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,5,48,31,6,26,43,
6,1,4,1,129,65,19,3,3,2,1,1,1,1,4,129,44,17,0,2,4,116,101,115,
116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.747] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1638,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',5,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.747] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',5,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,2}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
5},
{[intCommunityAccess,[172,17,0,2],[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityAccess,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,4,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.748] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:6992 =>
ok
*** [2025-08-21 17:12:39.748] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:6994
*** [2025-08-21 17:12:39.749] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1639
*** [2025-08-21 17:12:39.749] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],3}]
*** [2025-08-21 17:12:39.749] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1639,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.749] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1639,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.749] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.749] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.749] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.750] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.750] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.750] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.750] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.750] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.750] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.751] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.751] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.751] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.751] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.751] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.751] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF MPD LOG ***
v3, msgID: 49, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 49
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.752] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.752] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.752] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,103,2,1,0,2,1,0,48,32,48,30,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1639,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.753] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1639,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.753] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1639,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.142999>}]
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.753] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.753] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.753] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1639,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT TRACE ***
get 1639
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.754] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,4,116,101,115,116]
OrgCols: [{5,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
1}]
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,4,116,101,115,116],
[5],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.754] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.754] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,4,116,101,115,116]
Cols: [5]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.755] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.755] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[3]
*** [2025-08-21 17:12:39.755] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,3}]
*** [2025-08-21 17:12:39.755] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',3},1}]
*** [2025-08-21 17:12:39.755] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',3,1}]
*** [2025-08-21 17:12:39.755] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],
'INTEGER',3,1}]
*** [2025-08-21 17:12:39.755] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1639,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1639,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.755] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.755] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.755] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.755] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF INFO ***
time in agent: 4383 mysec
*** [2025-08-21 17:12:39.756] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.756] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.756] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.756] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.756] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.757] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.757] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.757] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.757] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.757] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.757] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.758] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.758] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.758] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.758] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.758] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.758] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.759] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.759] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.759] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.759] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.759] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.759] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.760] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.760] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,103,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,3],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.760] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1639,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',3,1}]}
*** [2025-08-21 17:12:39.760] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',3,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
3}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.761] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:6994 =>
ok
*** [2025-08-21 17:12:39.761] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:6996
*** [2025-08-21 17:12:39.761] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1640
*** [2025-08-21 17:12:39.761] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],1},
{[intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]],2}]
*** [2025-08-21 17:12:39.761] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1640,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,undefined}]}
*** [2025-08-21 17:12:39.761] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1640,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',1,undefined},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,
4,116,101,115,116],
'INTEGER',2,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.762] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.762] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.762] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.762] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.762] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.763] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.763] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.763] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.763] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.763] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.763] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.764] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.764] SNMP MGR_MISC LOG ***
attempt send message (157 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.764] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF MPD LOG ***
v3, msgID: 50, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 50
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.764] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.765] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.765] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,95,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
78,2,2,6,104,2,1,0,2,1,0,48,66,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,1,48,
31,6,26,43,6,1,4,1,129,65,19,3,3,2,1,1,1,1,3,129,44,17,0,2,4,
116,101,115,116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1640,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}]}}
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.765] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.766] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1640,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',1,1},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1640,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.143407>}]
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.766] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1640,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',1,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,
0,2,4,116,101,115,116],
'INTEGER',2,2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.766] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
Index: 2
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.767] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.767] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,'INTEGER',
false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,
116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',1,1}}]}]
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT TRACE ***
check size of integer:
Value: 2
Upper limit: undefined
Lower limit: undefined
BER-type: 'INTEGER'
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.767] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,1}}]
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[3,172,17,0,2,4,116,101,115,116],2},
{[5,172,17,0,2,4,116,101,115,116],1}]
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{3,2,1},{5,1,2}]}
Done: []
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{3,2},{5,1}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.768] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.768] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3],
table_column,intCommunityViewIndex,
{asn1_type,'INTEGER',undefined,undefined,[],true,
'INTEGER',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,
116,101,115,116],
'INTEGER',2,2}},
{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.768] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{3,2},{5,1}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.768] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.768] SNMP A-LOCAL-DB LOG ***
table intCommunityTable set element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Cols: [{3,2}]
*** [2025-08-21 17:12:39.768] SNMP A-LOCAL-DB LOG ***
table intCommunityTable set element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Cols: [{5,1}]
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT GENERIC LOG ***
apply: fun snmp_generic:table_try_make_consistent/3,[{intCommunityTable,
volatile},
[172,17,0,2,4,116,101,
115,116],
[{3,2},{5,1}]]
*** [2025-08-21 17:12:39.769] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.769] SNMP A-LOCAL-DB LOG ***
table intCommunityTable get element [volatile]:
Indexes: [172,17,0,2,4,116,101,115,116]
Col: 5
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT GENERIC LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.769] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1640,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,
101,115,116],
'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.769] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1640,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',1,1},{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116],'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.769] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.769] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.769] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.769] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.769] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.769] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.769] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.770] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF INFO ***
time in agent: 5893 mysec
*** [2025-08-21 17:12:39.770] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.770] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 157
*** [2025-08-21 17:12:39.770] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.770] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.771] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.771] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.771] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.771] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.771] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.771] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.772] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.772] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.772] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.772] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.772] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.772] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.773] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.773] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.773] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.773] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.773] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.773] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.774] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.774] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.774] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,95,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,78,
2,2,6,104,2,1,0,2,1,0,48,66,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,1,48,31,6,26,43,
6,1,4,1,129,65,19,3,3,2,1,1,1,1,3,129,44,17,0,2,4,116,101,115,
116,2,1,2],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.774] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1640,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',1,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,
115,116],
'INTEGER',2,2}]}
*** [2025-08-21 17:12:39.774] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',1,1},
{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,
2,4,116,101,115,116],
'INTEGER',2,2}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
1},
{[intCommunityViewIndex,
[172,17,0,2],
[4,116,101,115,116]],
2}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityViewIndex,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,3,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.775] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:6996 =>
ok
*** [2025-08-21 17:12:39.775] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:6998
*** [2025-08-21 17:12:39.775] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1641
*** [2025-08-21 17:12:39.776] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],1}]
*** [2025-08-21 17:12:39.776] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1641,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.776] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1641,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.776] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.776] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.776] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.777] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.777] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.777] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.777] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.777] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.777] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.778] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.778] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.778] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.778] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.778] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.778] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF MPD LOG ***
v3, msgID: 51, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 51
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.779] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.779] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.780] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,105,2,1,0,2,1,0,48,32,48,30,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.780] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1641,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}}
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.781] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1641,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'NULL','NULL',1}]}
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.781] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1641,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'NULL','NULL',1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.143898>}]
*** [2025-08-21 17:12:39.781] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.782] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1641,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'NULL','NULL',1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT TRACE ***
get 1641
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'NULL','NULL',1}]
IsNotification: false
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.782] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.783] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.783] SNMP MASTER-AGENT GET TRACE ***
try_get(table) -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'NULL','NULL',1}}]
*** [2025-08-21 17:12:39.783] SNMP MASTER-AGENT GET TRACE ***
get_tab_value_from_mib -> entry when
Mod: snmp_generic
Func: table_func
Args: [{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.783] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when
RowIndex: [172,17,0,2,4,116,101,115,116]
OrgCols: [{5,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
1}]
*** [2025-08-21 17:12:39.783] SNMP MASTER-AGENT GET-LIB LOG ***
apply: snmp_generic, table_func, [get,
[172,17,0,2,4,116,101,115,116],
[5],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.783] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.783] SNMP MASTER-AGENT GENERIC TRACE ***
table_get_elements -> entry with
NameDb: {intCommunityTable,volatile}
RowIndex: [172,17,0,2,4,116,101,115,116]
Cols: [5]
FirstOwnIndex: 1
*** [2025-08-21 17:12:39.783] SNMP A-LOCAL-DB LOG ***
table get row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.784] SNMP MASTER-AGENT GENERIC TRACE ***
handle_table_get -> Res:
[1]
*** [2025-08-21 17:12:39.784] SNMP MASTER-AGENT GET-LIB LOG ***
returned: [{value,1}]
*** [2025-08-21 17:12:39.784] SNMP MASTER-AGENT GET TRACE ***
get_value_all_rows -> entry when done
Res: [{{value,'INTEGER',1},1}]
*** [2025-08-21 17:12:39.784] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',1,1}]
*** [2025-08-21 17:12:39.784] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],
'INTEGER',1,1}]
*** [2025-08-21 17:12:39.784] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1641,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.784] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1641,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.784] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.784] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.784] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.785] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.785] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.785] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.786] SNMP A-NET-IF INFO ***
time in agent: 7147 mysec
*** [2025-08-21 17:12:39.786] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.786] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.786] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.786] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.786] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.786] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.787] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.787] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.787] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.787] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.787] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.787] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.788] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.788] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.788] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.788] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.788] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.788] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.789] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.789] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.789] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.789] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.789] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.789] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.789] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,105,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.790] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1641,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',1,1}]}
*** [2025-08-21 17:12:39.790] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',1,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
1}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.790] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:6998 =>
ok
*** [2025-08-21 17:12:39.791] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:7000
*** [2025-08-21 17:12:39.791] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1642
*** [2025-08-21 17:12:39.791] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],6}]
*** [2025-08-21 17:12:39.791] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1642,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,undefined}]}
*** [2025-08-21 17:12:39.791] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1642,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,
4,116,101,115,116],
'INTEGER',6,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.791] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.791] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.792] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.792] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.792] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.792] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.792] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.792] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.793] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.793] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.793] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.793] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.793] SNMP MGR_MISC LOG ***
attempt send message (123 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.793] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.794] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF MPD LOG ***
v3, msgID: 52, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 52
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.794] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.794] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.795] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.795] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
45,2,2,6,106,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,
19,3,3,2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1642,noError,0,
[{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}]}}
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.796] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1642,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.796] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.796] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1642,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.144306>}]
*** [2025-08-21 17:12:39.797] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.797] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1642,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,
0,2,4,116,101,115,116],
'INTEGER',6,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.797] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
Index: 1
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116]
*** [2025-08-21 17:12:39.798] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,
116],
'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> entry with
TableOid: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1]
TableVbs: [{ivarbind,noError,
{me,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,1}}]
*** [2025-08-21 17:12:39.798] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_table -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
ValueArg: [{[5,172,17,0,2,4,116,101,115,116],6}]
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> entry with
MFA: {snmp_generic,table_func,[{intCommunityTable,volatile}]}
Row: {[172,17,0,2,4,116,101,115,116],[{5,6,1}]}
Done: []
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[is_set_ok,
[172,17,0,2,4,116,101,115,116],
[{5,6}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.799] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SETLIB TRACE ***
is_set_ok_all_rows -> done
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: [{[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1],
[{ivarbind,noError,
{me,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5],
table_column,intCommunityStatus,
{asn1_type,'INTEGER',undefined,undefined,
[{enums,
[{destroy,6},
{createAndWait,5},
{createAndGo,4},
{notReady,3},
{notInService,2},
{active,1}]}],
true,'RowStatus',false,undefined},
'read-write',
{snmp_generic,table_func,
[{intCommunityTable,volatile}]},
false,
[{table_name,intCommunityTable}],
undefined,undefined},
{varbind,
[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,
116,101,115,116],
'INTEGER',6,1}}]}]
SubagentVarbinds: []
*** [2025-08-21 17:12:39.799] SNMP MASTER-AGENT SETLIB LOG ***
apply: snmp_generic,table_func,[set,
[172,17,0,2,4,116,101,115,116],
[{5,6}],
{intCommunityTable,volatile}]
*** [2025-08-21 17:12:39.799] SNMP A-SYMBOLIC-STORE LOG ***
table info: intCommunityTable
*** [2025-08-21 17:12:39.800] SNMP A-LOCAL-DB LOG ***
table delete row [volatile]:
Name: intCommunityTable
Indexes: [172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.800] SNMP MASTER-AGENT SETLIB LOG ***
returned: {noError,0}
*** [2025-08-21 17:12:39.800] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.800] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.800] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.800] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1642,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,
101,115,116],
'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.800] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1642,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.800] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.800] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.800] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.801] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.801] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.801] SNMP A-NET-IF INFO ***
time in agent: 7906 mysec
*** [2025-08-21 17:12:39.802] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.802] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 123
*** [2025-08-21 17:12:39.802] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.802] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.802] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.802] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.802] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.803] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.803] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.803] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.803] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.803] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.803] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.804] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.804] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.804] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.804] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.804] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.805] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.805] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.805] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.805] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.805] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.805] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.805] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,62,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,45,
2,2,6,106,2,1,0,2,1,0,48,33,48,31,6,26,43,6,1,4,1,129,65,19,3,3,
2,1,1,1,1,5,129,44,17,0,2,4,116,101,115,116,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.806] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1642,noError,0,
[{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,
115,116],
'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.806] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,
2,4,116,101,115,116],
'INTEGER',6,1}]
when
ExpVBs: [{[intCommunityStatus,[172,17,0,2],[4,116,101,115,116]],
6}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [intCommunityStatus,[172,17,0,2],[4,116,101,115,116]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,4,1,193,19,3,3,2,1,1,1,1,5,172,17,0,2,4,116,101,115,116]
*** [2025-08-21 17:12:39.806] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:7000 =>
ok
*** [2025-08-21 17:12:39.807] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4388
*** [2025-08-21 17:12:39.807] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1643
*** [2025-08-21 17:12:39.807] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[friendsEntry,[2,3]],"kompis3"},{[friendsEntry,[3,3]],4}]
*** [2025-08-21 17:12:39.807] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1643,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,undefined}]}
*** [2025-08-21 17:12:39.807] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1643,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],
'INTEGER',4,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.807] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.808] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.808] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.808] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.808] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.808] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.808] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.809] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.809] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.809] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.809] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.809] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.809] SNMP MGR_MISC LOG ***
attempt send message (131 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.810] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF MPD LOG ***
v3, msgID: 53, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 53
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.810] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.810] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.811] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
52,2,2,6,107,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,4,1,2,
3,4,7,107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,4,1,
3,3,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.811] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1643,noError,0,
[{varbind,
[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}}
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.812] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1643,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.812] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1643,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.144749>}]
*** [2025-08-21 17:12:39.812] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.813] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1643,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,4,1,2,3]
Index: 1
*** [2025-08-21 17:12:39.813] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,4,1,3,3]
Index: 2
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,2,3]
*** [2025-08-21 17:12:39.814] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,2,3]
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.814] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.814] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.815] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.815] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.815] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.815] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.815] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.815] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1643,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.815] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1643,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.815] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.816] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.816] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.816] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.816] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.817] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.817] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.817] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.817] SNMP A-NET-IF INFO ***
time in agent: 7121 mysec
*** [2025-08-21 17:12:39.817] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.817] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.817] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.817] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.817] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.818] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.818] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.818] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.818] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.818] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.818] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.819] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.819] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.819] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.819] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.819] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.819] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.820] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.820] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.820] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.820] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.820] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.820] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.821] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.821] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,107,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,4,1,2,3,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,4,1,3,3,2,1,
4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.821] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1643,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.821] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',4,2}]
when
ExpVBs: [{[friendsEntry,[2,3]],"kompis3"},
{[friendsEntry,[3,3]],4}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [friendsEntry,[2,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,4,1,2,3]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [friendsEntry,[3,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.822] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4388 =>
ok
*** [2025-08-21 17:12:39.822] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4392
*** [2025-08-21 17:12:39.822] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1644
*** [2025-08-21 17:12:39.822] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[friendsEntry,[2,3]],"kompis3"},{[friendsEntry,[3,3]],1}]
*** [2025-08-21 17:12:39.822] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.823] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.823] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.823] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.823] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.823] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.823] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.824] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.824] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.824] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.824] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.824] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.824] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.825] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.825] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.825] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.825] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.825] SNMP A-NET-IF MPD LOG ***
v3, msgID: 54, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.825] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.825] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 54
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.825] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.826] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.826] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.826] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,108,2,1,0,2,1,0,48,32,48,14,6,10,43,6,1,2,1,7,4,1,2,
3,5,0,48,14,6,10,43,6,1,2,1,7,4,1,3,3,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'NULL','NULL',2}]}}
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.827] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.827] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1644,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'NULL','NULL',1},{varbind,[1,3,6,1,2,1,7,4,1,3,3],'NULL','NULL',2}]}
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.828] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'NULL','NULL',2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.145167>}]
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.828] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.828] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.828] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'NULL','NULL',2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.828] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT TRACE ***
get 1644
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,7,4,1,2,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'NULL','NULL',2}]
IsNotification: false
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.829] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.829] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,2,3]
*** [2025-08-21 17:12:39.829] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,2,3]
*** [2025-08-21 17:12:39.830] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',1,2}]
*** [2025-08-21 17:12:39.830] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',1,2}]
*** [2025-08-21 17:12:39.830] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.830] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1644,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.830] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.830] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.830] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.830] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.830] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.830] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.831] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF INFO ***
time in agent: 6221 mysec
*** [2025-08-21 17:12:39.831] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.831] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.832] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.832] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.832] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.832] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.832] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.832] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.833] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.833] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.833] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.833] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.833] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.833] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.834] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.834] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.834] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.834] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.834] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.834] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.835] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.835] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.835] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.835] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.835] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,108,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,4,1,2,3,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,4,1,3,3,2,1,
1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.835] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1644,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.836] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,4,1,2,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',1,2}]
when
ExpVBs: [{[friendsEntry,[2,3]],"kompis3"},
{[friendsEntry,[3,3]],1}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [friendsEntry,[2,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,4,1,2,3]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [friendsEntry,[3,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.836] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4392 =>
ok
*** [2025-08-21 17:12:39.837] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4395
*** [2025-08-21 17:12:39.837] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1645
*** [2025-08-21 17:12:39.837] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[friendsEntry,[3,3]],6}]
*** [2025-08-21 17:12:39.837] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,undefined}]}
*** [2025-08-21 17:12:39.837] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],
'INTEGER',6,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.837] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.838] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.838] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.838] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.838] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.838] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.838] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.839] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.839] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.839] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.839] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.839] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.839] SNMP MGR_MISC LOG ***
attempt send message (107 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.840] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF MPD LOG ***
v3, msgID: 55, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 55
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.840] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.840] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.841] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.841] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,46,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
29,2,2,6,109,2,1,0,2,1,0,48,17,48,15,6,10,43,6,1,2,1,7,4,1,3,
3,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}}
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.842] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1645,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.842] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.842] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.145547>}]
*** [2025-08-21 17:12:39.843] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.843] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,4,1,3,3]
Index: 1
*** [2025-08-21 17:12:39.843] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.844] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.844] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.845] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.845] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.845] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.845] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.845] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1645,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.845] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.845] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.845] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.845] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.845] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.845] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.846] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF INFO ***
time in agent: 6655 mysec
*** [2025-08-21 17:12:39.846] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.846] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 107
*** [2025-08-21 17:12:39.847] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.847] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.847] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.847] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.847] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.848] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.848] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.848] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.848] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.848] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.848] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.849] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.849] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.849] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.849] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.849] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.849] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.850] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.850] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.850] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.850] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.850] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.850] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,46,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,29,
2,2,6,109,2,1,0,2,1,0,48,17,48,15,6,10,43,6,1,2,1,7,4,1,3,3,2,1,
6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.851] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1645,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.851] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,4,1,3,3],'INTEGER',6,1}]
when
ExpVBs: [{[friendsEntry,[3,3]],6}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [friendsEntry,[3,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,4,1,3,3]
*** [2025-08-21 17:12:39.851] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4395 =>
ok
Testing bug reported in ticket OTP-1131...
*** [2025-08-21 17:12:39.852] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:7091
*** [2025-08-21 17:12:39.852] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1646
*** [2025-08-21 17:12:39.852] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response' within 5500 ms with
Error: noCreation
Index: 2
Varbinds: any
*** [2025-08-21 17:12:39.852] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1646,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,undefined}]}
*** [2025-08-21 17:12:39.852] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1646,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],
'INTEGER',4,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.852] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.853] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.853] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.853] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.853] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.853] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.854] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.854] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.854] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.854] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.854] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.855] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.855] SNMP MGR_MISC LOG ***
attempt send message (133 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.855] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF MPD LOG ***
v3, msgID: 56, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 56
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.855] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.856] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.856] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,71,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
54,2,2,6,110,2,1,0,2,1,0,48,42,48,22,6,11,43,6,1,2,1,7,4,1,2,
3,1,4,7,107,111,109,112,105,115,51,48,16,6,11,43,6,1,2,1,7,4,
1,3,3,1,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1646,noError,0,
[{varbind,
[1,3,6,1,2,1,7,4,1,2,3,1],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}}
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.856] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.857] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1646,noError,0,[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1646,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.145949>}]
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.857] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1646,noError,0,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.857] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,4,1,2,3,1]
Index: 1
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,4,1,3,3,1]
Index: 2
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,2,3,1]
*** [2025-08-21 17:12:39.858] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,2,3,1]
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,4,1,3,3,1]
*** [2025-08-21 17:12:39.858] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,4,1,3,3,1]
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT LOG ***
set final result:
Error Status: noCreation
Error Index: 2
when
Original Result:
{noCreation,2}
*** [2025-08-21 17:12:39.858] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1646,noCreation,2,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.858] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1646,noCreation,2,[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.859] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.859] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.859] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF INFO ***
time in agent: 4357 mysec
*** [2025-08-21 17:12:39.859] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.859] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 133
*** [2025-08-21 17:12:39.860] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.860] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.860] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.860] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.860] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.861] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.861] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.861] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.861] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.861] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.861] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.862] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.862] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.862] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.862] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.862] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.863] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.863] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.863] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.863] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.863] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.864] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.864] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,71,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,54,
2,2,6,110,2,1,11,2,1,2,48,42,48,22,6,11,43,6,1,2,1,7,4,1,2,3,1,
4,7,107,111,109,112,105,115,51,48,16,6,11,43,6,1,2,1,7,4,1,3,3,
1,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.864] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1646,noCreation,2,
[{varbind,[1,3,6,1,2,1,7,4,1,2,3,1],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,4,1,3,3,1],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.864] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received expected pdu (1)
*** [2025-08-21 17:12:39.864] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:7091 =>
ok
*** [2025-08-21 17:12:39.865] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4403
*** [2025-08-21 17:12:39.865] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1647
*** [2025-08-21 17:12:39.865] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[1,3]],"kompis3"},{[kompissEntry,[2,3]],4}]
*** [2025-08-21 17:12:39.865] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1647,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,undefined}]}
*** [2025-08-21 17:12:39.865] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1647,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],
'INTEGER',4,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.865] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.866] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.866] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.866] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.866] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.866] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.867] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.867] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.867] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.867] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.867] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.867] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.868] SNMP MGR_MISC LOG ***
attempt send message (131 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.868] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF MPD LOG ***
v3, msgID: 57, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 57
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.868] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.868] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.869] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
52,2,2,6,111,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,
3,4,7,107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,
2,3,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1647,noError,0,
[{varbind,
[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}}
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.869] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.869] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.870] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1647,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.870] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.870] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1647,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.146342>}]
*** [2025-08-21 17:12:39.870] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.870] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1647,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,5,1,1,3]
Index: 1
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,5,1,2,3]
Index: 2
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.870] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,1,3]
*** [2025-08-21 17:12:39.870] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,1,3]
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.871] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.871] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.872] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.872] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1647,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1647,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.872] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.872] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.872] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.872] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.873] SNMP A-NET-IF INFO ***
time in agent: 4711 mysec
*** [2025-08-21 17:12:39.873] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.873] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.873] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.873] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.873] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.873] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.874] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.874] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.874] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.874] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.874] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.874] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.875] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.875] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.875] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.875] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.875] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.876] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.876] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.876] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.876] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.876] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.876] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.877] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.877] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,111,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,3,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,2,3,2,1,
4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.877] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1647,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.877] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',4,2}]
when
ExpVBs: [{[kompissEntry,[1,3]],"kompis3"},
{[kompissEntry,[2,3]],4}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[1,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,1,3]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.878] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4403 =>
ok
*** [2025-08-21 17:12:39.878] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4407
*** [2025-08-21 17:12:39.878] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1648
*** [2025-08-21 17:12:39.878] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[1,3]],"kompis3"},{[kompissEntry,[2,3]],1}]
*** [2025-08-21 17:12:39.879] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-request',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.879] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-request',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.879] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.879] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.879] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.880] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.880] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.880] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.880] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.880] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.881] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.881] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.881] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.881] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.881] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.881] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.882] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF MPD LOG ***
v3, msgID: 58, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 58
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.882] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.882] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.882] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,160,
44,2,2,6,112,2,1,0,2,1,0,48,32,48,14,6,10,43,6,1,2,1,7,5,1,1,
3,5,0,48,14,6,10,43,6,1,2,1,7,5,1,2,3,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-request',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'NULL','NULL',2}]}}
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.883] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-request'
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-request',1648,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'NULL','NULL',1},{varbind,[1,3,6,1,2,1,7,5,1,2,3],'NULL','NULL',2}]}
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-request')
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.883] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-request',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'NULL','NULL',2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.146760>}]
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.883] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.883] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-request',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'NULL','NULL',2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT TRACE ***
process 'get-request'
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT TRACE ***
get 1648
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT GET TRACE ***
do_get -> entry with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
UnsortedVarbinds: [{varbind,[1,3,6,1,2,1,7,5,1,1,3],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'NULL','NULL',2}]
IsNotification: false
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT GET-LIB TRACE ***
split the varbinds view
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.884] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,1,3]
*** [2025-08-21 17:12:39.884] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,1,3]
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT TRACE ***
get final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT TRACE ***
response varbinds:
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]
*** [2025-08-21 17:12:39.884] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1648,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.885] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.885] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.885] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF INFO ***
time in agent: 3883 mysec
*** [2025-08-21 17:12:39.885] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.886] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.886] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.886] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.886] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.886] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.886] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.887] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.887] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.887] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.887] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.887] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.888] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.888] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.888] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.888] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.888] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.888] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.889] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.889] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.889] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.889] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.889] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.890] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.890] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,112,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,3,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,2,3,2,1,
1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.890] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1648,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.890] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]
when
ExpVBs: [{[kompissEntry,[1,3]],"kompis3"},
{[kompissEntry,[2,3]],1}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[1,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,1,3]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.891] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4407 =>
ok
*** [2025-08-21 17:12:39.891] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4411
*** [2025-08-21 17:12:39.891] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1649
*** [2025-08-21 17:12:39.892] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[1,3]],"kompis3"},{[kompissEntry,[2,3]],1}]
*** [2025-08-21 17:12:39.892] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.892] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.892] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.892] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.893] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.893] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.893] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.893] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.893] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.893] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.894] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.894] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.894] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.894] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.894] SNMP MGR_MISC LOG ***
attempt send message (120 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.895] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF MPD LOG ***
v3, msgID: 59, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 59
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.895] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.895] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.895] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,59,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
42,2,2,6,113,2,1,0,2,1,0,48,30,48,13,6,9,43,6,1,2,1,7,5,1,1,
5,0,48,13,6,9,43,6,1,2,1,7,5,1,2,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2],'NULL','NULL',2}]}}
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.896] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1649,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',1},{varbind,[1,3,6,1,2,1,7,5,1,2],'NULL','NULL',2}]}
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.896] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2],'NULL','NULL',2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.147141>}]
*** [2025-08-21 17:12:39.896] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.896] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.897] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2],'NULL','NULL',2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1649
Vbs: [{varbind,[1,3,6,1,2,1,7,5,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2],'NULL','NULL',2}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.897] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,7,5,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.897] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,7,5,1,2] [[{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2},
{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1}]
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]
*** [2025-08-21 17:12:39.897] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1649,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.898] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.898] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.898] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF INFO ***
time in agent: 3757 mysec
*** [2025-08-21 17:12:39.898] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.898] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.899] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.899] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.899] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.899] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.899] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.900] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.900] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.900] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.900] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.900] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.900] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.901] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.901] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.901] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.901] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.901] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.902] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.902] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.902] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.902] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.902] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.902] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.903] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,113,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,3,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,2,3,2,1,
1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.903] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1649,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,3],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.903] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,1,3],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',1,2}]
when
ExpVBs: [{[kompissEntry,[1,3]],"kompis3"},
{[kompissEntry,[2,3]],1}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[1,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,1,3]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.904] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4411 =>
ok
*** [2025-08-21 17:12:39.904] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4415
*** [2025-08-21 17:12:39.904] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1650
*** [2025-08-21 17:12:39.904] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[1,2]],"kompis3"},{[kompissEntry,[2,2]],4}]
*** [2025-08-21 17:12:39.904] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1650,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,undefined}]}
*** [2025-08-21 17:12:39.905] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1650,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],
'INTEGER',4,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.905] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.905] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.905] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.905] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.906] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.906] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.906] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.906] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.906] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.906] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.907] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.907] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.907] SNMP MGR_MISC LOG ***
attempt send message (131 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.907] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF MPD LOG ***
v3, msgID: 60, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 60
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.907] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.908] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.908] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
52,2,2,6,114,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,
2,4,7,107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,
2,2,2,1,4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1650,noError,0,
[{varbind,
[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}}
*** [2025-08-21 17:12:39.908] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.909] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1650,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1650,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.147505>}]
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.909] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1650,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.909] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,5,1,1,2]
Index: 1
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,5,1,2,2]
Index: 2
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,1,2]
*** [2025-08-21 17:12:39.910] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,1,2]
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.910] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}},
{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1}}]}]
*** [2025-08-21 17:12:39.910] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.911] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.911] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.911] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.911] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1650,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1650,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.911] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.911] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.911] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.911] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.912] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.912] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.912] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.912] SNMP A-NET-IF INFO ***
time in agent: 4615 mysec
*** [2025-08-21 17:12:39.912] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.912] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.912] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.912] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.912] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.913] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.913] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.913] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.913] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.913] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.913] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.914] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.914] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.914] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.914] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.914] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.915] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.915] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.915] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.915] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.915] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.916] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.916] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.916] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.916] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,114,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,2,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,2,2,2,1,
4],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.916] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1650,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]}
*** [2025-08-21 17:12:39.916] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',4,2}]
when
ExpVBs: [{[kompissEntry,[1,2]],"kompis3"},
{[kompissEntry,[2,2]],4}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[1,2]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,1,2]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,2]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.917] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4415 =>
ok
*** [2025-08-21 17:12:39.918] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4419
*** [2025-08-21 17:12:39.918] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1651
*** [2025-08-21 17:12:39.918] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[1,2]],"kompis3"},{[kompissEntry,[2,2]],1}]
*** [2025-08-21 17:12:39.918] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'get-next-request',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,1],'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,1],'NULL','NULL',undefined}]}
*** [2025-08-21 17:12:39.918] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'get-next-request',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,1],
'NULL','NULL',undefined},
{varbind,[1,3,6,1,2,1,7,5,1,2,1],
'NULL','NULL',undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.918] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.919] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.919] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.919] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.919] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.919] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.920] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.920] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.920] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.920] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.920] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.920] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.921] SNMP MGR_MISC LOG ***
attempt send message (122 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.921] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF MPD LOG ***
v3, msgID: 61, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 61
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.921] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.921] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.922] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,61,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,161,
44,2,2,6,115,2,1,0,2,1,0,48,32,48,14,6,10,43,6,1,2,1,7,5,1,1,
1,5,0,48,14,6,10,43,6,1,2,1,7,5,1,2,1,5,0],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'get-next-request',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,1],'NULL','NULL',2}]}}
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.922] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'get-next-request'
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.922] SNMP A-NET-IF LOG ***
got pdu {pdu,'get-next-request',1651,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,1],'NULL','NULL',1},{varbind,[1,3,6,1,2,1,7,5,1,2,1],'NULL','NULL',2}]}
*** [2025-08-21 17:12:39.923] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('get-next-request')
*** [2025-08-21 17:12:39.923] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'get-next-request',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,1],'NULL','NULL',2}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.147923>}]
*** [2025-08-21 17:12:39.923] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.923] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'get-next-request',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,1],'NULL','NULL',2}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT ACM TRACE ***
View type: read
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT TRACE ***
process 'get-next-request'
*** [2025-08-21 17:12:39.923] SNMP MASTER-AGENT TRACE ***
process get-next-request -> entry with
ReqId: 1651
Vbs: [{varbind,[1,3,6,1,2,1,7,5,1,1,1],'NULL','NULL',1},
{varbind,[1,3,6,1,2,1,7,5,1,2,1],'NULL','NULL',2}]
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.923] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,7,5,1,1,1] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.923] SNMP A-MIB-SERVER LOG ***
next [1,3,6,1,2,1,7,5,1,2,1] [[{[1,3,6,1,2,1,16,1,0],[],2},
{[1,3,6,1],[],1}]]
*** [2025-08-21 17:12:39.924] SNMP MASTER-AGENT TRACE ***
get-next final result:
Error status: noError
Error index: 0
Varbinds: [{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',1,2},
{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1}]
*** [2025-08-21 17:12:39.924] SNMP MASTER-AGENT TRACE ***
get-next final result -> response varbinds:
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',1,2}]
*** [2025-08-21 17:12:39.924] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1651,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',[107,111,109,112,105,115,51],1},{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.924] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.924] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.924] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.924] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.925] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.925] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.925] SNMP A-NET-IF INFO ***
time in agent: 3831 mysec
*** [2025-08-21 17:12:39.925] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.925] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 131
*** [2025-08-21 17:12:39.925] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.925] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.925] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.926] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.926] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.926] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.926] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.926] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.927] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.927] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.927] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.927] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.927] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.927] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.928] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.928] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.928] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.928] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.928] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.929] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.929] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.929] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.929] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,69,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,52,
2,2,6,115,2,1,0,2,1,0,48,40,48,21,6,10,43,6,1,2,1,7,5,1,1,2,4,7,
107,111,109,112,105,115,51,48,15,6,10,43,6,1,2,1,7,5,1,2,2,2,1,
1],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.929] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1651,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,1,2],'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',1,2}]}
*** [2025-08-21 17:12:39.930] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,1,2],
'OCTET STRING',"kompis3",1},
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',1,2}]
when
ExpVBs: [{[kompissEntry,[1,2]],"kompis3"},
{[kompissEntry,[2,2]],1}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[1,2]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,1,2]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,2]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.930] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4419 =>
ok
*** [2025-08-21 17:12:39.931] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4422
*** [2025-08-21 17:12:39.931] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1652
*** [2025-08-21 17:12:39.931] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[2,3]],6}]
*** [2025-08-21 17:12:39.931] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,undefined}]}
*** [2025-08-21 17:12:39.931] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],
'INTEGER',6,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.931] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.932] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.932] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.932] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.932] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.932] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.933] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.933] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.933] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.933] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.933] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.933] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.934] SNMP MGR_MISC LOG ***
attempt send message (107 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.934] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF MPD LOG ***
v3, msgID: 62, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 62
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.934] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.934] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.935] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,46,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
29,2,2,6,116,2,1,0,2,1,0,48,17,48,15,6,10,43,6,1,2,1,7,5,1,2,
3,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}}
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.935] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.935] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.936] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1652,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.936] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.936] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.148287>}]
*** [2025-08-21 17:12:39.936] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.936] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,5,1,2,3]
Index: 1
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.936] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.936] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.937] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.937] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1652,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.937] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.938] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.938] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.938] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF INFO ***
time in agent: 4322 mysec
*** [2025-08-21 17:12:39.938] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.938] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 107
*** [2025-08-21 17:12:39.939] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.939] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.939] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.939] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.939] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.939] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.940] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.940] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.940] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.940] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.940] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.941] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.941] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.941] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.941] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.941] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.941] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.942] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.942] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.942] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.942] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.942] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.943] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,46,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,29,
2,2,6,116,2,1,0,2,1,0,48,17,48,15,6,10,43,6,1,2,1,7,5,1,2,3,2,1,
6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.943] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1652,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.943] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,2,3],'INTEGER',6,1}]
when
ExpVBs: [{[kompissEntry,[2,3]],6}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,3]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,3]
*** [2025-08-21 17:12:39.944] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4422 =>
ok
*** [2025-08-21 17:12:39.944] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT for snmp_agent_SUITE:4424
*** [2025-08-21 17:12:39.944] COUNTER-SERVER [<0.1414.0>] increment mgr_request_id: (next) 1653
*** [2025-08-21 17:12:39.944] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT 'get-response'
with
Varbinds: [{[kompissEntry,[2,2]],6}]
*** [2025-08-21 17:12:39.944] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received send_pdu with
Pdu: {pdu,'set-request',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,undefined}]}
*** [2025-08-21 17:12:39.944] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
mk_msg(version-3) -> entry with
Pdu: {pdu,'set-request',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],
'INTEGER',6,undefined}]}
Context: []
User: "all-rights"
EngineID: "agentEngine"
CtxEngineID: "agentEngine"
SecLevel: 0
*** [2025-08-21 17:12:39.945] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.945] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "mgrEngine"
*** [2025-08-21 17:12:39.945] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msh -> [3.1.1b] get user from sec name
*** [2025-08-21 17:12:39.945] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.945] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.946] SNMP MGR_MISC USM_MIB TRACE ***
get_user_from_security_name -> found user using the identity function
*** [2025-08-21 17:12:39.946] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "mgrEngine" [3.1.6]
*** [2025-08-21 17:12:39.946] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.946] SNMP MGR_MISC A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.946] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.946] SNMP MGR_MISC A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.947] SNMP MGR_MISC A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.947] SNMP MGR_MISC LOG ***
attempt send message (107 bytes) to {{172,17,0,2},4000}
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF LOG ***
got packet from {172,17,0,2}:5000 on #Port<0.28>
*** [2025-08-21 17:12:39.947] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF MPD LOG ***
v3, msgID: 63, msgFlags: [4], msgSecModel: 3
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF MPD TRACE ***
v3_proc -> entry with
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> version 3 message header [7.2.3]:
msgID = 63
msgMaxSize = 1000
msgFlags = [4]
msgSecurityModel = 3
msgSecurityParameters = [48,35,4,11,97,103,101,110,116,69,110,103,105,110,101,2,1,0,2,1,0,4,10,97,108,108,45,114,105,103,104,116,115,4,0,4,0]
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF MPD TRACE ***
v3_proc -> [7.2.4-7.2.6]
SecModule = snmpa_usm
SecLevel = 0
IsReportable = true
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.947] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.948] SNMP A-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.948] SNMP A-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 0
MsgAuthEngineTime: 0
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
SecRes: {ok,{"agentEngine","all-rights",
[48,46,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,163,
29,2,2,6,117,2,1,0,2,1,0,48,17,48,15,6,10,43,6,1,2,1,7,5,1,2,
2,2,1,6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF MPD TRACE ***
v3_proc ->
DiscoOrPlain: plain
SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
SecName: "all-rights"
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF MPD TRACE ***
v3_proc -> message processing result:
ScopedPDU: {scopedPdu,"agentEngine",[],
{pdu,'set-request',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}}
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF MPD LOG ***
7.2.7 result:
contextEngineID: [97,103,101,110,116,69,110,103,105,110,101]
ContextName: ""
*** [2025-08-21 17:12:39.948] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.949] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF MPD DEBUG ***
v3_proc -> PDU type: 'set-request'
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF MPD TRACE ***
v3_proc -> 7.2.13
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF LOG ***
got pdu {pdu,'set-request',1653,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF TRACE ***
handle_recv_pdu -> received request ('set-request')
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF TRACE ***
activate once
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT DEBUG ***
handle_info(snmp_pdu) -> entry with
Vsn: 'version-3'
Pdu: {pdu,'set-request',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}
Address: {transportDomainUdpIpv4,{{172,17,0,2},5000}}
Extra: [{request_ref,#Ref<0.1830629184.522190849.148687>}]
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF DEBUG ***
handle_recv_pdu -> {state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,
#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter}
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT TRACE ***
handle_snmp_pdu -> single-thread agent
*** [2025-08-21 17:12:39.949] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT ACM TRACE ***
check v3 access for
Pdu: {pdu,'set-request',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}
Security model: 3
Security name: "all-rights"
Security level: 0
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT ACM TRACE ***
View type: write
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT LOG ***
handle_pdu -> ok:
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
ContextName: []
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT TRACE ***
process 'set-request'
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT TRACE ***
set module: snmpa_set
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT SET TRACE ***
do set with
MibView: [{[1,3,6,1,2,1,16,1,0],[],2},{[1,3,6,1],[],1}]
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> entry with
Oid: [1,3,6,1,2,1,7,5,1,2,2]
Index: 1
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT ACM TRACE ***
validate_all_mib_view -> done
*** [2025-08-21 17:12:39.949] SNMP MASTER-AGENT SVBL TRACE ***
partition -> Oid: [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.950] SNMP A-MIB-SERVER LOG ***
lookup [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SET TRACE ***
set phase one:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SET TRACE ***
my variables set, phase one:
[]
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SETLIB TRACE ***
varbinds ok
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SETLIB TRACE ***
consistency_check -> done
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SET TRACE ***
set phase two:
MyVarbinds: []
SubagentVarbinds: [{<23933.600.0>,
[{[1,3,6,1,2,1,7],
{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}}]}]
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SET TRACE ***
set phase two: (local) varbinds set ok
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent <23933.600.0> varbinds set ok
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT SET TRACE ***
set phase two: subagent(s) set ok
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT TRACE ***
set final result:
Error Status: noError
Error Index: 0
*** [2025-08-21 17:12:39.950] SNMP MASTER-AGENT TRACE ***
do_handle_pdu -> processed:
RePdu: {pdu,'get-response',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.950] SNMP A-NET-IF LOG ***
reply pdu:
{pdu,'get-response',1653,noError,0,[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF TRACE ***
select_transport -> entry with
Domain: transportDomainUdpIpv4
Type: 'get-response'
Transports: [{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF TRACE ***
select_transport -> selected:
{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,all,
transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}
*** [2025-08-21 17:12:39.951] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.951] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineMaxMessageSize [persistent]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF MPD TRACE ***
generate_response_msg -> SecEngineID: [97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.1] entry with
SecEngineID: "agentEngine"
SecName: "all-rights"
SecLevel: 0
LocalEngineID: "agentEngine"
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> SnmpEngineID: "agentEngine" [3.1.6]
*** [2025-08-21 17:12:39.951] SNMP A-LOCAL-DB LOG ***
variable get: snmpEngineBoots [persistent]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.4]
UserName: "all-rights"
AuthProtocol: [1,3,6,1,6,3,10,1,1,1]
PrivProtocol: [1,3,6,1,6,3,10,1,2,1]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
encrypt -> 3.1.4b
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.5, 3.1.7]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
generate_outgoing_msg -> [3.1.8]
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF A-USM TRACE ***
authenticate_outgoing -> encode message only
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF LOG TRACE ***
log -> entry with
Log: "snmpa_log"
AddrStr: udpIpv4://172.17.0.2:5000
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF INFO ***
time in agent: 4345 mysec
*** [2025-08-21 17:12:39.951] SNMP A-NET-IF DEBUG ***
loop({state,<0.2866.0>,<0.2886.0>,<0.2885.0>,
[{transport,#Port<0.28>,#Ref<0.1830629184.522190849.105767>,
all,transportDomainUdpIpv4,
{172,17,0,2},
4000,4000,none,undefined,[],
[binary,inet,{reuseaddr,true}],
[]}],
{state,false,false,true},
{{snmp_log,"snmpa_log",disabled},[read,write]},
[],false,infinity,snmpa_net_if_filter})
*** [2025-08-21 17:12:39.951] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received udp with
UdpId: #Port<0.224>
Ip: {172,17,0,2}
Port: 4000 (4000)
sz(Bytes): 107
*** [2025-08-21 17:12:39.952] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_udp_packet -> version 3
*** [2025-08-21 17:12:39.952] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> entry
*** [2025-08-21 17:12:39.952] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecModule: snmpa_usm
*** [2025-08-21 17:12:39.952] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_msg -> SecLevel: 0
*** [2025-08-21 17:12:39.952] SNMP MGR-LOCAL-DB LOG ***
variable get: snmpEngineID [persistent]
*** [2025-08-21 17:12:39.953] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check security parms: 3.2.1
*** [2025-08-21 17:12:39.953] SNMP MGR_MISC A-USM LOG ***
process_incoming_msg -> USM security parms:
msgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
userName: "all-rights"
*** [2025-08-21 17:12:39.953] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> check engine id: 3.2.3
*** [2025-08-21 17:12:39.953] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> EngineKey: [11,97,103,101,110,116,69,110,103,105,110,101]
*** [2025-08-21 17:12:39.953] SNMP MGR-LOCAL-DB LOG ***
table usmUserTable next [persistent]:
Indexes: "\vagentEngine"
*** [2025-08-21 17:12:39.953] SNMP MGR-LOCAL-DB DEBUG ***
table next result:
[11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.954] SNMP MGR_MISC USM_MIB TRACE ***
is_engine_id_known -> Key: [11,97,103,101,110,116,69,110,103,105,110,101,7,97,117,116,104,77,68,53]
*** [2025-08-21 17:12:39.954] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> retrieve usm user: 3.2.4
*** [2025-08-21 17:12:39.954] SNMP MGR-LOCAL-DB LOG ***
table get row [persistent]:
Name: usmUserTable
Indexes: "\vagentEngine\nall-rights"
*** [2025-08-21 17:12:39.954] SNMP MGR-LOCAL-DB DEBUG ***
table get row result:
{"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.954] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> securityName: "all-rights"
*** [2025-08-21 17:12:39.955] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> authenticate incoming: 3.2.5 - 3.2.7
USM User: {"agentEngine","all-rights","all-rights",
[0,0],
[1,3,6,1,6,3,10,1,1,1],
[],[],
[1,3,6,1,6,3,10,1,2,1],
[],[],[],3,1,[],[]}
*** [2025-08-21 17:12:39.955] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> 3.2.6
SecLevel: 0
*** [2025-08-21 17:12:39.955] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> Sec params:
MsgAuthEngineID: [97,103,101,110,116,69,110,103,105,110,101]
MsgAuthEngineBoots: 1
MsgAuthEngineTime: 2
*** [2025-08-21 17:12:39.955] SNMP MGR_MISC A-USM TRACE ***
authenticate_incoming -> don't authenticate
*** [2025-08-21 17:12:39.955] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> decrypt scoped data: 3.2.8
*** [2025-08-21 17:12:39.955] SNMP MGR_MISC A-USM TRACE ***
process_incoming_msg -> AuthKey/PrivKey are changed - use old values: 3.2.9
*** [2025-08-21 17:12:39.956] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
check_sec_module_result -> entry with
Res: {ok,{"agentEngine","all-rights",
[48,46,4,11,97,103,101,110,116,69,110,103,105,110,101,4,0,162,29,
2,2,6,117,2,1,0,2,1,0,48,17,48,15,6,10,43,6,1,2,1,7,5,1,2,2,2,1,
6],
{"all-rights",
[1,3,6,1,6,3,10,1,1,1],
[1,3,6,1,6,3,10,1,2,1],
[],[]},
plain}}
*** [2025-08-21 17:12:39.956] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
handle_v3_message -> send pdu to manager (<0.753.0>):
{pdu,'get-response',1653,noError,0,
[{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]}
*** [2025-08-21 17:12:39.956] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT received pdu (12):
[exp] Type: 'get-response'
[exp] Error Status: noError
[exp] Error Index: 0
VBs: [{varbind,[1,3,6,1,2,1,7,5,1,2,2],'INTEGER',6,1}]
when
ExpVBs: [{[kompissEntry,[2,2]],6}]
snmp_agent_test_lib:purify_oid -> entry with
Oid: [kompissEntry,[2,2]]
snmp_agent_test_lib:purify_oid -> ok:
Oid2: [1,3,6,1,2,1,7,5,1,2,2]
*** [2025-08-21 17:12:39.957] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
EXPECT result for snmp_agent_SUITE:4424 =>
ok
*** [2025-08-21 17:12:39.957] INFO MGR-MISC 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.755.0> ***
packet_loop -> received stop from <0.754.0>
*** [2025-08-21 17:12:39.957] SNMP MGR-LOCAL-DB LOG ***
terminate: normal
*** [2025-08-21 17:12:39.957] INFO 'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f' <0.753.0> ***
tc_wait -> tc run done:
ok
*** [2025-08-21 17:12:39.958] INFO test_server@405b9c08802f <0.2911.0> ***
call -> done:
Ret: ok
Loc: [{snmp_agent_SUITE,big_3}]
*** [2025-08-21 17:12:39.958] SNMP MASTER-AGENT LOG ***
<23933.600.0> exited for reason shutdown
*** [2025-08-21 17:12:39.958] SNMP A-MIB-SERVER LOG ***
info subagents
*** [2025-08-21 17:12:39.958] SNMP MASTER-AGENT LOG ***
subagent exit
*** [2025-08-21 17:12:39.959] SNMP A-MIB-SERVER LOG ***
unregister subagent <23933.600.0>
*** [2025-08-21 17:12:39.959] SNMP MASTER-AGENT LOG ***
[false] unload mibs ["OLD-SNMPEA-MIB"]
*** [2025-08-21 17:12:39.959] SNMP A-MIB-SERVER LOG ***
[false] unload mibs ["OLD-SNMPEA-MIB"]
*** [2025-08-21 17:12:39.959] SNMP A-SYMBOLIC-STORE LOG ***
delete table infos: 'OLD-SNMPEA-MIB'
*** [2025-08-21 17:12:39.959] SNMP A-SYMBOLIC-STORE LOG ***
delete variable infos: 'OLD-SNMPEA-MIB'
*** [2025-08-21 17:12:39.959] SNMP A-SYMBOLIC-STORE LOG ***
delete aliasname: 'OLD-SNMPEA-MIB'
*** [2025-08-21 17:12:39.960] SNMP A-SYMBOLIC-STORE LOG ***
delete types: 'OLD-SNMPEA-MIB'
*** [2025-08-21 17:12:39.960] SNMP A-SYMBOLIC-STORE LOG ***
delete notification: 'OLD-SNMPEA-MIB'
*** [2025-08-21 17:12:39.960] INFO test_server@405b9c08802f <0.2911.0> ***
end_per_testcase -> entry with
Config: [{tc_status,ok},
{watchdog,<0.2913.0>},
{watchdog,<0.2912.0>},
{vsn,v3},
{snmp_app_sup,<0.2864.0>},
{snmp_sup,{<0.2865.0>,<0.2834.0>}},
{snmp_sub,{<23933.591.0>,<23933.590.0>}},
{snmp_group_top_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/test_v3"},
{snmp_sa,
'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{snmp_sa_peer,<0.1425.0>},
{snmp_mgr,
'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{snmp_mgr_peer,<0.1430.0>},
{snmp_master,test_server@405b9c08802f},
{agent_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/"},
{agent_db_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/db/"},
{agent_log_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/log/"},
{agent_conf_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/conf/"},
{sa_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/"},
{sa_db_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/db/"},
{mgr_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{ip,{172,17,0,2}},
{snmp_group_top_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs"},
{snmp_group_top_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all"},
{snmp_group_top_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default"},
{socket_create_opts,[]},
{mib_dir,
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{std_mib_dir,
[47,98,117,105,108,100,114,111,111,116,47,111,116,112,
47,69,114,108,97,110,103,32,8709,8868,8478,47,108,105,
98,47,115,110,109,112,45,53,46,49,57,47,112,114,105,
118,47,109,105,98,115]},
{data_dir,
"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_agent_SUITE_data/"},
{snmp_suite_top_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE"},
{snmp_factor,5},
{label,{host,undefined}},
{tc_logfile,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/snmp_agent_suite.big_3.html"},
{tc_group_properties,[{name,test_v3}]},
{tc_group_path,
[[{name,major_tcs}],
[{name,all}],
[{name,inet_backend_default}]]},
{priv_dir,
"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/"},
{nodenames,[]}]
Nodes: ['snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f',
'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f']
*** [2025-08-21 17:12:39.961] INFO test_server@405b9c08802f <0.2911.0> ***
system events during test:
[]
*** [2025-08-21 17:12:39.961] INFO test_server@405b9c08802f <0.2911.0> ***
end_per_testcase -> done with
Result: [{tc_status,ok},
{watchdog,<0.2912.0>},
{vsn,v3},
{snmp_app_sup,<0.2864.0>},
{snmp_sup,{<0.2865.0>,<0.2834.0>}},
{snmp_sub,{<23933.591.0>,<23933.590.0>}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/test_v3"},
{snmp_sa,'snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f'},
{snmp_sa_peer,<0.1425.0>},
{snmp_mgr,'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f'},
{snmp_mgr_peer,<0.1430.0>},
{snmp_master,test_server@405b9c08802f},
{agent_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/"},
{agent_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/db/"},
{agent_log_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/log/"},
{agent_conf_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/agent/conf/"},
{sa_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/"},
{sa_db_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/sa/db/"},
{mgr_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs/mgr/"},
{ip,{172,17,0,2}},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all/major_tcs"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default/all"},
{snmp_group_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE/default"},
{socket_create_opts,[]},
{mib_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_test_data/"},
{std_mib_dir,[47,98,117,105,108,100,114,111,111,116,47,111,116,
112,47,69,114,108,97,110,103,32,8709,8868,8478,47,
108,105,98,47,115,110,109,112,45,53,46,49,57,47,112,
114,105,118,47,109,105,98,115]},
{data_dir,"/buildroot/otp/lib/snmp/make_test_dir/snmp_test/snmp_agent_SUITE_data/"},
{snmp_suite_top_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/snmp_agent_SUITE"},
{snmp_factor,5},
{label,{host,undefined}},
{tc_logfile,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/snmp_agent_suite.big_3.html"},
{tc_group_properties,[{name,test_v3}]},
{tc_group_path,[[{name,major_tcs}],
[{name,all}],
[{name,inet_backend_default}]]},
{priv_dir,"/buildroot/otp/lib/snmp/make_test_dir/ct_logs/ct_run.test_server@405b9c08802f.2025-08-21_17.04.03/make_test_dir.snmp_test.logs/run.2025-08-21_17.04.08/log_private/"},
{nodenames,[]}]
Nodes: ['snmp_agent_test_lib-snmp_sa-66-14912@405b9c08802f',
'snmp_agent_test_lib-snmp_mgr-1219-14912@405b9c08802f']
=== Ended at 2025-08-21 17:12:39
=== successfully completed test case
=== === Returned value: ok
Test run history | Top level test index | Latest test result