persistent data

2009-12-16 Thread Khoa Nguyen
Hi, I've just used the data_set.c example to create some sample rows in netSnmpIETFWGTable. After that, I used snmpset to create some new rows -- This SF.Net email is sponsored by the Verizon Developer Community Take

Re: Precise time in traps

2009-12-16 Thread Dave Shield
2009/12/15 Christopher Nelson chris.nelson.1...@gmail.com: If I have two systems running PTP (precision time protocol) which send traps to a third system, should I expect that the times in the traps when the server sees them are fairly accurate and coordinated and allows me to tell which

Regarding net-snmp5.5 segmentation fault

2009-12-16 Thread indira
Hi sir, I have installed net-snmp5.5. The core is dumped and it pointing ip-mib/ipAddressTable/ipAddressTable_data_access.c. And I am copying the trace here. #0 ipAddressTable_container_load (container=0x80cc788) at ip-mib/ipAddressTable/ipAddressTable_data_access.c:347 347

snmptrapd - how to redirect startup errors to /dev/null

2009-12-16 Thread Wojciech Dudys
Hi, I'm using snmptrapd to log traps to file. The problem is that I have a lot of Cisco MIBs that cause errors on snmptrapd start. Unfortunately those errors are logged in the same file that traps are. Now it looks like that: snmptrapd -A -Lf /var/traps -p /var/run/snmptrapd.pid i tried

Re: Precise time in traps

2009-12-16 Thread Christopher Nelson
If I have two systems running PTP (precision time protocol) which send traps to a third system, should I expect that the times in the traps when the server sees them are fairly accurate and coordinated and allows me to tell which trapped event happened first?  Or is the time in the traps

RE: Precise time in traps

2009-12-16 Thread Mike Ayers
From: Christopher Nelson [mailto:chris.nelson.1...@gmail.com] Sent: Wednesday, December 16, 2009 4:48 AM No doubt I could create a PTP-based trap but I was thinking of things like cold start and link up. Sounds like I don't gain anything in trap analysis by having highly-coordinated clocks.

Compiling net-snmp-5.4.2.1 fails for -lperl libraries

2009-12-16 Thread Lisa Tondon
Hello- I was cross compiling net-snmp-5.4.2.1 for powerpc-linux. The compilation fails for -lperl libraries /opt/eldk41/usr/bin/../lib/gcc/powerpc-linux/4.0.0/../../../../powerpc-linux/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving

Re: Compiling net-snmp-5.4.2.1 fails for -lperl libraries

2009-12-16 Thread Thomas Anders
Lisa Tondon wrote: I was cross compiling net-snmp-5.4.2.1 for powerpc-linux. The compilation fails for -lperl libraries [...] Am I missing anything here. Do I need to enable perl in the configure option? Does your cross-compilation environment include Perl? If not, try disabling it using

the snmptrap port

2009-12-16 Thread karl
Hi: I had to send a snmptrap to a specific port at the Target Computer. I use the net-snmp API int snmp_send( struct snmp_session * session,struct snmp_pdu * pdu ), and set the session.remote_port to 1162; But in fact the packet was still send to the port 162 at the Target Computer.

Re: trapsink with variable ip destination

2009-12-16 Thread majid namnabat
Do not attempt to access snmpTargetAddrTable from the inside. Are you trying to change trap destinations from your subagent? Yes, In my corporation they take an object IP address in their MIB for the trap destination. This field must set by NMS Server. So I must add trap destinations