RE: Changing Date & Time affects trap forwarding !

2007-04-16 Thread Devi U
Hi, Sorry for posting again & again.. Below lines is the exact fix given. 314 /* Fix given to handle the time change 315 to past time */ 316 if((t_diff.tv_sec > sa_ptr->t.tv_sec) || 317 ((t_diff.tv_sec == sa_ptr->t.tv_

Re: Re: SNMP: TImeOut Problem

2007-04-16 Thread Peeyush Bishnoi
Thanxs Dave for addressing my problem. SNMPGET Which i am shooting on Router is snmpget -v1 -c SiLsnmpRO 10.11.2.5 sysDescr.0 Correct output is coming. Code File Name: Attached with this mail. ./demo 10.11.2.5 SilsnmpRO I have attached the tar file with this mail . Which has demo.c & Makefile

Changing Date & Time affects trap forwarding !

2007-04-16 Thread Devi U
Hi, In net-snmp version 5.3.0.1, when system date/time is changed, then the traps are not forwarded. We have used snmp_alarm_register_hr() with SA_REPEAT flag for forwarding traps every 100msec. With the following fix in snmplib/snmp_alarm.c open souce code, it is working fine. 281

Changing Date & Time affects trap forwarding !

2007-04-16 Thread Devi U
Hi, In net-snmp version 5.3.0.1, when system date/time is changed, then the traps are not forwarded. We have used snmp_alarm_register_hr() with SA_REPEAT flag for forwarding traps every 100msec. With the following fix in snmplib/snmp_alarm.c open souce code, it is working fine. 281

Re: Re :Re: Please help me - SNMP - LINUX

2007-04-16 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 13 A

Re: Indexing...

2007-04-16 Thread Dave Shield
On 16/04/07, Senthil Nathan <[EMAIL PROTECTED]> wrote: > Regarding this position style loop context,the index of the table generated > by me . Pls any one ,help us , how to generate the simple index other than > position style loop context. It's not clear to me exactly what you mean by this. But

OID manquants

2007-04-16 Thread bass hamdi
Bonjour,je travaille sur SNMP dans le cadre d'un projet de fin d'etudes, mon probleme c'est que la MIB de mon agent SNMP ne contient que peut d'IOD valides,les autres sont soit vides ou inexistants.meme les OIDqui fonctionnent(SysUPTime et SysDescr, et quelques autres), j'étais obligé de les ra

Re: SNMP: TImeOut Problem

2007-04-16 Thread Dave Shield
On 13 Apr 2007 12:46:26 -, Peeyush Bishnoi <[EMAIL PROTECTED]> wrote: > I have developed the small code in C using Net-SNMP API's for fetching > the OID data from CISCO 3750 router . But each time when i run the code it is > giving output "TimeOut" . But not the output intended. > > But sam

RE: Compiler Issues Net-SNMP in Windows/Cygwin

2007-04-16 Thread Naylor, Mark
Hello Larry, I had the same problem a while back. I do not know if net-snmp or cygwin is at fault, but this is how I fixed it. Go to the file w32api/winsock.h and find the line that looks something like . int PASCAL gethostname(char*,int); . and put an ifdef around it. #ifndef HAVE_SYS