Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  Snmp User's Guide Implementation Example

joseph
Posted: Wed Dec 10, 2008 5:25 pm Reply with quote
Joined: 10 Dec 2008 Posts: 1
Hi !
I'm newbie in Erlang and I've tried to run the Mib implementation example (Chapter 6)of the Snmp User's Guide. The default implementation run well after loaded the mib EX1-MIB : the response to snmp get on variable myName is ok.
But when I compile the ex1.erl as in the doc and start the server by ex1:start() , the ex1'code is never called.
Is there any important information missing in the doc. Or my agent'configuration is bad ?

My system is Windows Vista with erlang Release 5.6.1/OTP R12B.

thanks.


*************** agent.config ************
[{snmp,
[
{agent,
[
{priority, normal},
{versions, [v1]},
{db_dir, "D:/dev/autres/erlang/snmp/agents/sys2/agent/db"},
{mib_storage, ets},
{target_cache, [{verbosity,silence}]},
{symbolic_store, [{verbosity,silence}]},
{local_db, [{repair,true},{auto_save,5000},{verbosity,silence}]},
{error_report_module, snmpa_error_logger},
{agent_type, master},
{agent_verbosity, silence},
{config, [{dir, "D:/dev/autres/erlang/snmp/agents/sys2/agent/conf"}, {force_load, true}, {verbosity, silence}]},
{multi_threaded, false},
{mib_server, [{mibentry_override,false},{trapentry_override,false},{verbosity,silence}]},
{note_store, [{timeout,30000},{verbosity,silence}]},
{net_if, [{module,snmpa_net_if},{verbosity,silence},{options,[{bind_to,true},{no_reuse,false},{req_limit,infinity}]}]}
]
}
]
}
].


*************** community.conf ************

{"public", "public", "initial", "", ""}.
{"all-rights", "all-rights", "all-rights", "", ""}.
{"standard trap", "standard trap", "initial", "", ""}.






*************** vacm.conf ************


{vacmSecurityToGroup, v1, "initial", "initial"}.
{vacmSecurityToGroup, v1, "all-rights", "all-rights"}.
{vacmAccess, "initial", "", any, noAuthNoPriv, exact, "restricted", "", "restricted"}.
{vacmAccess, "initial", "", usm, authNoPriv, exact, "internet", "internet", "internet"}.
{vacmAccess, "initial", "", usm, authPriv, exact, "internet", "internet", "internet"}.
{vacmAccess, "all-rights", "", any, noAuthNoPriv, exact, "internet", "internet", "internet"}.
{vacmViewTreeFamily, "restricted", [1,3,6,1], included, null}.
{vacmViewTreeFamily, "internet", [1,3,6,1], included, null}.



agent.configs.txt
 Description:

Download
 Filename:  agent.configs.txt
 Filesize:  2.42 KB
 Downloaded:  628 Time(s)

View user's profile Send private message
wuji
Posted: Sat Aug 18, 2012 7:02 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
For the next 11 years, doctors treated him with with replica designer *beep* with anti-retroviral therapy, to which he responded positively.In 2006, however,
health deteriorated. He was diagnosed with acute myeloid leukemia -- -- [h3]cheap Christian Louboutin[/h3] -- and underwent chemotherapy. While the first round of treatment
to work, it also made him more susceptible to infections. infections. cheap polo shirts infections. Brown developed pneumonia early on in his treatment, and
battled sepsis halfway through his third round of chemo. His His [h3]replica designer bags for sale[/h3] His doctors realized they would have to try a different
oncologist, Dr. Gero Hutter of the Charite Hospital in Berlin, Berlin, cheap replica *beep* Berlin, opted to give Brown a stem cell transplant to
his leukemia. But rather than choosing a matched donor, he he cheap louboutins he used the stem cells of a donor he found
had what is known as a CCR5 mutation -- a a discount designer *beep* a mutation that makes cells immune to the HIV.In
later published in the New England Journal of Medicine, Hutter Hutter [h1]cheap Ralph Lauren Polo[/h1] Hutter and his colleagues reported that the transplant not only
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum