[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to properly proxy an OID in snmpd.conf


I want to monitor a JVM server using SNMP, so I have added the
following opts to the JVM:

JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.snmp.interface=

And I've tested it, e.g:

# snmpget -v2c -c public jvmOSName.0

or the equivalent:

# snmpget -v2c -c public .

The main snmpd is using the same IP:

# netstat -anup | grep 161
udp        0      0 *       30851/snmpd
udp        0      0 *       30851/snmpd
udp6       0      0          :::*            8165/java

I need to proxy the JVM specific OID in the snmpd.conf file, so following
the advice in snmpd.examples I'm using:

proxy -v2c -c public udp: .

However, it's not working:

# snmpget -v2c -c public .
JVM-MANAGEMENT-MIB::jvmOSName.0 = No Such Object available on this agent at this OID

What am I doing wrong?

Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature

Reply to: