Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-03-31 Thread Philip Greer
net-snmp coding gurus: Here's the environment: - gcc version 2.9-aix51-020209 (from Linux utilities RPM for AIX 5.3) - GNU ld version 2.9-aix51-020209 (with BFD 2.9-aix51-020209) (from Linux utilities binutils RPM for aix 5.3) - GNU ranlib 2.9-aix51-020209 (from Linux utilities binutils RPM for A

mib2c: notifications being shown as scalars

2005-03-31 Thread Srinivas Athuluru (ATG)
hi, snmpwalk is actually listing attributes which are notifications. mib2c has a "foreach . scalar" string match which is producing identical code for scalars and notification attributes. is there a reason for it? can I skip code generated for notifications when i invoke 'mib2c -c mib2c.

Re: SNMP.pm missing functionality - oid increasing

2005-03-31 Thread Austin Schutz
I sent this to the list a few weeks ago w/out any response. Is there a specific person/group responsible for the perl stuff I should be contacting? Thanks, Austin On Wed, Mar 09, 2005 at 11:13:36AM -0800, Austin Schutz wrote: > We've run into a situation where a few

Re: Fwd: Re: Problem running snmpget

2005-03-31 Thread Shobana Sampath
Hi Alex, I upgraded to Perl v 5.6.1 and it now says ActiveState and now I can execute the snmpconf command successfully. But I still get the timeout problem when I do a snmpget. I install Net SNMP from the following location and chose the binary install net-snmp-5.2.1-1.win32.exe. http://sourcefor

Re: Fwd: Re: Problem running snmpget

2005-03-31 Thread Shobana Sampath
Hi Alex, I upgraded to Perl v 5.6.1 and it now says ActiveState and now I can execute the snmpconf command successfully. But I still get the timeout problem when I do a snmpget. I install Net SNMP from the following location and chose the binary install net-snmp-5.2.1-1.win32.exe. http://sourcefor

Re: Fwd: Re: Problem running snmpget

2005-03-31 Thread Alex Burger
Shobana Sampath wrote: Hi Alex, I am getting the same errors using snmpconf -i or snmpconf -h. The perl version I am using is: This is perl, version 5.005_03 built for MSWin32-x86 Although it probably shouldn't matter, it looks like an old version of Perl. Can you try 5.8.6 or 5.6.1 from ActiveSt

Problem running snmpget

2005-03-31 Thread Shobana Sampath
Hi, I tried running snmpget and got timeouts. So, I tried to use the following command: [d:\net-snmp-5.2.1\bin]snmpconf -g basic_setup Not enough arguments for mkdir at D:\net-snmp-5.2.1\bin\snmpconf line 230, near ""$opts{'I'}")" Not enough arguments for mkdir at D:\net-snmp-5.2.1\bin\snmpconf l

Re: udp connection-agent with subagent via agentX

2005-03-31 Thread Robert Story
On Tue, 29 Mar 2005 07:25:12 -0500 Vijay wrote: VK> I am running 5.2.1 net-snmp snmpd agent, and example-demon subagent VK> program(used netsnmp_ds_set_string() for making tcp connection on port 161 VK> of agent). The sub-agent is connecting on port 161? That's probably a bad idea, since port 161

Re: udp connection

2005-03-31 Thread Robert Story
On Tue, 29 Mar 2005 00:25:38 -0500 Vijay wrote: VK> Could somebody help me out in how to make a udp connection from a subagent VK> (using subagent program- example-demon program in snmp tutorial toolkit) to VK> a net-snmp snmpd master agent. Have you checked the FAQ? -- Robert Story; NET-SNMP Ju

Re: snmp_add_var

2005-03-31 Thread Robert Story
On Tue, 29 Mar 2005 09:17:55 +0100 Dave wrote: DS> HL> How can I tell snmp_add_var this is a hex value? DS> DS> RS> prefix it with '0x'. DS> DS> Are you sure, Robert? Nope, but it was a good guess! I would have actually looked at code if they came back and said "that didn't work." DS> I'd have

Fwd: Re: Problem running snmpget

2005-03-31 Thread Shobana Sampath
Hi Alex, I am getting the same errors using snmpconf -i or snmpconf -h. The perl version I am using is: This is perl, version 5.005_03 built for MSWin32-x86 Also, I do not see a rocommunity in the snmpd.conf file. setserialno 12151 engineBoots 1 oldEngineID 0x80001f8880467c05fb4a42 Th

Re: Problem running snmpget

2005-03-31 Thread Alex Burger
Hi Shobana. Shobana Sampath wrote: Hi, I tried running snmpget and got timeouts. You probably don't have a rocommunity line in your snmpd.conf file. So, I tried to use the following command: [d:\net-snmp-5.2.1\bin]snmpconf -g basic_setup Not enough arguments for mkdir at D:\net-snmp-5.2.1\bin\snmpc

Re: link an additional library

2005-03-31 Thread Robert Story
On Mon, 28 Mar 2005 10:42:42 -0800 Fong wrote: FT> FT>> Will it be a problem to link to a g++ compiled library? When on 4.x FT> FT>> version, it seemed no problem. Now, I am using 5.0.9. If that is FT> the FT> FT>> problem, is there a way to fix it? FT> FT> RS> No, as long as you are using the g++

Re: Mib Parsing

2005-03-31 Thread Robert Story
On Tue, 29 Mar 2005 10:14:50 +0530 (IST) M. wrote: MV> I am trying to identify the type of data MV> corresponding to an oid with the C API provided MV> by NetSnmp. MV> Is there a way to do this..? Sure, take a look at how snmptranslate works. -- Robert Story; NET-SNMP Junkie Support: