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
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
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
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:
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
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
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
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
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
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,
>
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
11 matches
Mail list logo