Help converting a net-snmp file

Started by Sympology, June 24, 2015, 12:01:40 PM

Previous topic - Next topic

Sympology

Hi, for a bit of software I use (Brekeke SIP server), they have given the configuration for net-snmp, but I've no idea how to get this to work with NetXMS. Could anyone help? I presume it's a poll instead of a trap, as what it pull is status reports.

Quote
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/sip/WEB-INF/lib/ondosip.jar svctl localhost info 5
  --------------------------------------------------------------------------
(Note: In this example, java program path is /usr/java/jdk/bin/java and Brekeke SIP Server's installation directory is /tomcat/webapps/sip)


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
  --------------------------------------------------------------------------

Victor Kirhenshtein

Hi!

I suppose this is configuration to allow Brekere SIP server to expose internal metrics via snmpd. So you still have to do it on your server, and then setup NetXMS to access SNMP on that server and read SNMP parameters as usual. Do they provide MIB file as well?

Best regards,
Victor