Dave,
        Thanks for the detail.
        When I set up my snmpconf file, I specified that I wanted a
SNMPv1/SNMPv2c read/write community with no restrictions on the hostname
and no restrictions on the OID. My SNMPConf file only has the following
line in it. 
        rwcommunity  community  
        
        The way that I'm querying my agent is by using the following
lines.

Snmpwalk -v 1 -c community 192.168.1.1 UCD-SNMP-MIB::logMatchCounter
Snmpget -v 1 -c community 192.168.1.1 UCD-SNMP-MIB::logMatchCounter ---
The response I get here is "There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::logMatchCounter".

        On a final note, I compiled and stepped through the loading of
the UCD-SNMP-MIB and it looked okay when it loaded.
        Hope this helps and cnce again, thanks.
                mj 

-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Monday, August 17, 2009 9:12 AM
To: Jaskiewicz, Michael-P49499
Cc: Wes Hardaker; net-snmp-users@lists.sourceforge.net
Subject: Re: Built Net-SNMP Win32 and Missing UCD-SNMP-MIB

2009/8/17 Jaskiewicz, Michael-P49499 <michael.jaskiew...@gdc4s.com>:
> Does access control suppress portions of the tree? When I perform an 
> SNMPWalk, it successfully reads a large portion of the tree. If the 
> access control were screwed up, wouldn't it just not read anything?

No - it depends on what the access configuration settings are.
It *is* possible to use access control to block particular sections
of the tree.   That's why Wes suggested it as a possibility.


> Why do you say that the removal of the MIB text files doesn't matter?

Because the presence or absence of MIB files on the client side does not
affect what information is supplied by the agent.
The only difference is how that information is reported by the
client application.   If it has the relevant MIB files loaded, then
it will display the results using MIB object names.   If the relevant
MIB files are not available, then it will display the same results using
numeric OIDs.

Things are slightly different if the MIB files are not present on the
agent side, but they are still not actually necessary.


> If the files are not present and you start snmpd, it says "cannot find

> module (<module_name>): at line 1 in (none)". Put the text files back 
> in and you can walk the tree successfully.

The agent has a list of MIB files that it tries to load, yes.
And if your snmpd.conf file refers to OIDs by name (e.g. as part of
access control settings), then those MIB files are necessary in order to
process the config settings correctly.
   But if the MIB files are missing, and the configuration is set up
using numeric OIDs, then the agent *will* operate correctly.
(It will complain about the missing files, but will still work).


I would still like to know exactly how you are trying to query the
agent.

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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