Parse error in mylex mib file ?

2005-02-18 Thread Brian Ipsen
Hi, I wonder if anyone could help me find out why net-snmp can't parse a mib file from Mylex ? The mib-file can be found at http://62.242.9.138/snmp/mlxraid.mib When doing a walk with "-m all" I get: Expected a Number (EOF): At line 6105 in /usr/share/snmp/mibs/mlxraid.mib Bad parse of TRAP-T

Re: Example config for extend?

2005-02-18 Thread Dave Shield
On Fri, 2005-02-18 at 14:16, Thomas Anders wrote: > Dave Shield wrote: > > That wouldn't affect "exec name" configurations > > as all, but existing configurations based on the "exec MIBNUM" > > form would break at that point. > > Would you mind elaborating on the differences to help those who need

Re: Example config for extend?

2005-02-18 Thread Thomas Anders
Dave Shield wrote: That wouldn't affect "exec name" configurations as all, but existing configurations based on the "exec MIBNUM" form would break at that point. Would you mind elaborating on the differences to help those who need to migrate from this? +Thomas

RE: Managing multiple instances of a MIB

2005-02-18 Thread Kurapati M-G19456
Response as -Original Message- From: Mark Clinton [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 12:27 AM To: Kurapati M-G19456 Cc: net-snmp-users@lists.sourceforge.net; net-snmp-coders@lists.sourceforge.net Subject: Re: Managing multiple instances of a MIB Thank you. I

regarding snmpset

2005-02-18 Thread nithya venkatachalam
  dear team when try to use the snmpset to set UCD-SNMP-MIB::versionUpdateConfig to 1 i get no errors.But when i used the snmpget ,i found that the variable is not actually set. what is the reason for this?? and more over when i set the sysLocation, the values are set,but when the agent resta

Re: Example config for extend?

2005-02-18 Thread Dave Shield
On Fri, 2005-02-18 at 13:28, Howard Jones wrote: > On 18 Feb 2005, at 09:29, Dave Shield wrote: > > Also note that an "exec" directive (without MIBNUM) may well > > automatically create a corresponding entry in the nsExtend tables > > as well. So it's probably worth having at a look as this output

Re: About using netsnmp_xxx_list_data APIs

2005-02-18 Thread Sridhar S
All, I think I can, as told by netsnmp_data_list.3 man page and URL: http://www.net-snmp.org/dev/agent/group__data__list.html. Thanks SrIdhar On Fri, 18 Feb 2005 19:05:14 +0530, "Sridhar S" <[EMAIL PROTECTED]> said: > Hello, > > In my agent, I am required to write a code to implement the link

About using netsnmp_xxx_list_data APIs

2005-02-18 Thread Sridhar S
Hello, In my agent, I am required to write a code to implement the linked list. Instead, I am thinking of using netsnmp_xxx_list_data () APIs implemented in 'data_list.c'. Please let me know your thoughts on this. Thanks SrIdhar --- SF email

Re: SNMP Installation Problem

2005-02-18 Thread Sridhar S
Aparna, After generating the .c and .h files you need to fill up access routines. For more help, look at the examples under agent/mibgroup/ directory. SrIdhar On Fri, 18 Feb 2005 16:10:19 +0530, "Aparna R" <[EMAIL PROTECTED]> said: > Hello, > > I Installed Net-SNMP 5.2.1, ActivePerl and snmp

Re: Example config for extend?

2005-02-18 Thread Howard Jones
On 18 Feb 2005, at 09:29, Dave Shield wrote: HJ> The output from snmpwalk is showing my data, but it's not clear what is HJ> turning up where. I'd like to be able to specify index numbers, so that HJ> (for example) queue-size is always .50 regardless of whether the HJ> server has spam-filter

How to specify the interface to send traps FROM

2005-02-18 Thread David Goodenough
I can see how to configure snmpd (Linux sid) to send V2c traps TO a specific machine, but I can not see how to specify which interface (or ip address) to send the traps from. My problem is that the nodes have various fixed interfaces (both ethernet and wireless) and some transient ones (tunnels)

Re: SNMP Installation Problem

2005-02-18 Thread Kilaru Sambaiah
> > I Installed Net-SNMP 5.2.1, ActivePerl and snmp perl modules. > Using mib2c, I created [ch] files . Is it binary install or source compilation? > > OS. Windows 2000 > > My Issues are:- > > 1. Created .c and .h files and placed it in c:\usr\include\snmp\agent\ > > - or where it sh

Re: Example config for extend?

2005-02-18 Thread Dave Shield
On Thu, 2005-02-17 at 19:47, Robert Story wrote: > On Thu, 17 Feb 2005 13:01:20 + Howard wrote: > HJ>exec .1.3.6.1.4.1.2021.50 qmail-queue /usr/local/bin/qmailmrtg7 q > HJ> /var/qmail/queue > HJ> > HJ> However, when I run the snmpd for net-snmp 5.2.1, I get a bunch of > HJ> warnings that

SNMP Installation Problem

2005-02-18 Thread Aparna R
Hello,     I Installed Net-SNMP 5.2.1, ActivePerl and snmp perl modules. Using mib2c, I created [ch] files .   OS. Windows 2000   My Issues are:-   1. Created .c and .h files and placed it in c:\usr\include\snmp\agent\       - or where it should be placed?    2. I am confused about how to