AgentX broken

2004-08-19 Thread Magnus Fromreide
Hello. The current CVS code doesn't support AgentX any more since the new file include/net-snmp/agent/agent_module_config.h that contains the definition of USING_AGENTX_*_MODULE isn't included by the files that need it so all code protected by those macros is effectively disabled. Could someone p

displaying wrong values for MIB II variables

2004-08-19 Thread Karthikeyan N
Hi, Here is a list of SNMP problems found in MIB II variables. Case 3218: sysTime shows wrong uptime {roar}kamesh{kamesh}% snmpbulkget -v2c 10.10.7.81 public -B 0 1 sysObjectID.0 system.sysUpTime.0 = Timeticks: (1841958063) 213 days, 4:33:00.63 {roar}kamesh{kamesh}% Case 3240: ifType, ifSpeed

USM security handling broken

2004-08-19 Thread Magnus Fromreide
Hello. During the translation to config_belongs_in it seems as if a small bug found it's way into agent/mibgroup/snmpv3/usmConf.h. That file specifies (on line 5) config_belongs_in(agent_modules) but i think it should be config_belongs_in(agent_module) since the agent_modules* files ain't use

snmptrapd ain't working

2004-08-19 Thread Magnus Fromreide
Hello. During the addition of more options to snmptrapd on CVS HEAD it got broken so that the pidfile option doesn't work. The problem is that if -p is given then optarg is assigned to pid_file and when the config file is then read free_config_pidFile is called on a pointer to memory that isn't h

Re£º: Q: PING-MIB? Former: Re: Re£º: Re: how to submit my codes to netsnmp?

2004-08-19 Thread chenj
Dear Beth, Haha,I'm sorry,too. "Soon" means that I will upload my implementations to netsnmp by the method of patches in two days.So you can load these codes from http://net-snmp.sourceforge.net/patches. For my method,I use the first.But I think the second is a good method.Later I could modif

Re: USM security handling broken

2004-08-19 Thread Dave Shield
> During the translation to config_belongs_in it seems as if a small bug > found it's way into agent/mibgroup/snmpv3/usmConf.h. > it should be > config_belongs_in(agent_module) Good catch! Thanks for that - now updated in the CVS tree. Dave --

Re: AgentX broken

2004-08-19 Thread Dave Shield
> The current CVS code doesn't support AgentX any more since the new file > include/net-snmp/agent/agent_module_config.h that contains the definition > of USING_AGENTX_*_MODULE isn't included by the files that need it so all > code protected by those macros is effectively disabled. Oops! OK - thi

Re: snmptrapd ain't working

2004-08-19 Thread Dave Shield
> During the addition of more options to snmptrapd on CVS HEAD it got > broken so that the pidfile option doesn't work. > > The attached patch fixes both of those problems. Thanks for that. The patch has been applied to the CVS code tree. Dave

RE: IPV6 support for Linux

2004-08-19 Thread slif
Fong, Please send replies ONLY to [EMAIL PROTECTED] The net-snmp developers have plainly stated before that they do not have large IPv6 network to test against. This means that if you don't learn ways to provide better problem reports for the issues which you have, you won't be pleased with the

uninstalling 5.0.6

2004-08-19 Thread Juwairia Zubair
hi I am trying to update net-snmp 5.0.6 to 5.1.1 but in doing so i managed to make a mess of things. i ran ./configure --with-mib-modules="agentx", make, make install while installing 5.1.1 and after doing so i ran my subagent which crashed on the line netsnmp_get_table_handler and returns NULL.

Re: uninstalling 5.0.6

2004-08-19 Thread slif
> > From: "Juwairia Zubair" <[EMAIL PROTECTED]> > Date: 2004/08/19 Thu AM 07:40:03 EDT > To: [EMAIL PROTECTED] > Subject: uninstalling 5.0.6 > > hi > I am trying to update net-snmp 5.0.6 to 5.1.1 but in doing so i managed to > make a mess of things. i ran ./configure --with-mib-modules="agentx"

Re: uninstalling 5.0.6

2004-08-19 Thread Thomas Anders
[EMAIL PROTECTED] wrote: Run this as root: find / -type f -name "*snmp" > /tmp/sn_mp.names Run this as root: find / -type l -name "*snmp" > /tmp/sn_mp.links [...] find / ! -type d -newer /tmp/later | grep -v /tmp/later Just in case you have (many) NFS mounts, especially when triggered by auto

Re: displaying wrong values for MIB II variables

2004-08-19 Thread Karthikeyan N
Hi Mike Slifcak, I am using net-snmp version 5.1.1 and the development environment is oin Linux. I'll look into the bug reports as you said. Thanks, Karthik. N - Original Message - From: <[EMAIL PROTECTED]> Date: Thu, 19 Aug 2004 7:35:19 -0400 To: "Karthikeyan N" <[EMAIL PROTECTED]

Re: uninstalling 5.0.6

2004-08-19 Thread Dave Shield
Juwairia> how do i go around uninstalling Juwairia> both the versions so that i can have the 5.1.1 version only Mike> Run this as root: find / -type f -name "*snmp" > /tmp/sn_mp.names Mike> Run this as root: find / -type l -name "*snmp" > /tmp/sn_mp.links Those

how to create a security_name <--> group entry directly in the agent

2004-08-19 Thread jeff x
Hello, I'm trying to add an entry in "securityToGroup", linking a security name to a group name. I have to do it directly in the agent, (in the source code), that is to say, directly add this, without any checking. I'm searching the more simple solution,so , which procedure should I use to make i

Re: how to create a security_name <--> group entry directly in the agent

2004-08-19 Thread jeff x
> Hello, > > I'm trying to add an entry in "securityToGroup", > linking a security name to a group name. > I have to do it directly in the agent, (in the > source > code), that is to say, directly add this, without > any > checking. > > I'm searching the more simple solution,so , which > procedur

Re: Net-snmp version for HP/UX 11.23

2004-08-19 Thread Johannes Schmidt-Fischer
William, as far as I know there is no HP-UX server in the sourceforge compile farm, and due to that I'm producing the HP-UX binaries for the net-snmp download page. But since I've only 10.20, 11.00 and 11.11 at hand, I'm not able to produce 11.2x binaries, neither for PA-RISC nor for Itanium. I

Re: Broken pipe in table using iterator

2004-08-19 Thread Coders
On Wed, 18 Aug 2004 11:31:17 +0500 Juwairia wrote: JZ> I am trying to store values in a table using mib2c.iterator.conf. It worked JZ> fine with a few tables but when i use lengthy computations while filling JZ> the data structures i get the "broken pipe" error and my subagent crashes. The stabili

Re: Table implementation

2004-08-19 Thread Coders
On Tue, 17 Aug 2004 12:26:21 +0100 Dave wrote: DS> > Where can I find examples about Table implementation with external DS> > Indexes ? DS> DS> What do you mean by "external indexes" ? He may have gotten that terminology form the array-user conf file. I use external index to describe a table that

Re: IPV6 support for Linux

2004-08-19 Thread Coders
On Wed, 18 Aug 2004 21:31:41 -0700 Fong wrote: FT> I have tried v5.1.2.rc2, it still can't launch as FT> snmpd udp:161,tcp:161,udp6:161,tcp6:161 It appears that it won't allow tcp:161 and tcp6:161 at the same time. That is a bug that should be written up. Unfortunately, I don't have time for furt

Re: How to make Net-SNMP threadsafe

2004-08-19 Thread Coders
On Fri, 6 Aug 2004 09:46:56 +0200 Daniel wrote: DF> We would like to invest some time to make the net-snmp lib threadsafe As Mike indicated, there are already portions that are thread safe, if used with caution. DF> and furthermore we would like to make the snmpd process requests DF> mutithreaded

RE: IPV6 support for Linux

2004-08-19 Thread Fong Tsui
Yes, If you enable SO_REUSEADDR code in snmpUDPDomain.c and snmpUDPIPv6Domain.c, udp and udp6 can be launched together. For tcp and tcp6, bind() seems not allowing to multiple apps to open the same port. Bind() always failed for the second transport - errno IN USE. I think it is something in ke