Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-09-27 Thread Leo Lin
Sorry, I forgot to mention that I downloaded and installed m4. 1.4.15 via Cygwin update, and it is still giving me the same error... --- On Mon, 9/27/10, Leo Lin wrote: From: Leo Lin Subject: Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin To: "Bart Van Assche" Cc: "Net

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-09-27 Thread Leo Lin
Hi Bart,   I applied the patch, it modifies the files   interface_linux.c in ~/net-snmp-5.6.rc1/agent/mibgroup/if-mib/data_access   ipaddress_linux.c in ~/net-snmp-5.6.rc1/agent/mibgroup/ip-mib/data_access   util_funcs.c util_funcs.h in ~/net-snmp-5.6.rc1/agent/mibgroup   I also modified the `conf

RE: setup net-snmp for Sun 5.9 sun4us sparc

2010-09-27 Thread Huynh Truc Lam
Hi Was Hardaker, My server already have perl. HOLVUX1:# perl -v This is perl, v5.6.1 built for sun4-solaris-64int (with 48 registered patches, see perl -V for more detail) Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU

Re: writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Thanks everyone for your initial responses. I think if I can get the example subagent code working, I could get mine to as well. Using the -Dagentx flag doesn't produce any additional output on the example subagent. On the master agent (snmpd) it does print some extra lines, but nothing new is pro

Re: Can agent edit/update snmpd.conf

2010-09-27 Thread Malathi Panyam
Sorry, if I was not clear. I was referring to the access control information (both rocommunity and trap2sink) we add to the snmpd.conf at /etc/snmp/snmpd.conf.   We collect the hosts that can access our node from the user and add them to snmpd.conf file. We allow both IP addresses and FQDN's for

Re: SNMP only getting data every 15 seconds.

2010-09-27 Thread Steve (Telsat Pacific)
Hi Les, Thanks for the reply. Below is a copy of the STG log which is querying the SNMP; you can see that it logs a zero between the 15 second intervals.  This used to work (per-second) with the previous server we had which had net-snmp but for some reason,

Re: Net-SNMP 5.6.rc3 available for testing

2010-09-27 Thread Wes Hardaker
> On Wed, 22 Sep 2010 06:58:02 +0400, "Ali Mirza, Rashid" > said: AMR> Would it be better to use this release for compilation in QNX AMR> environment? It's much more likely to work than previous net-snmp releases. But QNX is a platform that may still require more patches and feedback f

Re: Can agent edit/update snmpd.conf

2010-09-27 Thread Wes Hardaker
MP> We have a situation where in the subagent proces is getting killed MP> without any core dumps, while this is happening, one of the managers MP> added (first one in the list) to snmpd.conf is getting removed from MP> the snmpd.conf file. We dont see any logs that the subagent is MP> doing this

Re: a patch for memory leak

2010-09-27 Thread Wes Hardaker
> On Wed, 22 Sep 2010 08:17:20 +0100, Dave Shield > said: DS> As far as I can tell, the protocol specifies the maximum number of DS> subidentifiers within a single OID, but not the number of varbind DS> that are allowed in a single request. Ohh... I misread that sentence if he said 128

Re: writing a subagent -- newbie help

2010-09-27 Thread sebastian2...@gmx.de
Thank you Wes, I will have a look on it, although I have already a working Trap application (only version2c, but that is enough for me). The last days I was busy, so I had no time to work again on the agent/subagent. I already saved your advice with the proxy, but I think I did not understa

Re: writing a custom handler using python bindings

2010-09-27 Thread Wes Hardaker
> On Thu, 23 Sep 2010 06:12:05 +0200, Tzury Bar Yochay > said: TBY> (I am all new to the snmp itself, let alone net-snmp TBY> implementation). I would like to use netsnmp to monitor and manage TBY> a cluster of 180 linux-based appliances and wondered about whether TBY> it is possible to

Re: AES-256 Support in NetSNMP

2010-09-27 Thread Wes Hardaker
VV> From the older posts in NetSNMP forums I understood that NetSNMP VV> version 5.1.4 was (partially) supporting AES256 and later versions VV> of the NetSNMP dropped the support. From the information available VV> in the NetSNMP wiki, it seems they dropped the support as AES 256 & VV> 192 were i

Re: setup net-snmp for Sun 5.9 sun4us sparc

2010-09-27 Thread Wes Hardaker
> ./snmpconf: not found > Anyone can help me? I suspect that's because snmpconf is a perl script and you don't have perl installed at the path that the script is trying to use. -- Wes Hardaker Cobham Analytic Solutions ---

Re: 5.6 release date

2010-09-27 Thread Wes Hardaker
> On Mon, 27 Sep 2010 12:58:55 -0400, said: > when is the release date(in weeks or months) for the net-snmp 5.6. The current plan, assuming no show-stopping bugs, is to release it this Friday, the 1st. But since I now have a personal conflict it's more likely to be either Saturday or a few

Re: writing a subagent -- newbie help

2010-09-27 Thread Wes Hardaker
> On Mon, 27 Sep 2010 22:50:41 +0200, "sebastian2...@gmx.de" > said: Sd> REALLY nice would be to have a simple compiling example, how to create a Sd> program which can act as trapsender, client and server at once. FYI, the example code in agent/mibgroup/examples/notification.c might h

Re: writing a subagent -- newbie help

2010-09-27 Thread Wes Hardaker
> On Fri, 24 Sep 2010 16:53:15 -0700, Matt Flanzer > said: MF> Basically, no matter what I've tried I get the response: MF> No Such Object available on this agent at this OID One thing worth doing is running both the subagent and the master agent with debugging output. You can do this

Re: SNMP only getting data every 15 seconds.

2010-09-27 Thread Les Mikesell
On 9/27/2010 3:36 PM, Steve (Telsat Pacific) wrote: > >> I currently monitor the interface bandwidth from my debian servers using >> STG and we've recently replaced a server with a new one and I've >> installed net-snmp on it, but it won't allow me to get per-second >> interface bandwidth details.

Re: writing a subagent -- newbie help

2010-09-27 Thread sebastian2...@gmx.de
Hi Matt, maybe we should try it together. ;) Do you have to write it in c++ or c, too? Tomorrow (that is in about 12 hours for me) I can send you some code which was working for me (maybe you can find it if you are searching in the mailing list for my name), but I used it only as a Master A

RE: SNMP only getting data every 15 seconds.

2010-09-27 Thread Ron Rader
> From: Steve (Telsat Pacific) [mailto:st...@telsat.vu] > > interface bandwidth details. When STG queries the snmp, it returns a > > value then returns zero's for the next 14 seconds. > > > > I'm needing to get this back to per-second monitoring; how can I achieve > > this? The only experience

Re: SNMP only getting data every 15 seconds.

2010-09-27 Thread Steve (Telsat Pacific)
Hi All, Wondering if anyone is able to help with this one? Thanks Steve On 24/09/2010 8:45 AM, Steve (Telsat Pacific) wrote: >Hello All, > > I currently monitor the interface bandwidth from my debian servers using > STG and we've recently replaced a server with a new one and I've > insta

5.6 release date

2010-09-27 Thread Brady.Chang
Hello All, when is the release date(in weeks or months) for the net-snmp 5.6. thanks -Brady -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and acceler

Is there NetSNMP::agent support for sending Traps?

2010-09-27 Thread Fulko Hew
I just needed to coble up a test sub-agent (in Perl) that acts as an AgentX based sub-agent. All went well for what I needed to test, but... I see support for gets and sets, but what I didn't see was any support for forwarding traps to an AgentX master from Perl sub-agents. Is it missing, or am I

writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Hello all -- I've installed NET-SNMP on my Mac (via macports) and I'm trying to write a subagent. I've followed the wiki instructions, but I can't get it to work. Basically, no matter what I've tried I get the response: No Such Object available on this agent at this OID I've also tried the demo s

Re: Memory leak in 5.5

2010-09-27 Thread kavita raghunathan
You are correct; you got me there. I only looked at the running output. Which already had a bunch of initialization leaks which I ignored because that was not my concern - my target was the ever increasing leak over time that top reported. But valgrind did not report anything overtime, it must b

Re: Memory leak in 5.5

2010-09-27 Thread Bart Van Assche
On Mon, Sep 27, 2010 at 5:45 PM, kavita raghunathan wrote: > Valgrind found no leaks. I left it over night. But top still reports that > snmpd is leaking memory. I did do what he suggested. What I'm trying to say > is, is there any known memory leaks with net-snmp 5.5 ? Has anyone else > reported

Re: Memory leak in 5.5

2010-09-27 Thread kavita raghunathan
Valgrind found no leaks. I left it over night. But top still reports that snmpd is leaking memory. I did do what he suggested. What I'm trying to say is, is there any known memory leaks with net-snmp 5.5 ? Has anyone else reported a problem ? Google does not show anyone reporting a problem, but

Re: Apply Patch

2010-09-27 Thread Bart Van Assche
On Mon, Sep 27, 2010 at 4:57 PM, Leo Lin wrote: > Hi, > > Someone knows how to apply a patch? I googled it, and found that it must > use the script `patch` like so, > > patch -p0 < /path/to/patch.file> > > the problem is that I cannot find the `patch` script, > > > All you have to do is to inst

Re: Memory leak in 5.5

2010-09-27 Thread Bart Van Assche
On Mon, Sep 27, 2010 at 4:49 PM, kavita raghunathan wrote: > Hello, I'm using net-snmp-5.5 over centos Linux and notice that the snmpd > process gradually eats up memory over time. Please note that no gets or sets > are going on. I have posted before with no response. Please help. Is this a > know

Apply Patch

2010-09-27 Thread Leo Lin
Hi,   Someone knows how to apply a patch?  I googled it, and found that it must use the script `patch` like so,   patch -p0 < /path/to/patch.file>   the problem is that I cannot find the `patch` script,   Leo;   -

Memory leak in 5.5

2010-09-27 Thread kavita raghunathan
Hello, I'm using net-snmp-5.5 over centos Linux and notice that the snmpd process gradually eats up memory over time. Please note that no gets or sets are going on. I have posted before with no response. Please help. Is this a known problem ? The leak occurs with no extra mibs other than the one

error on subcontainer 'ia_addr' insert (-1)

2010-09-27 Thread Michala Srnova
Hi, when I start snmp daemon with proxy settings, the message error on subcontainer 'ia_addr' insert (-1) is written periodically to the console. Everything work properly, but this message is annoying. I have read that there was made a patch for this problem in net-snmp version 5.3 The new erro

Re: how to report stats for a fake network interface in Linux?

2010-09-27 Thread Ted Zlatanov
On Fri, 24 Sep 2010 13:32:13 -0500 Ted Zlatanov wrote: TZ> I have some rapidly changing stats I want to report via SNMP. It would TZ> be terrific if I could do that in the IF-MIB interface table, but it's TZ> pretty hard to plug in my Perl subagent in just the right places. TZ> I investigated

writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Hello all -- I've installed NET-SNMP on my Mac (via macports) and I'm trying to write a subagent. I've followed the wiki instructions, but I can't get it to work. Basically, no matter what I've tried I get the response: No Such Object available on this agent at this OID I've also tried the demo s