aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/misc/snmp_misc.erl
AgeCommit message (Collapse)Author
2019-04-15[snmp|agent] Fix typesMicael Karlberg
There no timestamp type in os (but there is in erlang).
2019-04-11[snmp|agent|test] Timestamps and test managerMicael Karlberg
Added common (formated) timestamp function(s). Made use of these in the verbosity module (for debug printouts) and in the test suite(s). I also *think* I found the cause for some if the test case failures (timeouts). For v3 (agent) test cases the test manager makes use of parts of the agent code: snmp_framework_mib and snmp_user_based_sm_mib. And since they store their data in snmpa_local_db, that also needs to be running. And this was the problem (I think). On some (slow) machines, the snmpa_local_db process from the *previous* test case might still be running when the we tried to start it. That meant that no new snmpa_local_db was started. Instead the old one, still running but terminating, was retain. For a while. Until it actually finally stopped. So the next operation towards snmpa_local_db, insert, simply hanged until the process terminated. This in combination with the fact that the packet server process, which was started using proc_lib, previously called init_ack before this init was actually done, could actually start and then at a much later time hang because some operation timed out (the packet server was hanging). Yuckety yuck-yuck.
2015-06-18Change license text to APLv2Bruce Yinhe
2015-04-24snmp: Change to random use crypto. Remove use of erlang:nowErland Schönbeck
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-05-28[snmp] Use of new crypto interface correctd in managerMicael Karlberg
Added a common utility function (in the snmp_misc module) for testing for crypto support (sed both by the manager and agent code). OTP-11009
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-01Added export of new (ip-) verification function.Micael Karlberg
2011-03-28Cosmetic prep for handling of domains in the config tool.Micael Karlberg
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP