Re: Unknown Object Identifier and lm_sensors

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, 2005-11-11 at 17:09 -0800, Mike Robak wrote:
> In an attempt to get the sensor information on a system I get the
> following error:
> 
> > snmpwalk  -v 1 -c public localhost host.hrSensor
> host.hrSensor: Unknown Object Identifier
>         (Sub-id not found: host -> hrSensor)

That sounds as if snmpwalk is not loading the LM-SENSORS-MIB


> lm_sensors is set up properly.  LM-SENSORS-MIB.txt exists in
> the same directory as all the other mibs that come with fedora
> (/usr/share/snmp/mibs).

Good - but that's not in itself sufficient.
Not only does the MIB have to be in the right directory,
you also need to tell the tools to load it.

Try
    snmpwalk -m +LM-SENSORS-MIB  -v 1 -c public localhost hrSensor
or
    snmpwalk  -v 1 -c public localhost LM-SENSORS-MIB::hrSensor


Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.