Traps & netlink

2006-03-06 Thread vishakha s
Hi I configured net-snmp with (--with-mib-modules= "examples/notification") .It is able to send trap as follows periodically as mentioned in tutorials 2006-03-07 11:29:00 smrutiranjan.telxsi.com [UDP: [10.9.10.195]:1076]: RFC1213-MIB::sysUpTime.0 = Timeticks: (39005) 0:06:30.05 SNMPv2-MIB::snmp T

Re: Anyone using Net-SNMP on Solaris 10

2006-03-06 Thread Keith M Wesolowski
On Wed, Mar 01, 2006 at 03:48:34PM -0500, Jean-Sebastien Morisset wrote: > If I start snmpdx by itself, I find the following ports open: > > # lsof -i -n -P | grep snmp > snmpdx25372 root4u IPv4 0xa06c1a800t0 UDP > *:16161 (Idle) > snmpdx25372 root5u

Error building ASN.1 representation

2006-03-06 Thread venkayamma dudipally
Hi, I included my own snmp handlers to the running agent on 64 bit FC4 machine. While i give the request to the agent for getting mib variable value i got the following error at snmp agent Send response : Error building ASN.1 representation (build uint size 4 : s/b 8) I run the agent with the fol

Hi i want the documentation details for snmptrapd- version 5.1

2006-03-06 Thread krishnakumar_c
Hi I need the documentation details for snmptrapd section in net-snmp 5.1 . i need the usage details for snmptrapd . please send the same. Regards Krishna --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language

How can one acknowledge informs in snmptrapd

2006-03-06 Thread shahram amini-didani
Hi, Is there a way to acknowledge informs in snmptrapd? Can one disable/enable inform acknowledgment? Package I am using is 5.1.3. Thanks in advance, Shahram Amini __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: Net-SNMP w/ Solaris 10 libseaProxy/Extensions.so doesn't work!

2006-03-06 Thread Keith M Wesolowski
On Mon, Mar 06, 2006 at 03:59:14PM -0500, Jean-Sebastien Morisset wrote: > Solaris 10 comes with Net-SNMP v5.0.9 with two dlmods defined in it's > /etc/sma/snmp/snmpd.conf: > > dlmod seaProxy /usr/sfw/lib/libseaProxy.so > dlmod seaExtensions /usr/sfw/lib/libseaExtensions.so > > These work fine w

Re: snmpget multiple oid to table

2006-03-06 Thread Greg L Robillard
I am using a loop to work through the request within the handler.for(request = requests; request; request = request->next)I am not certain how to answer you other questions.How have you implemented the tables? Old or new API?Which table framework?- Original Message - From: "Dave Shield

Net-SNMP w/ Solaris 10 libseaProxy/Extensions.so doesn't work!

2006-03-06 Thread Jean-Sebastien Morisset
Hi everyone, Solaris 10 comes with Net-SNMP v5.0.9 with two dlmods defined in it's /etc/sma/snmp/snmpd.conf: dlmod seaProxy /usr/sfw/lib/libseaProxy.so dlmod seaExtensions /usr/sfw/lib/libseaExtensions.so These work fine with the original Net-SNMP, but when I try to run the same config with Net-

snmptable takes a long time to retrieve the data

2006-03-06 Thread Li Juen Hwang
Hi, i built my table with mib2c and mib2c.iterate_access.conf. my handler routine include a loop to work through the "requests" list. i placed my routine of table-retrieving in _get_first_data_point(). snmptable gets the table correctly but it takes a long time to do it, e

Missing OID?

2006-03-06 Thread Jean-Sebastien Morisset
Hi everyone, I'm using Net-SNMP v5.3.0.1 on several versions of Solaris (2.6->10) and trying to build a CPU graph with rrd (in OpenNMS), but Net-SNMP isn't returning one of the required IODs: # snmpwalk -m ALL -c -O s -v 2c gessolx1 .1.3.6.1.4.1.2021.11.51 ssCpuRawNice = No Such Object a

Re: compile netSnmpHostsTable

2006-03-06 Thread winston smith
it doesn't matter! i've solved the problem compiling netSnmpHostsTable*.c with:   gcc -I. `net-snmp-config --cflags` -fPIC -c and linking with:   gcc `net-snmp-config --libs` `net-snmp-config --agent-libs` -shared -o netSnmpHostsTable.so netSnmpHostsTable.o netSnmpHostsTable_access.o netSnm

RE: snmpset is failing on usmDHParameters.0 OID

2006-03-06 Thread kanakamahesh.anasuri
Title: RE: snmpset is failing on usmDHParameters.0 OID Hi Dave, Prime: C90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74 020BBEA63B139B22514A08798E3404DD EF9519B3CD3A431B302B0A6DF25F1437 4FE1356D6D51C245E485B576625E7EC6F44C42E9A63A3620 Base: 2 I think length(

RE: snmpset is failing on usmDHParameters.0 OID

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 17:21 +0530, [EMAIL PROTECTED] wrote: > I really appreciate If you could provide some valid input value to > this OID. Well, what are the 'prime', 'base' and 'private' values that you are wanting to set? > > > > usmDHParameters OBJECT-TYPE >

RE: snmpset is failing on usmDHParameters.0 OID

2006-03-06 Thread kanakamahesh.anasuri
Title: RE: snmpset is failing on usmDHParameters.0 OID Dave, I really appreciate If you could provide some valid input value to this OID. Thanks Mahesh -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED]] Sent: Mon 3/6/2006 4:53 PM To: Mahesh Anasuri (WT01 - Broadband N

Re: 5.1.4.rc1 available for testing.

2006-03-06 Thread Dave Shield
On Tue, 2006-02-28 at 06:41 -0800, Wes Hardaker wrote: > we're going to be releasing 5.1.4 > in the near future and this will likely be the last release in the > 5.1.X series. Wes, I gave this release a quick whirl over the weekend, and it seemed fine. But it ne

Re: snmpset is failing on usmDHParameters.0 OID

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 16:28 +0530, [EMAIL PROTECTED] wrote: > the object defintions as follows > > > usmDHParameters OBJECT-TYPE > DESCRIPTION > "This is encoded as an ASN.1 > DHParameter per PKCS #3, section 9. E.g. > > DHParameter ::= SE

Re: Make file problem

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 16:26 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: > If I give the command make msdTrapd it gives the: make *** No rule to > make target `msdTrapd.o', needed by `msdTrapd'. Stop. Problem is > comming. > > My mib2c generated code name is msdMIBEvents.c abd msdMIBEv

Re: Which API is used for sending the snmpv3 trap

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 16:32 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: > If I generate the code for notification using the mib2c tool by default > mib2c gives send_V2trap API for sending the traps. My question is can I > make use same API for generating the snmpv3 traps or any other AP

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 16:25 +0530, vishakha s wrote: > what does this Broken pipe means .. Probably that you have a "traphandle" directive that isn't correct. Either it refers to a program that doesn't exist, or this program is exiting before it has read all the input. Either of these are likely

Which API is used for sending the snmpv3 trap

2006-03-06 Thread Ramachandrappa, Nataraju Karidasarahalli
Hello Team, If I generate the code for notification using the mib2c tool by default mib2c gives send_V2trap API for sending the traps. My question is can I make use same API for generating the snmpv3 traps or any other API I have to use. Thanks in advance. Thanks nataraju

snmpset is failing on usmDHParameters.0 OID

2006-03-06 Thread kanakamahesh.anasuri
Title: snmpset is failing on usmDHParameters.0 OID Hi, I need your help regarding the snmp-set operation against the scalar OID usmDHParameters.0 This OID is defined in SNMP-USM-DH-OBJECTS-MIB.txt and the object defintions as follows usmDHParameters OBJECT-

Make file problem

2006-03-06 Thread Ramachandrappa, Nataraju Karidasarahalli
Hello Dave, I had created the makefile with the following content. CC=gcc OBJS1=msdTrapd.o msdMIBEvents.o TARGETS=msdTrapd msdTrapd.o msdMIBEvents.o CFLAGS=-I. `net-snmp-config --cflags` BUILDLIBS=`net-snmp-config --libs` BUILDAGENTLIBS=`net-snmp-config --agent-libs` # shared library flags (a

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread vishakha s
Thanks a lot for so much of help and patience from your side . After running the following command ./snmptrap -v 1 -c public 10.9.10.195 TRAP-TEST-MIB::demotraps 10.9.10.195 2 0 '' 1.3.6.1.2.1.2.2.1.1 i 1 i am getting the following results :1048) TRAP, SNMP v1, community public TRAP-TEST-

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 16:05 +0530, vishakha s wrote: > MIBS directory should be /home/rajesh/net-snmp-5.2.1.2/mibs. > How can i change this path which it is taking . Set the MIBDIRS environmental variable. Dave --- This SF.Net email is sponso

Re: How to write make file

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 13:10 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: > I have generated the code for our mib using the mib2c tool. Now I want > to compile the code using the make file. How do I write the make file. If you are going to include this module directly within the main Net-

Re: Snmpv3 traps

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 10:52 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: > What are all the things I have to consider for generating the snmpV3 > traps. Please read the tutorial web page on this topic: http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html Dave ---

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread vishakha s
It is mounted locally . I checked /home/rajesh/net-snmp-5.2.1.2/agent/mibs .This mibs directory is not there .MIBS directory should be /home/rajesh/net-snmp-5.2.1.2/mibs.How can i change this path which it is taking . -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Mo

Re: snmpget multiple oid to table

2006-03-06 Thread Dave Shield
On Sat, 2006-03-04 at 07:44 -0800, Greg Robillard wrote: > When I snmpget the table using one command line > snmpget -v2c -c public localhost enterprises.103.1.9.2.5.1.2.4 > enterprises.103.1.9.2.5.1.3.4 enterprises.103.1.9.2.5.1.5.4 > > My first oid returns the proper value, the second an third r

RE: Timeout: No Response after output of last OID

2006-03-06 Thread Dave Shield
On Sat, 2006-03-04 at 11:27 +0530, Ajay Hotchandani wrote: > > What happens if you try > > snmpwalk -v 2c -t 60 -c public localhost .1.3.6.1.6 > > ? (to give the agent more time to respond) > > Same output: > "Timeout: No Response from localhost" OK - so it's probably not simply the agen

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 15:24 +0530, vishakha s wrote: > i am in the root directory and running all command as a superuser OK - Can you now answer the other questions below: > > parse-mibs: cannot open MIB directory > > /home/rajesh/net-snmp-5.2.1.2/agent/mibs > > What are the o

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread vishakha s
i am in the root directory and running all command as a superuser -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 3:17 PM To: vishakha s Cc: 'Net-Snmp-Users (E-mail)' Subject: RE: SNMPTRAP (Trap-Test-Mib) On Mon, 2006-03-06 at 10:38 +0530, vis

RE: SNMPTRAP (Trap-Test-Mib)

2006-03-06 Thread Dave Shield
On Mon, 2006-03-06 at 10:38 +0530, vishakha s wrote: > parse-mibs: Scanning directory /home/rajesh/net-snmp-5.2.1.2/agent/mibs > parse-mibs: No index > parse-mibs: cannot open MIB directory > /home/rajesh/net-snmp-5.2.1.2/agent/mibs > What may be the problem ?? Well, the entries