[erlang-questions] os_mon_mib error

Edwin Fine erlang-questions_efine@REDACTED
Wed May 28 06:26:23 CEST 2008


Hi all,

I am learning to use OTP snmp. I've done an snmp:config() for a v3 agent,
which is running ok, it seems. However, when I do an snmpwalk, I get a
wrongValue error. I'm running Ubuntu Feisty x86_64 using Erlang/OTP R12B-2.
This only happens if I do an os_mon_mib:load(snmp_master_agent).

What am I doing wrong?

$ snmpwalk -v 3 -l authPriv -m ALL -u initial -a MD5 -A **** -x DES -X ****
127.0.0.1:4000 otp
... snip ...
OTP-MIB::applVsn.1.7 = STRING: 2.12.2
OTP-OS-MON-MIB::loadMemorySystemWatermark.0 = INTEGER: 80
OTP-OS-MON-MIB::loadMemoryErlProcWatermark.0 = INTEGER: 5
Error in packet.
Reason: (genError) A general failure occured
Failed object: OTP-OS-MON-MIB::loadMemoryErlProcWatermark.0
--------------
The agent error is:

User error: Got 8386678784 from {os_mon_mib,load_table,[]}. Using wrongValue
--------------
The agent log is as follows:

*** [2008:05:28 04:13:39 4488] SNMP A-NET-IF A-USM LOG ***
   process_incoming_msg ->
   authEngineID: "edwin engine", userName: "initial"
*** [2008:05:28 04:13:39 4488] SNMP A-NET-IF MPD LOG ***

   contextEngineID: "edwin engine", context: ""
*** [2008:05:28 04:13:39 4488] SNMP A-NET-IF LOG ***
   got pdu

{pdu,'get-next-request',1080822006,noError,0,[{varbind,[1,3,6,1,4,1,193,19,3,2,2,1,2,0],'NULL','NULL',1}]}

=ERROR REPORT==== 28-May-2008::00:13:39 ===
** User error: Got 8386678784 from {os_mon_mib,load_table,[]}. Using
wrongValue
*** [2008:05:28 04:13:39 4489] SNMP A-NET-IF LOG ***
   reply pdu:

{pdu,'get-response',1080822006,genErr,1,[{varbind,[1,3,6,1,4,1,193,19,3,2,2,1,2,0],'NULL','NULL',1}]}
*** [2008:05:28 04:13:39 4489] SNMP A-NET-IF INFO ***
   time in agent: 1703 mysec

Regards,
Edwin Fine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080528/9540b941/attachment.htm>


More information about the erlang-questions mailing list