SNMP Trap Server Plugin Handler Error

2006-03-10 Thread Jacky Chan
Hi,   I have written a Trap Handler to process the incoming TRAP and then forward to other NMS. From the NMS log, I found some error about the datagram socket…. 20060306    162007      SNMP Trap Server Plugin Handler Error: A message sent on a datagram socket was larger than the internal

Net_SNMP_util.pm, SNMP::Session honor ~/.snmp/snmp.conf ?

2006-03-10 Thread Brian A. Seklecki
On Wed, 8 Mar 2006, Mike Mitchell wrote: Net_SNMP_util.pm is a drop-in replacement for SNMP_util.pm, only using Net::SNMP to do the hard work instead of SNMP_Session.pm. The replacement is necessary to support SNMPv3. That said, you're not using Net::SNMP. I can tell from the at /usr/local

msgMaxSize handling not RFC compliant

2006-03-10 Thread Darren Besler
In at least v5.3.0.1 of Net-SNMP: It appears that the net-snmp code is not RFC compliant with respect to handling of msgMaxSize in SNMPv3 when the response is greater than the msgMaxSize specified in the request ... As may occur with get bulk requests. Specifically, if a request with a msgMaxSize

Handling woth traps

2006-03-10 Thread Pedro Henrique Morsch Mazzoni
Hi! I need to receive traps when some services has stoped. My snmpd.conf on "clients" (agents) is like that: rocommunity public rwcommunity private trapcommunity   public trapsink    banff.lps.ufrj.br trap2sink    banff.lps.ufrj.br syslocation lps2 syscontact  [EMAIL PR

Re: Need help using embedded perl with Solaris...

2006-03-10 Thread Jean-Sebastien Morisset
Sorry guys, Bruce kindly reminded me to read the solaris README, where this whole embedded compiling issue is explained very well. :-) Thanks, js. On Fri, Mar 10, 2006 at 12:07:42PM -0500, Jean-Sebastien Morisset wrote: > Hi everyone, > > I wrote a perl script to return various stats on specific

Need help using embedded perl with Solaris...

2006-03-10 Thread Jean-Sebastien Morisset
Hi everyone, I wrote a perl script to return various stats on specific processes. I've included the script in snmpd.conf as: pass .1.3.6.1.4.1.8072.10.1 /usr/local/share/snmp/snmp-proctable.pl Which allows me to do stuff like: # time snmpwalk -c -O s -v 2c devunix7 .1.3.6.1.4.1.8072.10

Re: snmpwalk didn't show all values!

2006-03-10 Thread Askar Kengesbayev
Hi Dave, May be I missed something but changed "exec" to "extend" and bounced service. When I tried to do #snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.2789.51 It did not show me  the output from the script! Pls can you tell what I did incorect?Also I did some experiment:1. I installed "p

snmpwalk didn't show all values!

2006-03-10 Thread Askar Kengesbayev
Hi All,Guys, I need your help.  I configured out SNMP Agent to execute script.For example:### # SECTION: Extending the Agent##   You can extend the snmp agent to have it return information#   that you yourself define.# exec: ru

Multiple OID snmpget table failure continued

2006-03-10 Thread Greg L Robillard
In order to further debug my problem with snmpget to tables, I ran thefollowing command.snmpget -v2c -D ALL -Lf debug.txt -c public localhostenterprises.103.1.9.2.5.1.2.4 enterprises.103.1.9.2.5.1.3.4enterprises.103.1.9.2.5.1.5.4With the following resultsOUtputSNMPv2-SMI::enterprises.103.1.9

Setup on windows server 2003

2006-03-10 Thread Timothy A. Holmes
Good Morning: I am running into a bit of trouble with net-snmp setup on windows 2003. I have installed the package, and the active perl package that is recommended, started the service, gone through the configuration routine, restarted the service etc. and cannot Snmpwalk the data from a remot

R: R: which mib2c conf

2006-03-10 Thread Palmentieri Nunzio
Title: Messaggio Unfortunately, in my case the number of rows could change only at start-up time.   Is it correct to re-write row's values at GET query time?Yes, I think so, because if not you will have blank rows in your mib.   I think you could do in the following way. Store the numb

snmpd.conf persistent file path.

2006-03-10 Thread sasikumar.bodathula
Title: snmpd.conf persistent file path. Hi All,    I am having doubt regarding snmpd.conf file in /var/snmp location. 1. Is net-snmp using this file for storing persistent data like v3 user name password(Encrypted form.) 2. Is this file necessary for snmpd functioning. 3. For snmpd.conf w

R: which mib2c conf

2006-03-10 Thread Palmentieri Nunzio
Title: Messaggio Hi, I did something like you have to do. I used simply mib2c, and after I choose the options as follows:   _ /home/SMSproxy/net-snmp-5.2.2/bin/mib2c pfeTable     1) ucd-snmp style code   2) Net-SNMP style code   Select y

which mib2c conf

2006-03-10 Thread hjubal
Hi, I have to develop a subagent. I'm not sure which mib2c configuration to choose. My mib contains a table and the index is an INTEGER, plus other fields. Table's entries are read-only but values have to be filled at run-time reading an external file. At first I've used "mib2c.array-user.conf". T