Re: TRAP Newbies

2005-06-13 Thread chinmay bhat
From: chinmay bhat [EMAIL PROTECTED] To: net-snmp-users@lists.sourceforge.net Subject: Re: TRAP Newbies Date: Fri, 10 Jun 2005 21:35:24 +0530 From: chinmay bhat [EMAIL PROTECTED] To: net-snmp-users@lists.sourceforge.net Subject: Re: TRAP Newbies Date: Fri, 10 Jun 2005 17:42:58 +0530

Re: ..how register my Object mib name..

2005-06-13 Thread Dave Shield
On Sun, 2005-06-12 at 10:33, mehdi gholami wrote: i have :(after snmpget for 1.3.6.1.2.1.37.1.2.1.1.0) - mib-2.37.1.2.1.1 = COUNTER.0:322 I hope that's a typo, and not a cut-n-paste of the actual output. but i want to get - atmobjectname.0 = COUNTER or INTEGER : 322 in exact more ,

Re: Remove v3 user

2005-06-13 Thread Dave Shield
On Fri, 2005-06-10 at 23:38, Fong Tsui wrote: To create a v3 user, we need to add user in both regular snmpd.conf and the persist snmpd.conf. That doesn't sound right. It should only be necessary to put the 'createUser' entry in the persistent snmpd.conf file. You shouldn't need one in the

RE: snmpd hangs on AIX 5.2

2005-06-13 Thread Dave Shield
On Mon, 2005-06-13 at 06:01, Sawant, Paresh (Paresh) wrote: .snmpd.conf: A file or directory in the path name does not exist. the command I'm running is -- /usr/local/sbin/snmpd -M ./mibs -m ALL -c .\snmpd.conf -C -D 5 You're using the wrong slash. Try

Re: TRAP Newbies

2005-06-13 Thread chinmay bhat
It might be a syntax problem with the mib. Have you run smilint on the mib? I ran the smilint on my mib and it showed no errors, I changed my mib to SMIv2 and again tried compiling it with the mib2c.notify.conf still same problem, generates only .h file. by the way the mib2c.notify.conf

Re: TRAP Newbies

2005-06-13 Thread Dave Shield
On Fri, 2005-06-10 at 17:05, chinmay bhat wrote: the netsnmp version i am using is, NET-SNMP version: 5.0.6 Even the .h file generated by the copiler is not complete You think there is some problem with the mib2c.notify.conf file ?? No - it's not the mib2c.notify.conf file. Or any

Problem while debugging with DDD

2005-06-13 Thread Sridhar S
Hello, I am working with DDD version 3.3.10. I am trying to trace Net-SNMP version 5.2.1. Whenever I run the SNMP agent and open 'table_iterator.c' file following line is getting displayed at the GDB window. list table_iterator.c:1 Line 1 of table_iterator.c is at address 0x40130150

Re: TRAP Newbies

2005-06-13 Thread chinmay bhat
From: Dave Shield [EMAIL PROTECTED] To: chinmay bhat [EMAIL PROTECTED] CC: net-snmp-users@lists.sourceforge.net Subject: Re: TRAP Newbies Date: Mon, 13 Jun 2005 09:37:23 +0100 On Fri, 2005-06-10 at 17:05, chinmay bhat wrote: the netsnmp version i am using is, NET-SNMP version: 5.0.6

Re: Doubt in scalar_int.c (more clarification)

2005-06-13 Thread Sasikumar Bodathula
Can any one tell me why netsnmp_assert(requests-agent_req_info == asp-reqinfo); is failing am i doing anything wrong in my code. or this is due to access control. On Mon, 2005-06-13 at 10:32, Sasikumar Bodathula wrote: Here are some more information. The location it is failing is in the file

Re: malloc without check

2005-06-13 Thread Dave Shield
On Sat, 2005-05-21 at 08:46, Andreas Moroder wrote: reading the sources I have found the following malloc calls where there was no check on the result Thanks for that list. I've just fixed them in the main, 5.2.x and 5.1.x lines. Dave ---

RE: Remove v3 user

2005-06-13 Thread Fong Tsui
Thanks. Maybe, I have not made it clear. What I mean to add user to main snmpd.conf is actually adding access control of the user. Thanks, FT -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 1:22 AM To: Fong Tsui Cc:

snmptrapd memory leak ??

2005-06-13 Thread Wu, Lan, ALABS
Hi All, I am using snmptrapd to receive the snmp traps, if I do not want to keep any number traps around in memory, do I set up a snmptrpad.conf file in /usr/etc/snmp/snmptrapd.conf( this directorylooksunusual, but thisdirectory stated in man page)and specify DontRetainLogs true in the

set engineID

2005-06-13 Thread Fong Tsui
Which configuration file should engineID be defined in? regular snmpd.conf or persist snmpd.conf? I added engineID in regular snmpd.conf, restart snmpd, oldEnginerID seems changed. I also tried to add engineID in the persist configuration file after stop agent first and start agent,

Question on disk usage entry in snmpd.conf

2005-06-13 Thread ryoung
Hi: I am working on installing net-snmp 5.2.1 on solaris, hpux and windows. My questions is specific to the disk option used in the snmpd.conf file. In the unix versions I have no problem using the following lines (in snmpd.conf): # disk: Check for disk space usage of a partition. #

about Disk IO

2005-06-13 Thread Ulaş Yüksel
Hi, from net-snmp web page I have foound an OID ucdDiskIOMIB. But I couldn't get any response from that OID using snmpwalk. Am I missing something? --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a

help

2005-06-13 Thread mehdi gholami
Hi..Dave i have small problem in object name registration : I registered my OID and my private MIB(it's like as ATM ...) any way , now i wnat to register my name but i can't.. i.e .. i have :(after snmpget for 1.3.6.1.2.1.37.1.2.1.1.0) - mib-2.37.1.2.1.1 = COUNTER.0:322 but i want to get -

Host restricting

2005-06-13 Thread Kevin Golder
Title: Host restricting I've been using the following snmpd.conf file to try and restrict which hosts can query my snmp agent. It work fine for snmpv1 and v2c but not for v3. Is there another way to do it or is this functionality not present in the 5.2.1 agent?

array-user table set handling

2005-06-13 Thread George, Geo
Hi all, I have a MIB implementation having tables and scalars. The table is implemented using array-user.conf (Netsnmp v5.0.9).The problem is that when I do a snmpset, the set_xxx routine(s) are not being called. The error returned is No such object, even though I can fetch the same OID by

Re: Walk ends badly when proxy enabled

2005-06-13 Thread John Hardin
Robert Story wrote: On Wed, 8 Jun 2005 09:39:24 -0400 Robert wrote: RS That does sound like a bug in our agent. It should move on to the next RS tree. I'm not familair with the proxy code, but I can take a quick look and RS see if it's something easy. I'm not sure if this will fix the issue,

agentx connection problem

2005-06-13 Thread Paras Sharma
Hi I am having some problem in Subagent/Agentx running on same host. I tried building subagent within master agent using ./configure --with-mib-modules=nstAgentModuleObject worked fine with 5.0.10 and 5.2.1 After that I tried building a separate subagent using 5.2.1 1)

Re: Problem while debugging with DDD

2005-06-13 Thread Sridhar S
Dave, Thanks for clarifying Any inputs on the displaying of following line at the GDB window. list table_iterator.c:1 Line 1 of table_iterator.c is at address 0x40130150 netsnmp_get_table_iterator_handler but contains no code. I checked the Makefiles, '-g' option is included in the list of