[sr-dev] git:master: snmpstats Add information about version and tcp connections

Olle E. Johansson oej at edvina.net
Sun Mar 24 21:53:50 CET 2013


Module: sip-router
Branch: master
Commit: 90c51c7b0f85494bc95afc4b976c142051cb7792
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=90c51c7b0f85494bc95afc4b976c142051cb7792

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date:   Sun Mar 24 21:49:02 2013 +0100

snmpstats Add information about version and tcp connections

Output from SNMPwalk with the new additions:

KAMAILIO-MIB::kamailioNetTcpConnEstablished.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnFailed.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnReset.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnSuccess.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnOpened.0 = Gauge32: 0
KAMAILIO-MIB::kamailioNetTcpConnPassiveOpen.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnReject.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpEnabled.0 = INTEGER: true(1)

KAMAILIO-MIB::kamailioSrvMaxMemory.0 = Gauge32: 33554432
KAMAILIO-MIB::kamailioSrvFreeMemory.0 = Gauge32: 31709088

KAMAILIO-MIB::kamailioSrvCnfFullVersion.0 = STRING: kamailio 4.5.0 (i386/linux) 50af49
KAMAILIO-MIB::kamailioSrvCnfVerName.0 = STRING: kamailio
KAMAILIO-MIB::kamailioSrvCnfVerVersion.0 = STRING: 4.5.0
KAMAILIO-MIB::kamailioSrvCnfVerArch.0 = STRING: i386
KAMAILIO-MIB::kamailioSrvCnfVerOs.0 = STRING: linux
KAMAILIO-MIB::kamailioSrvCnfVerId.0 = STRING: 50af49
KAMAILIO-MIB::kamailioSrvCnfVerCompTime.0 = STRING: 12:12:27 Mar 24 2023
KAMAILIO-MIB::kamailioSrvCnfVerCompiler.0 = STRING: gcc 4.1.2
KAMAILIO-MIB::kamailioSrvCnfVerFlags.0 = STRING: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES

---

 modules/snmpstats/kamailioNet.c     |  327 +++++++++++++++++++++++++++++++++++
 modules/snmpstats/kamailioNet.h     |   19 ++
 modules/snmpstats/kamailioServer.c  |  314 +++++++++++++++++++++++++++++++++
 modules/snmpstats/kamailioServer.h  |   10 +
 modules/snmpstats/mibs/KAMAILIO-MIB |  248 ++++++++++++++++++++++++---
 5 files changed, 893 insertions(+), 25 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=90c51c7b0f85494bc95afc4b976c142051cb7792



More information about the sr-dev mailing list