Monitoring Brekeke SIP Server with Java's SNMP Monitoring featurte
For details about the feature, please refer to http://docs.oracle.com/javase/8/docs/technotes/guides/management/snmp.html
Note:
This method is supported only by Java 8 or older. In the case Brekeke products run on Java 11 or later, use “Net-SNMP” for monitoring. (https://docs.brekeke.com/sip/monitoring-brekeke-sip-server-with-net-snmp)
Setup:
* Replace red part with an IP address
1. In Brekeke SIP Server, set the following at the [Configuration] -> [System] -> [Java VM arguments].
------------------------------------------------------------
-Dcom.sun.management.snmp.port=161
-Dcom.sun.management.snmp.interface=Interface_IP_address
------------------------------------------------------------
2. Edit the ACL file such as “snmp.acl”.
For example:
---------------------------------------------------------
acl = {
{
communities = public, private
access = read-only
managers = SNMP_Manager_IP_address
}
}
---------------------------------------------------------
MIB:
http://docs.oracle.com/javase/8/docs/jre/api/management/JVM-MANAGEMENT-MIB.mib