Re: server reboot and got four same trap messages in snmptrapd handle

2005-06-09 Thread mobby lin
I built from local kit, then built a runtime net-snmp, then copy to remote net-snmp client on all Solaris OS,   Only one trapsink to remote IP,   trapsink  172.30.12.xxx  trapcommunity  xxxpublic   Mobby.   Dave Shield <[EMAIL PROTECTED]> wrote: On Thu, 2005-06-09 at 10:36, mobby lin wrote:

server reboot and got four same trap messages in snmptrapd handle

2005-06-09 Thread mobby lin
When I run snmptrapd -f -Le, and my client does reboot the Solaris server, then my Solaris net-snmp 5.2.1 console will get the messages below. "2005-06-09 16:14:39 Portal-OF-xxx [UDP: [172.30.12.xxx]:-32748]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (109) 0:00:01.09 SNMPv2-MIB::snmpT

My net-snmp distributed kit

2005-05-24 Thread mobby lin
I use Net-SNMP 5.2.1 in Solaris 9 environment. I use configure with module "host" mib to build my private kit and will copy to my snmp clients.   Configure OK, make OK, when "make test" will get test 47, tcpoutstring error. Then I do "make install /myprivate directory", and can only small part of

SNMP TrapReceiver fail

2005-05-19 Thread mobby lin
AIL PROTECTED]> wrote: > Hi, > > look at the CVS in: > http://cvs.sourceforge.net/viewcvs.py/net-snmp/net-snmp/perl/TrapReceiver/ > > and for the example look at the man page of TrapReceiver (after > installing net-snnp configured with embedded_perl support ): > > ma

Re: SNMP Trap API required

2005-05-18 Thread mobby lin
Would you point me which example files I can refer, and how to compiler/use it? thanks,.   How to use handler perl module in C program or perl program?   Thanks.   MobbyHugo Ca蔞te <[EMAIL PROTECTED]> wrote: Hi,Why don't try to use the TrapReceiver perl module?? If you compile the net-snmp package w

SNMP Trap API required

2005-05-17 Thread mobby lin
I need to used snmp-trap function to receive some trap/information messages, then run a external command to process the messages.   I try to understand the source file of snmptrapd in the net-snmp 5.2.1. To me, this is a little complex to understand the whole coding. Specially I trace the snmptrapd

Creating my own Net-SNMP binaries

2005-05-17 Thread mobby lin
I had used net-snmp source to build my Solaris net-snmp binary kit. Now I try to build a runtime binary kit from this kit in order to remote install to many net-snmp clients.   From the Readme.solaris document from www.net-snmp.org, ther are some guide as below   >Create an empty directory such as