Compile issues

2006-01-18 Thread Javier Torres
Hello, I am currently trying to compile version 5.2.1.1 on a FC2 machine and on cygwin. I have gotten an error it asks to send in to the list so here it is: configure: WARNING: winsock.h: present but cannot be compiledconfigure: WARNING: winsock.h: check for missing prerequisite header

Re: Delegated handlers

2006-01-18 Thread Magnus Fromreide
On Wed, Jan 18, 2006 at 02:38:11PM -0500, Robert Story wrote: > On Wed, 18 Jan 2006 20:21:29 +0100 Magnus wrote: > MF> It seems that delegated handlers that return ENDOFMIBVIEW as response to > MF> a GETNEXT request won't trigger any further advancement in the registry so > MF> they might end up re

Re: Delegated handlers

2006-01-18 Thread Robert Story
On Wed, 18 Jan 2006 20:21:29 +0100 Magnus wrote: MF> It seems that delegated handlers that return ENDOFMIBVIEW as response to MF> a GETNEXT request won't trigger any further advancement in the registry so MF> they might end up returning a false ENDOFMIBVIEW (or, in some cases, an MF> NOSUCHOBJECT o

Delegated handlers

2006-01-18 Thread Magnus Fromreide
Hello! It seems that delegated handlers that return ENDOFMIBVIEW as response to a GETNEXT request won't trigger any further advancement in the registry so they might end up returning a false ENDOFMIBVIEW (or, in some cases, an NOSUCHOBJECT or NOSUCHINSTANCE) Is this all intentional? What would be

Fw: SECURITY FIX: net-snmp 5.3.0.1 is released

2006-01-18 Thread Robert Story
For those who aren't subscribed to the net-snmp-announce list: Begin forwarded message: Date: Fri, 13 Jan 2006 19:25:27 -0800 From: Wes Hardaker <[EMAIL PROTECTED]> To: [email protected] Subject: SECURITY FIX: net-snmp 5.3.0.1 is released In version 5.3 much of the author

Re: sysUpTime

2006-01-18 Thread Dave Shield
On Wed, 2006-01-18 at 19:11 +0530, Suma C wrote: > For Linux , heres wt I have done : [snip] > Have tested it on my system(FC1 2.6.9 ) for sysUpTime Tested in what way? What *exactly* did you test - what did you expect to see, and what did you actually see? What sorts of time-shift have

Re: Ethernet Mib

2006-01-18 Thread Dave Shield
On Wed, 2006-01-18 at 04:25 -0600, Dey, Rajnish wrote: > Is there any MIB to check Ethernet packets Yes - the EtherLike-MIB. See RFC 3635 > in Net-SNMP? No. The Net-SNMP agent does not implement this MIB. Dave --- This SF.net emai

Re: sysUpTime

2006-01-18 Thread Suma C
For Linux , heres wt I have done : snmp_vars.c : long my_starttime; int init_agent(const char *app) { int r = 0; /* * get current time (ie, the time the agent started) */ gettimeofday(&starttime, NULL); starttime.tv_sec--; starttime.tv_usec += 100L;

Ethernet Mib

2006-01-18 Thread Dey, Rajnish
Hi All,   Is there any MIB to check Ethernet packets in Net-SNMP?   Thanks, Rajnish

converting snmpv2 trap to snmpv3 trap

2006-01-18 Thread Ravi, Rajagopal Shanmugam (Rajagopal Shanmugam)** CTR **
Hi, As net-snmp have a proxy to convert snmpv2 requests to snmpv3 requests and vice versa, do they have a directive to convert snmpv2 trap to snmpv3 trap? Thanks & regards, Ravi R.S --- This SF.net email is sponsored by: Splunk Inc. Do you gre

Re: sysUpTime

2006-01-18 Thread Dave Shield
On Wed, 2006-01-18 at 15:18 +0530, Suma C wrote: > The function get_uptime is in snmplib/system.c No wonder I couldn't find a system man page for it! OK - checking the logs, 'get_uptime()' seems to go back to the very start of the UCD-SNMP project, and is part of the code we inherited from CMU.

Re: sysUpTime

2006-01-18 Thread Suma C
The function get_uptime is in snmplib/system.c Its usage is in apps/snmptrap.c and agent/mibgroup/host/hr_system.c and thanks for considering the mail Regards Suma PS : the code: /* * Returns uptime in centiseconds(!). */ long get_uptime(void) { #if !defined(solaris2) && !defined(linux)

Re: sysUpTime

2006-01-18 Thread Dave Shield
On Mon, 2006-01-16 at 15:01 +0530, Suma C wrote: > Can we use the /proc/uptime or even better the library function : > get_uptime . A library function like that would certainly be an idea. But the big question is how portable it would be. Remember that the Net-SNMP suite runs on a wide variet