Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  SNMP Quick Start Tutorial

kevin
Posted: Mon Jan 28, 2008 10:33 am Reply with quote
User Joined: 25 Nov 2006 Posts: 18 Location: tulsa Oklahoma
Hello I have been following the SNMP tutorial
using the RB12 and get the following error


erl -sname manager -config snmp/manager
Erlang (BEAM) emulator version 5.6 [source] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.6 (abort with ^G)
(manager@ubuntu)1> application:start(mnesia).
ok
(manager@ubuntu)2> application:start(snmp).
ok
(manager@ubuntu)3> otp_
otp_internal otp_ring0
(manager@ubuntu)3> otp_mib:load(snmp_master_agent).
** exception exit: {noproc,
{gen_server,call,
[snmp_master_agent,
{load_mibs,
["/usr/local/lib/erlang/lib/otp_mibs-1.0.4.1/priv/mibs/OTP-MIB"]},
infinity]}}
in function gen_server:call/3
Can some give me some insight to what I am doing wrong

thanks very much
View user's profile Send private message Yahoo Messenger
asergey
Posted: Fri Mar 21, 2008 3:09 am Reply with quote
User Joined: 12 Mar 2005 Posts: 313
I believe the problem is that despite the fact snmp application started, it didn't start the snmp_master_agent. You can verify this by either:

1> whereis(snmp_master_agent).

or by running appmon and examining the hierarchy of the snmp application:

1> appmon:start().

Please read the tutorial more closely on how to configure the agent, or run:

1> snmp:config().

to generate agent's configuration.
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