Hi David,
Thanks for your response. so let me give you some more background info about my 
Issue:
1) I'm using Ubuntu 11.42) I have installed & compiled Net-Snmp on this vm with 
no errors.3) I'm able to get the values on the mgmt tree using snmpget, however 
I need to monitor disk, memory etc and this tree doens't have this kind of 
info.4) I'm trying to use the private MIB: UCD-SNMP-MIB to get this info, 
however SNMP is not finding this tree.5)  under snmpd.conf I have only setup my 
community readonly for snmpv1/v2 using rocommunity public6) under snmp.conf I 
have defined 3 things:     6.1) defport 161     6.2) defversion 1     6.3) 
defcommunity public     * I tried to use mibs + UCD-SNMP-MIB in order to read 
this mib, however still not working.
When I try to read this MIB, I got the error:Error in packetReason: 
(NoSuchName) there is no such variable name in  this MIB.Failed object: 
UCD-SNMP-MIB::dskTotal
let me know if you need more info. 
Thanks,Rodrigo
> Date: Mon, 28 May 2012 10:13:46 +0100
> Subject: Re: SNMP using another MIB
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> On 27 May 2012 23:35, Rodrigo Scorsatto <[email protected]> wrote:
> > I'm trying to use the UCD-DISKIO-MIB.txt to get disk & memory info from the
> > localhost. I tried to execute a lot of steps however still not working.
> > Using windows, I've created a java program using SNMP4j to get it, but I'm
> > getting noSuchObject. I think it's because I need to configure in some place
> > where I need to inform to use this MIB, I tried using both windows and linux
> > OS and no luck so far, any help is much aprreciated.
> 
> While Joel is correct that we cannot really help with SNMP4j,
> it's probably worth first checking whether the agent is able to return
> the information that you're looking for.
> 
> Have you got the Net-SNMP client tools installed?
> If so, try walking diskIOTable - what do you see?
> 
> If that doesn't report anything, then there's no point in going to the
> SNMP4j people.   We'd need to know a bit more details such as the
> version of the agent that you're using, what OS the agent is running
> on, and how you have configured the snmpd.conf file.
> 
> Dave
                                          
------------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to