Module: kamailio
Branch: master
Commit: 6423b65f8272ad216970b533432f8ebafafdb72c
URL: https://github.com/kamailio/kamailio/commit/6423b65f8272ad216970b533432f8eb…
Author: Vicente Hernando <vhernando(a)systemonenoc.com>
Committer: Vicente Hernando <vhernando(a)systemonenoc.com>
Date: 2015-02-02T12:07:24+01:00
ndb_redis: README file update.
---
Modified: modules/ndb_redis/README
---
Diff: https://github.com/kamailio/kamailio/commit/6423b65f8272ad216970b533432f8eb…
Patch: https://github.com/kamailio/kamailio/commit/6423b65f8272ad216970b533432f8eb…
---
diff --git a/modules/ndb_redis/README b/modules/ndb_redis/README
index 03c5cc9..02a69f7 100644
--- a/modules/ndb_redis/README
+++ b/modules/ndb_redis/README
@@ -96,13 +96,13 @@ Chapter 1. Admin Guide
Specify the details to connect to REDIS server. It takes a list of
attribute=value separated by semicolon, the attributes can be name,
- unix, addr, port and db. Name is a generic identifier to be used with
- module functions. unix is the path to the unix domain socket provided
- by redis server. addr and port are the IP address and the port to
- connect to REDIS server. unix and (addr, port) are mutually exclusive.
- If both appear in same server settings unix domain socket is
- configured. db is the DB number to use (defaults to 0 if not
- specified).
+ unix, addr, port, db and pass. Name is a generic identifier to be used
+ with module functions. unix is the path to the unix domain socket
+ provided by redis server. addr and port are the IP address and the port
+ to connect to REDIS server. pass is the server password. unix and
+ (addr, port) are mutually exclusive. If both appear in same server
+ settings unix domain socket is configured. db is the DB number to use
+ (defaults to 0 if not specified).
You can set this parameter many times, in case you want to connect to
many REDIS servers, just give different attributes and use the specific
@@ -113,7 +113,8 @@ Chapter 1. Admin Guide
Example 1.1. Set server parameter
...
modparam("ndb_redis", "server", "name=srvN;addr=127.0.0.1;port=6379;db=1")
-modparam("ndb_redis", "server", "name=srvX;addr=127.0.0.2;port=6379;db=4")
+modparam("ndb_redis", "server", "name=srvX;addr=127.0.0.2;port=6379;db=4;pass=my
+password")
# Unix domain socket
modparam("ndb_redis", "server", "name=srvY;unix=/tmp/redis.sock;db=3")
Loading stated without config generates a list of error messages, not properly terminated with new line.
0(70227) ERROR: statsd [statsd.c:65]: mod_init(): mod_init_values ip (null) 0(70227) ERROR: statsd [statsd.c:66]: mod_init(): mod_init_values port (null) 0(70227) ERROR: statsd [lib_statsd.c:126]: statsd_init(): Statsd_init ip 127.0.0.1 0(70227) ERROR: statsd [lib_statsd.c:127]: statsd_init(): Statsd_init port 8125 0(70227) ERROR: statsd [statsd.c:68]: mod_init(): Error code in mod_init is 1 0(70227) WARNING: tls [tls_mod.c
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/34