Re: Problem with installation (configure error)

2005-09-19 Thread the-law
Hello, here is the code from line 15 to 25 from the ./configure file: # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this f

RE: Problems with mib2c oid error yet snmptranslate works fine...

2005-09-19 Thread Ying Wang(CD)
Jesus,   ># mib2c -c mib2c.conf -I /usr/local/share/snmp -f rhino CISCO-RHINO-MIB   Use the module name/ table name not name of MIB, please try again.   Ying   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 2005年9月20日 12:21 T

RE: Problems with mib2c oid error yet snmptranslate works fine...

2005-09-19 Thread Jesus . Altuve
Thanks, Ying Wang but it doesn't work either...  here's what I tried: # export MIBS=all# mib2c -c mib2c.conf -I /usr/local/share/snmp -f rhino CISCO-RHINO-MIB  You didn't give mib2c a valid OID to start with.  IE, I could not findany information about the mib nod

RE: Problems with mib2c oid error yet snmptranslate works fine...

2005-09-19 Thread Ying Wang(CD)
Try this: First make sure your mib is in right scope the mib2c can search, the default path is /usr/local/share/snmp/mibs/. Then, execute "exports MIBS=ALL". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 2005年9月20日 11:15 To:

[SOLVED]: the accurate description of the snmp error

2005-09-19 Thread Ying Wang(CD)
Hi Dave, Thank you! I got it. > With SNMPv1, a read-only community (not user) trying to > SET a value will result in a noSuchName error. I still think noSuchName is not a suitable error type for this case. BR yolanda -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent

Problems with mib2c oid error yet snmptranslate works fine...

2005-09-19 Thread Jesus . Altuve
Hi List, I'm having trouble converting MIB files to .c and .h files using mib2c. I'm doing as follows:         $ MIBS="+UCD-DISKIO-MIB" mib2c -c mib2c.conf UCD-DISKIO-MIB But I get this error:         You didn't give mib2c a valid OID to start with.  IE, I could not find         any informatio

Re: Problem with installation (configure error)

2005-09-19 Thread Danny Milosavljevic
Hi, [EMAIL PROTECTED] schrieb: Hello, when I try to run ./configure, I get the following error: linux:/net-snmp-5.2.1.2 # sh ./configure : command not found4: ./configure: line 22: syntax error near unexpected token `elif' ./configure: line 22: elif test -n "${BASH_VERSION+set}" && (set -o po

Problem with installation (configure error)

2005-09-19 Thread the-law
Hello, when I try to run ./configure, I get the following error: linux:/net-snmp-5.2.1.2 # sh ./configure : command not found4: ./configure: line 22: syntax error near unexpected token `elif' ./configure: line 22: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then What do

RE: To get the CPU/Memory utilization for Juniper router

2005-09-19 Thread Jim Su
Hi Dave: Thanks! I haven't tried it yet. I don't have Juniper router available in this moment. But I did run snmpwalk and snmpget to poll some counter which the object-id is the instance number (composed by router IP). It works fine. So either snmpget and snmpwalk will still return

Re: the accurate description of the snmp error

2005-09-19 Thread Dave Shield
On Mon, 2005-09-19 at 13:49 +0800, Ying Wang(CD) wrote: > Where can I find the accurate description of the snmp error? In the SNMP specification documents - RFC 1157 for SNMPv1, RFC 1905 for SNMPv2c, RFCs 3414 and 3416 for SNMPv3/USM. > Which error is right when a invalid user to access mib, >

Re: To get the CPU/Memory utilization for Juniper router

2005-09-19 Thread Dave Shield
On Mon, 2005-09-19 at 12:07 +0800, Jim Su wrote: >It seems to me the jnxOperatingCPU.9.1.0.0 is one of > the instance returned by snmpwalk of jnxOperatingCPU. Yes - that sounds likely, from your description. > Can I run the snmpwalk directly on object-id jnxOperatingCPU.9.1.0.0 > to get the