Reason: (tooBig) Response message would have been too large.

2006-01-24 Thread Sterpu Victor
I do the following: snmpwalk -v 1 -c community string ip ip, and I receive the following Error in packet. Reason: (tooBig) Response message would have been too large. Failed object: IP-MIB::ipFragCreates.0 How can I fix this? --- This

Re: Trap is not sent on specified port #

2006-01-24 Thread Dave Shield
On Mon, 2006-01-23 at 12:07 -0500, Basker Janakiram wrote: What I am trying to achieve is to send trap to 300 and I don’t want to specify community string. trap2sink 192.168.52.10 300 What is happening is the trap2sink is still sending the trap on port 162. The port 300 that I

Re: net-snmp v5.3.0.1 RFC1213-MIB question

2006-01-24 Thread Dave Shield
On Mon, 2006-01-23 at 18:34 -0800, stan buyanov wrote: I installed net-snmp v5.3.0.1 No problem. After that I run IReasonning Mib Browser, and executed a Walk command on RFC1213-MIB. I got the following output: [snip] My question is: why it doesn't show all RFC1213-MIB objects

Reading out IP address

2006-01-24 Thread Torsten Zöhl [web.de]
hi, i´m using the net-snmp agent (with MIB 1213)at a network device which has an LAN Interface (which i´m using for snmp) and 4 WLAN interface my problem is, i can´t find a way to read or change the ip addresses of the WLAN interfaces... i can read out the MAC-adresses but there is no

Re: Reading out IP address

2006-01-24 Thread Dave Shield
On Mon, 2006-01-23 at 23:38 +0100, Torsten Zöhl [web.de] wrote: i can´t find a way to read or change the ip addresses of the WLAN interfaces... The IP addresses of your local interfaces can be retrieved by walking the ipAdEntIfIndex column of the IP-MIB::ipAddrTable. i can read out the

Re: Disabling usm for forwarding v3 messages in 5.3.0.1

2006-01-24 Thread Nigel Cunningham
Hi. On Tuesday 24 January 2006 19:23, Dave Shield wrote: On Tue, 2006-01-24 at 06:01 +1000, Nigel Cunningham wrote: But I want it to be authorised by the final destination; I just want the trapd that's forwarding the trap to do so without requiring the authentication details to be

Special Data Types

2006-01-24 Thread the-law
Hello, I'm implementing a MIB. Can somebody please tell me, how to implement special data types? After using mib2c with the mfd-Option, I started to implement an Integer value (example found in nstAgentModuleObject.c). This works great: I can get and set values. But how to implement other data

Linking agent against a C++ application

2006-01-24 Thread Raffles
Hi There, I'm trying to use NetSNMP to monitor a software system which is written in C++. I've created a C wrapper for the API to the C++ application, and written a mib2c config file to generate code which calls the API to get/set the information it needs. I've stuck the mib2c output into

RE: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-24 Thread Rane, Prashant
Title: RE: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf Hi Dave, Thanks for your inputs. I guess I will have to look into the snmptrapd code. I am using a locally (on solaris_5.8) compiled binary of snmptrapd v 5.2.2, as I was not able to locate any for

RE: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-24 Thread Dave Shield
On Tue, 2006-01-24 at 17:46 +0530, Rane, Prashant wrote: But this snmptrapd binary cores when I try to run it with the debug all option , as seen below As Thomas has said, we'd really need to see a debugger back trace to comment on why this might be failing (let alone fix it). We'd probably

Re: UCD-SNMP-MIB::systemStats memSwapError wrongs values?

2006-01-24 Thread Andre Heine
Hi Dave, Am Dienstag, 24. Januar 2006 10:40 schrieben Sie: [...] Any hints? Please try the current releases (5.2.2 and/or 5.3.0.1) and report back. Ok, I try the 5.2.2 or the 5.3. The problem is, I must patch the source with some HP patches... This take some time and is very ugly...

Re: UCD-SNMP-MIB::systemStats memSwapError wrongs values?

2006-01-24 Thread Dave Shield
On Tue, 2006-01-24 at 14:12 +0100, Andre Heine wrote: Ok, I try the 5.2.2 or the 5.3. The problem is, I must patch the source with some HP patches... Are these patches that could usefully be applied to the main Net-SNMP code? Or are they not freely distributable? Or have they already been

Re: UCD-SNMP-MIB::systemStats memSwapError wrongs values?

2006-01-24 Thread Andre Heine
Hi Dave, Am Dienstag, 24. Januar 2006 14:23 schrieb Dave Shield: On Tue, 2006-01-24 at 14:12 +0100, Andre Heine wrote: Ok, I try the 5.2.2 or the 5.3. The problem is, I must patch the source with some HP patches... Are these patches that could usefully be applied to the main Net-SNMP

Re: UCD-SNMP-MIB::systemStats memSwapError wrongs values?

2006-01-24 Thread Thomas Anders
Andre Heine wrote: They have some own agent, for managing the server-hardware... Could you please expand on what *exact* package you're referring to? In case you're speaking about support packages for HP ProLiant servers, please note that HP does *not* ship their own agent anymore. PSP 7.40

implementing tables in subagent

2006-01-24 Thread Alexander Kotelnikov
Hello. I am a bit puzzled with libsnmp modules (table, table_iterator, table_data, table_dataset, table_array), desined for tables implementation. Hope it is ok to ask an advise here: which of these modules are convenient to be used to store tables if: 1. data in rows stored initially can be

Re: UCD-SNMP-MIB::systemStats memSwapError wrongs values?

2006-01-24 Thread Andre Heine
Hi Thomas, Am Dienstag, 24. Januar 2006 15:53 schrieb Thomas Anders: Andre Heine wrote: They have some own agent, for managing the server-hardware... Could you please expand on what *exact* package you're referring to? In case you're speaking about support packages for HP ProLiant

mibII modules

2006-01-24 Thread [EMAIL PROTECTED]
Hi, I'm new to net-snmp. Is it possible, using --with-out-mib-modules to remove from the agent a module of mibII? I want to implement mibII/ip in my subagent. But if I remove this module from the master agent during configure I receive an error saying that it is required by mibII. Furthermore

Re: mibII modules

2006-01-24 Thread Dave Shield
On Tue, 2006-01-24 at 14:08 +0100, [EMAIL PROTECTED] wrote: I'm new to net-snmp. Is it possible, using --with-out-mib-modules to remove from the agent a module of mibII? I want to implement mibII/ip in my subagent. But if I remove this module from the master agent during configure I

snmpCommunityTable bypassed ?!

2006-01-24 Thread Makavy, Erez (Erez)
It seems that i can access the net-snmp agent with SNMPv1 read community, while my snmpCommunityTable is empty! ( I see in the debug printouts, that VACM view was found) 1) how can it find a view if the community was not converted to securityName? (since the table is empty) Thanks Erez.

Does Net-SNMP support the snmpCommunityMIB ?

2006-01-24 Thread Makavy, Erez (Erez)

Can't get clientaddr to work..

2006-01-24 Thread Michael Galea
Hi, I am looking for a way to do cause all SNMP traps generated by my device (running net-SNMP 5.2.1.2 on Debian) to use a specific IP address as the trap source in the trap message. I have followed other threads that reccommend adding the clientaddr command to snmp.conf, but have been

agent is not responding

2006-01-24 Thread Li Juen Hwang
Hi, I am using net-snmp-5.2.1 to buid an snmp agent. The source code of my agent was created by running mib2c on my MIB files with mib2c.scalar.conf and mib2c.iterate_access.conf. The binary code of my agent is linked with the snmp libraries of net-snmp-5.2.1. I placed

Re: Does Net-SNMP support the snmpCommunityMIB ?

2006-01-24 Thread Thomas Anders
Erez, would you mind to have a look at the mailing list archives and/or existing documentation (like README.agent-mibs) before flooding the list with questions? Like has been said many times before: no, net-snmp does not support the SNMP-COMMUNITY-MIB. +Thomas -- Thomas Anders

Re: Can't get clientaddr to work..

2006-01-24 Thread Thomas Anders
Michael Galea wrote: I have followed other threads that reccommend adding the clientaddr command to snmp.conf, but have been unsucessfull at geting that to work. Run snmpd with -Dread_config and verify that it is reading your config file and parses the token correctly. What's your exact

Re: Bad engine ID value after -e flag

2006-01-24 Thread Thomas Anders
Eugen wrote: trapsess -e 0x0102030405 -v 3 -u myuser -a MD5 -A my_password -l authNoPriv localhost Try without the double quotes. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --- This SF.net email is sponsored by: Splunk

RE: Bad engine ID value after -e flag

2006-01-24 Thread Eugen
Hi Thomas, Without double quotes there is no error message indeed but the traps are not intercepted by snmptrapd. I've put the double quotes because there are also generated by snmpconf. However if I send v2 traps with the directive trap2sink localhost it works. Thanks, Eugen -Original

Re: Bad engine ID value after -e flag

2006-01-24 Thread Thomas Anders
Eugen wrote: Without double quotes there is no error message indeed but the traps are not intercepted by snmptrapd. Receiving with snmptrapd is a different story. Did you read the tutorial on SNMPv3 notifications? http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html

RE: enable-debugging

2006-01-24 Thread Eugen
Thanks Thomas! Eugen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Anders Sent: Tuesday, January 24, 2006 4:26 PM To: Net-snmp-users@lists.sourceforge.net Subject: Re: enable-debugging Eugen wrote: Could the agent complied with the option

RE: Bad engine ID value after -e flag

2006-01-24 Thread Eugen
Thomas, By mistake I've send the previous message to you only. I'm sorry! I'm sending it again to everyone... Yes, and using that instructions I was able to send v3 traps using sendtrap tool, as I've described in my original email. The same snmpcmd like parameters for trapsess I suppose should

Re: Bad engine ID value after -e flag

2006-01-24 Thread Thomas Anders
Eugen wrote: Yes, and using that instructions I was able to send v3 traps using sendtrap tool, as I've described in my original email. The same snmpcmd like parameters for trapsess I suppose should tell the agent to generate the same kind of traps but for some reason it seams that they are