Re: SNMP using another MIB
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGanfFaOhj083CL=FmUKmaqHa79tYqRd4a7962y1hMy8Xw@mail.gmail.com> |
On 29 May 2012 22:08, Rodrigo Scorsatto <[email protected]> wrote: > Thanks for your response. so let me give you some more background info about > my Issue: > > 1) I'm using Ubuntu 11.4 > 2) I have installed & compiled Net-Snmp on this vm with no errors. What version of Net-SNMP are you using? > 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. Actually, at least some of this information should be available under the 'host' subtree. > 4) I'm trying to use the private MIB: UCD-SNMP-MIB to get this info, however > SNMP is not finding this tree. How are you querying it? How have you configured the agent? > 5) under snmpd.conf I have only setup my community readonly for snmpv1/v2 > using rocommunity public Is that the only thing you've got in the snmpd.conf file? Remember that you won't see anything in the 'disk' tree unless you're explicitly monitoring something. See the FAQ entry Why can't I see values in the UCDavis 'extensible' or 'disk' trees? and the snmpd.conf(5) man page > 6) 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 packet > Reason: (NoSuchName) there is no such variable name in this MIB. > Failed object: UCD-SNMP-MIB::dskTotal What is the exact command that you used to query this object? 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