RE: Built Net-SNMP Win32 and Missing UCD-SNMP-MIB

"Jaskiewicz, Michael-P49499" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
The snmpgetnext worked! Hooray! It returned an integer 1. I think I just realized what may be going on here. Previously I would query simple primitives from other MIBs. Does the UCD MIB use tables which changes the method of the query?

You're right about the instance submodifier on the snmpget, I missed it. After I put it in though, it didn't work but I guess that's understandable.  

Regarding the logmatch directives, I have nothing in the snmpd.conf about that. 
		mj

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
Sent: Monday, August 17, 2009 9:38 AM
To: Jaskiewicz, Michael-P49499
Cc: Wes Hardaker; [email protected]
Subject: Re: Built Net-SNMP Win32 and Missing UCD-SNMP-MIB

2009/8/17 Jaskiewicz, Michael-P49499 <[email protected]>:
> My SNMPConf file only has the following line in it.
>        rwcommunity  community

OK - so access control in probably not the issue here.


> 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

That second command would never work - it's missing the instance subidentifiers, so cannot possible match a cell from the table.
The first command should be OK, assuming that there's anything in that particular table.

But you originally stated that you weren't getting *any* results from the UCD MIB.
Let's start with checking that.   What does the command

    snmpgetnext -v 1 -c community 192.168.1.1   UCD-SNMP-MIB::ucdavis

return?

Also, given that you are querying the logMatchTable, what "logmatch"
directives do you have in your snmpd.conf file?


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
[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.