Project

General

Profile

SNMP MIB missing error; Setting up remote monitoring in port 9060

Hamid Alimohammadi
Added over 4 years ago

Dear all,

I have been working to setup remote monitoring during last few days. I have read the Tigase documentations several times, but seems I have missed something. Any help/hint is appreciated.

I have added bellow line in init.properties file:

--monitoring=jmx:9050,http:9080,snmp:9060

The jmx on port 9050 in jconsole and http:9080 works fine, but there SNMP is not working. Unfortunately we have to use SNMP in our network for monitoring.

When I run snmpwalk with public community on localhost

Everything is ok and I can get the general Linux OIDs on default SNMP port 161

but when I run snmpwalk with public community on localhost:9060

I got the error message SNMPv2-SMI::mib-2 = No Such Object available on this agent at this OID

Bellow is my snmp.acl file with Read-only permission (chmod 400), and this file exist both in tigase/etc and $JRE/lib/management/snmp.acl (in my server at /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55/jre/lib/management)

acl = {

{

communities = public

access = read-only

managers = localhost

}

}

trap = {

{

 trap-community = public

 hosts = localhost

}

}

Could you please help? what is missing that I got this error message SNMPv2-SMI::mib-2 = No Such Object available on this agent at this OID


Replies (1)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 4 years ago

Looks like SNMP on your installation is correctly working. The problem is that you request (as the error says) an object with OID which is not supported or provided by the Tigase server.

Here is the MIB which defined variables supported by Tigase server: https://projects.tigase.org/projects/tigase-extras/repository/revisions/master/entry/src/main/resources/mib/TIGASE-MANAGEMENT-MIB.mib

    (1-1/1)