Re: error in mib2c generated files

2011-08-30 Thread Dave Shield
On 30 August 2011 05:56, devel tech wrote: > i performed following snmptranslate steps and got responses. >snmptranslate -IR TEST-MIB::teststr >Cannot find module (TEST-MIB): At line 0 in (none) That is not surprising - the name of the MIB is TEST-ENTERPRISE-MIBnot TEST-MIB Please se

Re: win32 snmptrapd installation and name resolving

2011-08-30 Thread Dave Shield
On 26 August 2011 08:55, Roland Klein Overmeer [GISS] wrote: > I added these entries in the file, restarted the service, send the trap > again, but I see no difference in the logged results... Hmmm... if you've set an explicit logging format in the config file and that is not being used, then

Re: shared object library location of snmpd

2011-08-30 Thread Dave Shield
On 25 August 2011 16:58, N. Karthikeyan wrote: > Could you please let me know the shared library PATH that net-snmp uses > to look for .so? $ man snmpd.conf dlmod NAME PATH will load the shared object module from the file PATH (an absolute filename) Note: If the specif

Re: Fetching system UUID using SNMP

2011-08-30 Thread Dave Shield
On 26 August 2011 07:44, Sudhir Behani wrote: >    I am trying to find a way to identify the system's UUID. The system could > be a linux machine , a storage controllers or any other devices in the > data-center ? > >   1.  Need to know which OID would give the value of the system UUID ? I'm not

Re: snmpwalk and snmpget give different result for same object

2011-08-30 Thread Dave Shield
On 26 August 2011 14:39, Kumar Sanjay-XJD784 wrote: > When I do the snmpwalk to “wsAceessBanner” I get the following result : > > * SNMP QUERY STARTED * > > 1: wsAceessBanner(7).0 (OCTET STRING) This Device is running in Common > Criteria Mode. Attention: This is a protected and private wi

Re: Strange problem with msgAuthoritativeEngineTime

2011-08-30 Thread Michael Schwartzkopff
> Hi, > > Using the Zabbix NMS IS was wondering why some values were not fetched at > all. So I did a tcpdump the the SNMP communication. > > 1) Mansger -> Agent > get-request without any parameter to get the autoritativeEngineID > > 2) Agent -> Manager > report with the contextEngineID (=msgAut

Re: No 'fsys' Code?

2011-08-30 Thread Michael Urban
Your message dated: Thu, 25 Aug 2011 15:59:08 BST > On 25 August 2011 14:42, Michael Urban wrote: > > my build does not seem to be compiling anything in > > the mibgroup/hardware/fsys directory that might actually initialize > > the data structures for hw_fsys.c - only fsys_void.c is

Re: No 'fsys' Code?

2011-08-30 Thread Michael Urban
And after all was said and done, I ran across the problem with the ucdavis disk information being only integer32, while our disk arrays are larger than 4TB. Is there some hack to provide and calculate this information in units larger than 1KB blocks? --

Marshaling SNMP DateAndTime via pass_persist

2011-08-30 Thread Alistair Bayley
Hello, I'm trying to write an extension module for snmpd, and decided to use the pass_persist mechanism. I can get it to successfully return values as long as they are numbers or strings (e.g. integer, string, Counter32, DisplayString), but I cannot figure out how to return a DateAndTime (from RFC

Re: Strange problem with msgAuthoritativeEngineTime

2011-08-30 Thread Wes Hardaker
> On Wed, 24 Aug 2011 15:30:54 +0200, Michael Schwartzkopff > said: MS> No comments on this problem? Unfortunately, many of us simply don't have the time to respond daily with free advice. I just happened to read the list (finally) today, which is the day you posted your above question

Re: Fetching system UUID using SNMP

2011-08-30 Thread Wes Hardaker
> On Tue, 30 Aug 2011 12:31:45 +0100, Dave Shield > said: DS> One problem is what do you mean by the "system UUID"? There are private MIBs to do such things, but nothing public that I know of (but I don't know them all) and Dave's right: there is likely many UUIDs for a system. Multipl

Re: community delete at run-time

2011-08-30 Thread Wes Hardaker
> On Wed, 24 Aug 2011 15:00:15 +0530, ashok kumar > said: ak> I have a requirement to add / delete community at run-time. (with out ak> restarting snmpd) ak> I am using vacm_parse_rocommunity or vacm_parse_rwcommunity for adding ak> a new community and it is working. I want to delete th

Re: SNMPv3 EngineID Changed to Random Format?

2011-08-30 Thread Wes Hardaker
> On Wed, 10 Aug 2011 09:20:56 -0600, Gary Dunlap > said: GD> I did notice in experimenting with this, that if the "engineIDType 3" GD> statement itself were not present, on restart snmpd would use the GD> "random" format. It will do that if you don't have persistent storage at all. Ot

Re: Marshaling SNMP DateAndTime via pass_persist

2011-08-30 Thread Alistair Bayley
On 31 August 2011 09:01, Alistair Bayley wrote: > Hello, > > I'm trying to write an extension module for snmpd, and decided to use > the pass_persist mechanism. I can get it to successfully return values > as long as they are numbers or strings (e.g. integer, string, > Counter32, DisplayString), b

Net-SNMP 5.7.1.rc1 available for testing

2011-08-30 Thread Wes Hardaker
You can grab the latest copy of bug fixes over the 5.7 release here: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.1-pre-releases/ In particular, I actually think the 5.7.1.rc1 release is better than the 5.7 release, so I'd strongly suggest switching to it. That way you'll get