Hi,

 

Sorry if I posted twice the other day, I thought the first post didn't get 
through.

 

Anyway, is there no-one who can give me even some slight advice about what to 
look for? 

 

I have been asked to finish this in the coming days, but as said I know nothing 
about the lot.

 

Thanks

 

Daniel

 

________________________________

De : Chayvialle, Daniel (External) 
Envoyé : vendredi 1 juin 2012 13:08
À : 'net-snmp-users@lists.sourceforge.net'
Objet : Stuck in the way of quering a private MIB (extension using perl)

 

Hi all,

 

I have to add a proprietary MIB to debian's snmpd that I must be able to query 
(get and set) from another networked computer on a non-standard UDP port 
(network aspects will be a further step).

 

I have a MIB file in ~/.snmp/mibs and a perl extension for the agent, that is 
currently very close to what I could find on the Net. I have modiified the 
/etc/default/snmp, /etc/snmp/snmp.conf and /etc/snmp/snmpd.conf as understood 
from various tutorials

 

SNMP v3 is a constraint so I have created a user following the tutorials 
available on the Net.

 

Everything works when I query for exemple sysUpTime.0. But I cannot access my 
private MIB:

 

- snmpget says "No Suvh Instance currently exists at this OID" but can give me 
the name

 

- snmpwalk gives an empy content for the MIB when I ask from the top of my 
private MIB

 

- snmptranslate says "Unknown Object Identifier (Sub-id not found : (top)"

 

I don't know if this is sufficient a description for someone to help me. My 
current belief is that the agent does not know how to answer, but I can't seem 
to be able to find what prevents it from doing so (the perl sub-agent is 
registered as read in the tutorials).

 

The only things I know about SNMP (apart from various interpretations of the 
acronym, and the fact that once you've understood how it works it 'seems' 
simple) is what I have found the last days on the Net. thus please forgive if I 
don't always use the most appropriate terms. Network-wise I am rather a user, 
other than that I usually develop low-level drivers.

 

Thanks a lot for any help

 

Daniel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to