Close
 Brekeke Website | Bekeke SIP Server | Brekeke PBX   
Notification:  
v3.0.2 Professional
Login
Loading

Monitoring Brekeke SIP Server with Net-SNMP

For details about Net-SNMP configuration, please refer to http://www.net-snmp.org/docs/man/snmpd.conf.html


Monitor the number of Java processes

Add the following lines in the file "snmpd.conf":
    --------------------------------------------------------------------------
    view systemview included .1.3.6.1.4.1.2021.2
    proc java 0 3
    --------------------------------------------------------------------------

If Brekeke SIP Server and its embedded database are working, there will be at least 3 Java processes. By using the above setting, you can monitor the number of Java processes (whether if there are 3 or less Java processes). 

If the number of Java processes is 3, the UCD-SNMP-MIB::prErrorFlag (.1.3.6.1.4.1.2021.2.1.100) indicates 0 as OK.
If the number of Java processes is less than 3, the UCD-SNMP-MIB::prErrorFlag (.1.3.6.1.4.1.2021.2.1.100) indicates 1 as NG.

Note: set "proc java 0 2",  if you are using 3rd party database instead of the embedded database.

 
Acquire the SIP server information

Add the following lines in the file "snmpd.conf".
  --------------------------------------------------------------------------
    view systemview included .1.3.6.1.4.1.8072.1.3.1 
    extend .1.3.6.1.4.1.8072.1.3.1 info /usr/java/jdk/bin/java -cp /tomcat/webapps/proxy/WEB-INF/lib/ondosip.jar svctl localhost info 5
  --------------------------------------------------------------------------

The above method will return the following internal information:

  -------------------------------------------------------------------------- 
  startup-time
  life-length
  sip-packet-total
  stacked-packet
  session-active-invite
  session-peak
  registered-record 
  thread-active-cnt 
  java-use-memory 
  java-free-memory 
  java-total-memory
  java-max-memory
  --------------------------------------------------------------------------


 Related Links: