Hi everyone,
I'm trying net-snmp-5.2.1 on my RedHat-Linux 7.3 box, and currently having
trouble
when I retrieve HOST-RESOURCES-MIB items. I already tried the following
steps:
1. Set bash env param MIBS=ALL
2. Specify --with-mibs=HOST-RESOURCES-MIB:SNMPv2-MIB:... during ./configure
3. Distributed my snmp.conf and snmp.local.conf (same files) in the
following paths:
/Home/root/.snmp/
/usr/local/lib/snmp/
/var/net-snmp/
... as suggested by previous debug results
Note that I also have the said MIB in my /usr/local/share/snmp/mibs/ as
created by
make install.
------------
My box is configured as such:
###########################################################################
# snmpd.conf
# - created by the snmpconf configuration program
###########################################################################
syslocation "Company Name, Inc."
syscontact [EMAIL PROTECTED]
rocommunity public
rwcommunity [EMAIL PROTECTED]
dodebugging 1
###########################################################################
# snmp.conf
# - created by the snmpconf configuration program
###########################################################################
defaultport 161
defversion 1
defcommunity [EMAIL PROTECTED]
------------
Having the above configs, and inspecting the generated /var/log/snmpd.log
file,
I notice that I have these entries:
------------
parse-mibs: Checking file:
/usr/local/share/snmp/mibs/HOST-RESOURCES-TYPES.txt...
trace: new_module(): parse.c, 4092:
parse-mibs: Module 26 HOST-RESOURCES-TYPES is in
/usr/local/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
trace: add_mibfile(): parse.c, 4625:
------------
>From this, I take it that my HOST-RESOURCES-MIBs are indeed being loaded by
snmpd.
Now what else can I check/do in order to "get/retrieve" HOST-RESOURCES-MIB
items
Each time I do an `snmpwalk...`?
I can post my lengthy snmpwalk results if anyone wishes to see it.
Best regards,
Vic
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.5/18 - Release Date: 6/15/2005
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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