Re: Again example-daemon in win32

2004-11-15 Thread Andres C
Hello Robert, From: Robert Story (Coders) <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "Andres C" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: Again example-daemon in win32 Date: Mon, 15 Nov 2004 18:51:30 -0500 On Tue, 09 Nov 2004 22:54:22 -0500 Andres wrote: AC> Is there a way tu

How shd i generate agentX subagent code using mib2c

2004-11-15 Thread Ravi
hi.. I want to know how can i generate agentX subagent code using mib2c? Thank you --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational techn

Re: PATCH: OID encoding display for iNetAddress

2004-11-15 Thread Coders
On Thu, 11 Nov 2004 13:43:42 -0800 Fong wrote: FT> I have a problem to get this updated patch from Net-SNMP site. In the FT> following link, I tried to click "Download", it gives the file in some FT> html format, which is hard to see the code (no line break). Could you FT> please, send me one or te

Re: SNMP v5.2 rc3 problem

2004-11-15 Thread Coders
On Thu, 11 Nov 2004 02:52:59 -0800 (PST) Mohammed wrote: MS> I am using net-snmp v5.2 rc3 on a solaris box with a MS> number of IP addresses. Using a basic configuration MS> the daemon listen on port 161 on all address as MS> expected. MS> MS> However, when the daemon start it sends a coldstart M

Re: Again example-daemon in win32

2004-11-15 Thread Coders
On Tue, 09 Nov 2004 22:54:22 -0500 Andres wrote: AC> Is there a way tu turn off the message printing no such file? Not until we figure out why it is being printed. AC> I have no windows snmp installed. The snmpd demon is not running. When I AC> run snmpd daemon, no error comes up, it works like a

Re: Problem to display OID (Index out of range)

2004-11-15 Thread Coders
On Thu, 11 Nov 2004 14:59:21 -0800 Fong wrote: FT> I found the problem but don't know where to fix it. FT> Since NetAddress is defined as OCTET (0, 255), in _add_strings_to_oid(), FT> it is treated as TYPE_OCTETSTR. So, the first OID of NetAddress is used FT> as length of the string. That's why it

Re: Problem to display OID (Index out of range)

2004-11-15 Thread Coders
On Thu, 11 Nov 2004 17:25:43 -0800 Fong wrote: FT> I make it to be able to snmpget/snmpwalk the OID. However, when I do FT> snmpset, it gives me FT> "Error in packet. FT> Reason: notWritable (that object does not support modification) FT> Failed object: FT> F5-BIGIP-LOCAL-MIB::ltmVirtualAddrEnable

Re: snmp bogus ethernet traffic values

2004-11-15 Thread Coders
On Thu, 11 Nov 2004 20:18:08 + Peter wrote: PF> I am using Centos 3.3, with a 2.4.20-30.9 kernel on an Amd Opteron box. Is this a 64bit machine? There are known issues with interfaces counters on 64bit Linux machines. -- Robert Story; NET-SNMP Junkie Archive:

Re: API to get source & community info

2004-11-15 Thread Coders
On Wed, 10 Nov 2004 17:33:37 -0800 Fong wrote: FT> Unfortunately, I am using old-api. Wes' idea would still work for you, as the old api does have a higher level wrapper using the new api. FT> Even using a table handler, if I need these information in the subagent FT> (not master agent), it may s

Re: error make in net-snmp 5.2 rc3

2004-11-15 Thread Coders
On Wed, 10 Nov 2004 09:04:34 +0700 son wrote: SJ> anyway how i patch net-snmp 5.2.rc3 with your patch You should be able to cd to the source directory, and then patch -p0 < FILENAME -- Robert Story; NET-SNMP Junkie Archive:

Re: Loading startup rows

2004-11-15 Thread Coders
On Fri, 5 Nov 2004 11:29:19 + [EMAIL PROTECTED] wrote: RRP> The netsnmp_index i'm passing to creat_row is something like (i confirmed RRP> it in a mail on this list): RRP> RRP> netsnmp_index net_idx; RRP> net_idx.oids = (oid *)&intCurField; RRP> net_idx.len = sizeof(intCurdField);

Re: MinGW patches, release candidates and schedules

2004-11-15 Thread Coders
On Fri, 05 Nov 2004 08:12:39 -0800 Wes wrote: WH> > On Thu, 4 Nov 2004 14:08:33 -0700, Bruce Shaw <[EMAIL PROTECTED]> WH> >said: WH> Bruce> We're close to a resolution on making packages for Solaris. WH> Bruce> That's a little too drastic for 5.2 documentation - right? WH> WH> Um, I don't unde

Re: Foot print size

2004-11-15 Thread Coders
On Sat, 13 Nov 2004 14:51:43 -0800 Ram wrote: R> I am trying to reduce code size for my snmp-agent. After selecting the R> following configuration options my foot print size is about 700 KB. There is a FAQ entry on this: http://www.net-snmp.org/FAQ.html#How_can_I_reduce_the_memory_footprint_

Re: double index problems

2004-11-15 Thread Coders
On Mon, 15 Nov 2004 16:05:03 +0100 Paolo wrote: PC> I have myTable with 2 index: my Number and myName. PC> myTableEntry OBJECT-TYPE PC> INDEX { myNumber, myName } PC> ::= { myTable 1 } PC> PC> where the 2 index types are: PC> myNumber Unsigned32 PC> myName myString PC> I have implemented the init

Foot print size

2004-11-15 Thread Ram
Hello all, I am trying to reduce code size for my snmp-agent. After selecting the following configuration options my foot print size is about 700 KB. --with-cflags="-Dlinux -DEMBED" --with-out-mib-modules="agentx snmpv3 snmpv3mibs ucd_snmp notification" --disable-debugging --disable-privacy

snmp bogus ethernet traffic values

2004-11-15 Thread Peter Farrow
Dear All, I don't know if this is the right list for this type of question and I am sure I will be told if its not I am using Centos 3.3, with a 2.4.20-30.9 kernel on an Amd Opteron box.  I am using this kernel because it has matching freeswan modules. I am also using  the following

double index problems

2004-11-15 Thread Paolo Cortesi
I have problem to load myTable which has two indexes. The row loading failed in the procedure: parse_oid_indexes., and below I describe the situation. The situation: I have myTable with 2 index: my Number and myName. myTableEntry OBJECT-TYPE SYNTAX MyTableEntry MAX-ACCESS not-accessible STATUS

DateAndTime

2004-11-15 Thread Sven Jonas
Hello, is there any funtion that converts an u_char time[11] to a time_t-Struct? When setting the time in my agent i used date_n_time to convert the time_t-Structure to my u_char-Array. Then i used the snmp_pdu_add_variable and send it to my agent. Now, i would like to get the time back from the