Re: What's the agent addr for ? Is it mandatory ?

2009-01-22 Thread Dave Shield
2009/1/21 Ragnar Moller ragnar.mol...@ericsson.com: Our problematic traps from a natted ip, 12.155.xxx.xxx which shops up as the source on the IP level. But inside the snoop (snp layer) there is a field called agent addr, this fiels is different from the one above, showing a local lan

Re: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-22 Thread Dave Shield
2009/1/21 Mohr James james.m...@elaxy.com: It seems that the change was already there in 5.3.x. Is that correct? The 'hardware/memory' code was present in the 5.3.x distributions, but wasn't used by default. It had to be explicitly selected when compiling the agent. The switch to using this

Re: could you please help me on this

2009-01-22 Thread Dave Shield
2009/1/16 ram k rames2...@gmail.com: my questions are what is the difference between site_perl and vendor_perl ? /usr/lib/perl5/{version} is used for the core perl modules, that are a standard part of any perl installation /usr/lib/perl5/vendor_perl/{version} is used for any

Re: Error out on snmpwalk command.

2009-01-22 Thread Dave Shield
2009/1/21 Paul Hogan paul.ho...@haworth.com: Interesting thing about it is, if I wait for a couple of minutes and try again it kicks out the first part of the response again and then times out. If I try it immediately after it times out right away. Strange. That sounds like the situation

RE: What's the agent addr for ? Is it mandatory ? - Thanks for the principal clarifications Mike. Any HPOV guru who can give the details info on HPOV ?

2009-01-22 Thread Ragnar Moller
Thanks a lot Mike for your answers, even though you don't think highly of snmp v2c, which our customer requests (which rules out snmp v3). The key question in this becomes Is HPOV capable of using the source address on IP level instead of the agent addr field? And if it is what are the

Re: Error out on snmpwalk command.

2009-01-22 Thread Nikos Balkanas
Hi, 1) Does it timeout always in the same MIB? 2) While hanging, can it process any other snmp commands? (can you do an snmpget at the same time?) 3) Do you get timeouts with other OIDs? 4) Increase logging. What is the last thing you see? Does it log throughout the problem? 5) If you leave it

RE: Snmpv3 context id

2009-01-22 Thread prathika
Dear Mike, Thankyou for your quick response. If both values are equal it will creates any problem or not. Thanks, K.Prathika On Wed, 21 Jan 2009 Mike Ayers mike_ay...@tvworks.com wrote From: prathika [mailto:prath...@zohocorp.com] Sent: Tuesday, January 20, 2009 10:34 PM

pthread with agentx ..... help please

2009-01-22 Thread m.zeeshan
Dears, i am using agentx to implement customized MIBs, along with MIBs in my situation i do have another module to initialize within the agentx.c, this module listens on a UDP port, is for perhaps listening to customised notification from other agent or NEs. When i put them together, they did

strange problem with table_data approch , Unable to update the data of first value of a row

2009-01-22 Thread kumar undurthi
Hi All, First of all Thanks for Ur help and effort. I have implemented a sub-agent and able to register with Agent and used mib2c.table_data.conf and netsnmp_inject_handler_before(reg,netsnmp_cache_handler_get(cache), ExampleTable) to update the table every 20sec.

Re: pthread with agentx ..... help please

2009-01-22 Thread Nikos Balkanas
Hi, I am using pthreads for a shared library agent. To debug it, I use an agentx wrapper. So, it works fine with pthreads. You can also use mutiple subagents with he same master agent. Choice is between threads and processes. Long debated issue. Threads are lighter, faster, processes are more

Re: pthread with agentx ..... help please

2009-01-22 Thread Dave Shield
2009/1/22 Nikos Balkanas nbalka...@gmail.com: Choice is between threads and processes. Long debated issue. Threads are lighter, faster, processes are more robust, reliable. Actual decision depends also on OS used. But please remember that the Net-SNMP agent library is *NOT* thread-safe. Dave

Re: pthread with agentx ..... help please

2009-01-22 Thread Nikos Balkanas
Yes, forgot about that, too. But eventually it is your code and your responsibility how you call it. BR, Nikos - Original Message - From: Dave Shield d.t.shi...@liverpool.ac.uk To: Nikos Balkanas nbalka...@gmail.com Cc: m.zeeshan m.zees...@advancedims.com;

It's unlikely this agent can serve any useful purpose in this state / This receiver will *NOT* accept any incoming notifications

2009-01-22 Thread Antonio Guerra
Guys, I was wondering if one of you could provide some insight into this issue I'm having with snmp. I'm trying to make my redhat linux server a trap receiver to send out notifications for pages. Unfortunately there's not much information on the web in the sense of a step-by-step guide as far as

Re: It's unlikely this agent can serve any useful purpose in this state /This receiver will *NOT* accept any incoming notifications

2009-01-22 Thread Nikos Balkanas
Hi, You seem to have a few issues: 1) Error opening specified endpoint Means that you already are running an snmpd instance and port is already in use. Therefore it won't start. 2) mkdir -p /usr/local/share/snmp/snmpconf-data 3) snmpconf -g basic_setup BR, Nikos - Original Message -

Re: dlopen failed : undefined symbols snmp_get_do_debugging

2009-01-22 Thread Wes Hardaker
On Tue, 20 Jan 2009 15:36:21 +0530, Srinivas VasiReddy sriniva...@procsys.com said: SV i am getting this following error while loading the .so file in dlmod . SV dlopen failed : undefined symbols snmp_get_do_debugging SV how to resolve this error. Was the base library compiled with

RE: Snmpv3 context id

2009-01-22 Thread Mike Ayers
From: prathika [mailto:prath...@zohocorp.com] Sent: Thursday, January 22, 2009 5:20 AM Thankyou for your quick response. If both values are equal it will creates any problem or not. Only if they're not supposed to be...:-) In non-proxy situations they context engine ID

Trap resyncronization

2009-01-22 Thread Arvind Gupta
Hi, I am new to the list. Want to know that do we have some standard MIB or MIB element which shall be used to trigger the trap resync from the NMS. Arvind -- This SF.net email is sponsored by: SourcForge Community

Net-Snmp on Windows XP

2009-01-22 Thread Rodolfo Leffa
Hi, i'm new to this list and to net-snmp. I would like to know about using the Net-Snmp on Windows XP. I have some information of my enterprise that i would like to provide trough snmp, and Net-Snmp seems like a nice choice. The question is: someone has it running stable over Windows XP?? Kind

Question about snmp_free_pdu

2009-01-22 Thread Chun Tat David Chu
Hi guys, I have a question about snmp_free_pdu I am looking at the snmpwalk.c and the example snmpdemoapp.c How come both application only free up the response using snmp_free_pdu() but not the request pdu? I guess my question is why it is necessary to free up the response pdu but not the

Re: snmpwalk not working

2009-01-22 Thread Shikhar Sachan
whoops sorry for the personal mail...it was by accident and thank you for the comments Please have a note of the following iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source