Re: net-snmp 5.4.1 on RHEL 4u5 gives error: error on subcontainer 'ia_addr' insert (-1)

2007-11-02 Thread Sharad Chandra
I have gone through similar problem once > error on subcontainer 'ia_addr' insert (-1) ia_addr is name of your container, this arises when you have registered same index twice byse_add_pair_to_slist and trying to insert. > error on subcontainer '' insert (-1) same as above but this ti

Re: passing format to traphandle

2007-11-02 Thread Thomas Anders
Terry wrote: > dssslaportableRequest NOTIFICATION-TYPE > STATUS current > DESCRIPTION > "DS-Client requested a Portable DS-System" > ::= { dssslaTraps 3 } > > I want to pass on the description, "DS-Client requested a Portable > DS-System" in this case, to my traphandle someho

question about agentx configure file

2007-11-02 Thread Shawn_He
Hi Dave, For an agentX related mib file, does netsnmp supports dynamic loading of that mib file with the start of the agentx without restarting the master agent, which I supposes means that if the agentx subagent supports a configure file that identifies its mib file location? Or the master age

RE: snmptrapd's problem

2007-11-02 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Angie Cao > Sent: Friday, November 02, 2007 10:10 AM > As a matter of fact, as mentioned in the first email, if I run same > command from localhost (which snmptrapd is running), the traps were > received properly. I do not kno

Preserving original IP address when using snmptrapd forward directive

2007-11-02 Thread John Belamaric
Hello, I have several machines set up to receive traps. Machine A is set up to forward traps received to machine B with this directive in snmptrapd.conf: forward default udp::162 When traps are received on both machines, they are also logged to a file. On machine A, the %a, %A, %b, and

Re: passing format to traphandle

2007-11-02 Thread Terry
On Nov 1, 2007 5:06 PM, Terry <[EMAIL PROTECTED]> wrote: > Hello, > > I want to pass the format2 output to traphandle somehow. Here is my > snmptrapd.conf: > > format1 "%B" > traphandle SNMPv2-SMI::enterprises.15538.1.4.0.100 /usr/bin/script $string > > I want $string to contain whatever the forma

Re: Snmptrap help

2007-11-02 Thread Dave Shield
On 02/11/2007, Koaps <[EMAIL PROTECTED]> wrote: > Problem is, the IBM hardware doesn't have an area to > specify the engineID, so the trap it sends fails with: > > snmp_parse: Parsed SNMPv3 message (secName:myuser, > secLevel:authNoPriv): USM unknown security name (no > such user exists) An SNMPv3

Re: snmptrapd's problem

2007-11-02 Thread Angie Cao
Yes it is located in /usr/share/snmp/mibs/ . As a matter of fact, as mentioned in the first email, if I run same command from localhost (which snmptrapd is running), the traps were received properly. I do not know why snmptrapd does not translate the traps receiving from remote boxes. Angie On 1

Snmptrap help

2007-11-02 Thread Koaps
Hello all, I'm trying to setup snmptrapd on a linux server to catch traps from IBM hardware. I'm having a hell of time getting this to work. After much google'n around and testing I was finally able to send a trap to localhost on the server and write the trap to a file using this command: snmptr

snmptrapd's problem

2007-11-02 Thread Angie Cao
Hi, I have a bit problem with snmptrapd demon running on RHEL4/net-snmp 5.1.2. The trouble I found with snmptrapd running "-Lf /var/log/snmptrap.log -d" option is: It received and translate the traps fine if it's from localhost. For example, the debug log show as below: -

Re: enable network interface

2007-11-02 Thread prashant
Hi, I did the edited the /etc/snmp/snmp.conf and update the line viewsystemviewincluded .1.3.6.1.2.1.1 to viewsystemviewincluded .1.3.6.1.2.1 And its working now.. i get the interface name and statistics. Cheers, Prashant Dave Shield wrote: On 02/11/2007, prashant <[E

enable network interface

2007-11-02 Thread prashant
Hi All I have snmp install on a linux box. How can i extend the the config to enable network interface (eth0) monitoring. Cheers, Prashant - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files t

Re: about session.peername

2007-11-02 Thread Dave Shield
On 02/11/2007, HongGuo Liu <[EMAIL PROTECTED]> wrote: >I run snmpd at the local machine,and when > session.peername = "127.0.0.1" the get procedure can get > the value correctly but when session.peername = "192.168.17.42" > (my localhost's IP) it's timeout,why? What are the access control sett

Re: enable network interface

2007-11-02 Thread Dave Shield
On 02/11/2007, prashant <[EMAIL PROTECTED]> wrote: > I have snmp install on a linux box. > How can i extend the the config to enable network interface (eth0) > monitoring. How have you configured the access control on the agent? What can you currently see? Try walking the 'interface' subtree - do

Re: help~

2007-11-02 Thread Dave Shield
On 02/11/2007, HongGuo Liu <[EMAIL PROTECTED]> wrote: > Actually,i want to broadcast a pdu to get the instance of > RFC1213-MIB::sysDscr.0 object.But when i broadcast the pdu there is no > response. > And my broadcast procedure has no problem via testing carefully.What's wrong > with the agent

about session.peername

2007-11-02 Thread HongGuo Liu
hi, I run snmpd at the local machine,and when session.peername = "127.0.0.1" the get procedure can get the value correctly but when session.peername = "192.168.17.42"(my localhost's IP) it's timeout,why? And when session.peername = "255.255.255.255" it display:"No log handling enabled - turni

May be of your concern

2007-11-02 Thread Sharad Chandra
Hi Guys, I have attached 2 files Dump, code generated by mib2c and modified. If i call storageStatusTable_cache_load function without using pthread library, net-snmp just exit without saying anything and no code dump while travelling the table, snmpwalk gives me expected result first T