[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    [sr-dev] git:master: snmpstats Add support for the Websocket module statistics
From:       Olle E. Johansson <oej () edvina ! net>
Date:       2013-03-30 8:54:40
Message-ID: 20130330085440.96BD8EF807D () rimmer ! ryngle ! com
[Download RAW message or body]

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


Author: Olle E. Johansson <oej@edvina.net>
Committer: Olle E. Johansson <oej@edvina.net>
Date:   Sat Mar 30 09:49:16 2013 +0100

snmpstats Add support for the Websocket module statistics

Hint to developers: If you add statistics and selects in your module, you
make it very easy to add SNMP support for your module. Then SNMPstats
can just use generic APIs to find your data. Please also add a generic
way of finding out if a module is configured and used too, if possible.
Sometimes modules are just loaded, but not used anywhere. Better to
reflect real data in SNMP if possible.

Using the old "SER" way of using selects for config data that
is allowed to change at runtime opens up for SNMP writes to manage
your module as well.

And of course, using selects and counters/statistics variables also
helps the RPC interface, so it's both cool and the Right Thing To Do (TM).

Yes, commit messages can be informative as well. :-)

---

 modules/snmpstats/kamailioNet.c     |  279 ++++++++++++++++++++++++++++++++++-
 modules/snmpstats/kamailioNet.h     |    9 +
 modules/snmpstats/mibs/KAMAILIO-MIB |  104 +++++++++++++-
 3 files changed, 382 insertions(+), 10 deletions(-)

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


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic