Re: something about iterate

2005-05-05 Thread ericyosho
excuse me . i am still confused with the iterate ;-( i guess that the initial function is called only once when the agent is up. or it is called each time when the agent receives a request? > You wouldn't normally *update* the linked list. > The iterator hook routines will *search* this list >

Re: error message

2005-05-05 Thread Robert Story
On Wed, 04 May 2005 13:51:15 +0300 dwarf wrote: D> getting error message in agent's log D> "send response: Error building ASN.1 representation (build int size D> 2263980256: s/b 4)" That indicates a bad parameter somewhere, as 2263980256 is an unreasonable size for an integer. Check your custome

AGENT EXT SIT ON NAILS

2005-05-05 Thread Parthiban Naliiamudali
Dear Sir, sir, Mr.DAVE sir, still not getting, sir,sorry, i made some noteable words in all caps only for your convience to read i am sorry if it is troubling you.. and also had a numerical count in my subject for you to refer my previous mail easily.. if that too disturbs you.. i will stop doin

powerpc RPMs for NetSnmp-5.1.1

2005-05-05 Thread Pamidipati Suresh-G20238
Title: Message Hi, Where the powerpc RPMs for NetSnmp-5.1.1 are available..? Any info will be highly appreciated..   Regards suresh.

Re: can't get answer from my MIB

2005-05-05 Thread dwarf
Dave Shield wrote: On Thu, 2005-05-05 at 12:18, dwarf wrote: This is my MIB text file: SOF-IPSTB-MIB DEFINITIONS ::= BEGIN ipstbMIB MODULE-IDENTITY ::= { enterprises } ipstbSys OBJECT IDENTIFIER ::= { ipstbMIB 1 } sysDescr OBJECT-TYPE ::= { ip

Re: can't get answer from my MIB

2005-05-05 Thread Dave Shield
On Thu, 2005-05-05 at 12:18, dwarf wrote: > This is my MIB text file: > SOF-IPSTB-MIB DEFINITIONS ::= BEGIN > ipstbMIB MODULE-IDENTITY > ::= { enterprises } > > ipstbSys OBJECT IDENTIFIER ::= { ipstbMIB 1 } > > sysDescr OBJECT-TYPE > ::= { ipstbSys 1 } > > END But this doesn't

Re: can't get answer from my MIB

2005-05-05 Thread Dave Shield
On Thu, 2005-05-05 at 11:29, dwarf wrote: > All this stuff works fine before ans actualy works now, Including the 'ucdavis' objects? OK - that would tend to rule out access control problems. > except new MIB that i wrote and added. So I'll repeat the earlier advice - try working through the chec

Re: can't get answer from my MIB

2005-05-05 Thread dwarf
Dave Shield wrote: On Thu, 2005-05-05 at 10:21, dwarf wrote: This agent build with configure : ./configure --prefix=/opt/x86/snmp --disable-applications --disable-manuals --disable-scripts --disable-mibs --disable-mib-loading --disable-des --disable-md5 --disable-snmpv3 --disable

Re: can't get answer from my MIB

2005-05-05 Thread Dave Shield
On Thu, 2005-05-05 at 10:21, dwarf wrote: > This agent build with configure : > > ./configure --prefix=/opt/x86/snmp --disable-applications > --disable-manuals --disable-scripts --disable-mibs > --disable-mib-loading --disable-des --disable-md5 --disable-snmpv3 > --disable-debugging --disable-pri

snmpd proxy problem

2005-05-05 Thread Simas Cepaitis
Hello, I'm not sure what causes this error, but there's something I don't understand. I'm trying to run snmpd (5.2.1) in jailed environment on FreeBSD 5.3-p9 machine. This should proxy some variables from another hosts to management network. It's a bit difficult to describe, but here's th

Re: can't get answer from my MIB

2005-05-05 Thread dwarf
Dave Shield wrote: On Thu, 2005-05-05 at 09:55, dwarf wrote: Created my MIB, copy it to mibs directory. Build agent with my MIB. How did you build the agent? Did you write any code to implement this MIB? Please see the FAQ entry How do I add a MIB to the agent? Dave

Re: reset snmpd??

2005-05-05 Thread Dave Shield
On Sat, 2005-04-30 at 09:43, çåä wrote: > Dear all: > >> If there is a mib-hfcreset, in my agent. > >> I want the agent has the function. when the users enter : > >>$ snmpset Cc *** hfcreset i 1 > >> the agent will be reseted. I only add a row : > >>monitor Ce ColdStart hfcreset=

Re: Resend a received Trap with a different peername

2005-05-05 Thread Dave Shield
On Fri, 2005-04-29 at 19:04, Wes Hardaker wrote: > Dave> I was hoping John might be able to shed some light on whether > Dave> the transport information was needed in the PDU copy at all (and > Dave> if so, why). > > Unfortunately, I don't think he's listening. Probably not - but it was worth a t

Re: can't get answer from my MIB

2005-05-05 Thread Dave Shield
On Thu, 2005-05-05 at 09:55, dwarf wrote: > Created my MIB, copy it to mibs directory. Build agent with my MIB. How did you build the agent? Did you write any code to implement this MIB? Please see the FAQ entry How do I add a MIB to the agent? Dave ---

can't get answer from my MIB

2005-05-05 Thread dwarf
Hi I have FC3 and net-snmp 5.2.1 Created my MIB, copy it to mibs directory. Build agent with my MIB. Agent nicely running. The answer that i get is No Such Object available on this agent at this OID Please, advise --- This SF.Net email is sponsore

Re: AgentX master agent failed to respond to ping

2005-05-05 Thread Dave Shield
On Fri, 2005-04-29 at 14:40, W Raul S wrote: > a) It successfully creates the socket. > b) The agent does 'connect', but fails to register. Hmmm... OK - Try running both the master agent and subagent in the foreground ("-f -Le" or equivalent), and with packet dumps turned on ("-d"). Those are fo

Re: AGENT EXT SIT ON NAILS -13

2005-05-05 Thread Dave Shield
On Wed, 2005-05-04 at 07:39, Parthiban Naliiamudali wrote: > i REMOVED SNMPTRAPD.C from the /home/parthiban/net-snmp-5.2/apps > and ADDED THE SNMPTRAPD.C WHICH I GOT FROM CVS. No - that's not safe. If you're working with the CVS tree, then you need to work with the *whole* of the CVS tree. You c

Re: about ucd-snmp 4.2.3

2005-05-05 Thread Dave Shield
On Wed, 2005-05-04 at 08:01, rober wrote: > I compiler ucd-snmp-4.2.3 First thing - that release is *VERY* old by now. Things have moved on a lot since then. At the very least, you should be using the most recent 4.2.x release (4.2.6) rather than 4.2.3. But even that's basically obsolete. A