{ // CGRateS Configuration file // // Used for cgradmin // Starts rater, scheduler "listen": { "rpc_json": ":2012", // RPC JSON listening address "rpc_gob": ":2013", // RPC GOB listening address "http": ":2080", // HTTP listening address }, "data_db": { // database used to store runtime data (eg: accounts, cdr stats) "db_type": "redis", // data_db type: "db_port": 6379, // data_db port to reach the database "db_name": "10", // data_db database name to connect to }, "stor_db": { "db_type": "postgres", // stor database type to use: "db_port": 5432, // the port to reach the stordb "db_password": "CGRateS.org", }, "rals": { "enabled": true, "thresholds_conns": ["*internal"], }, "schedulers": { "enabled": true, // start Scheduler service: }, "cdrs": { "enabled": true, // start the CDR Server service: }, "users": { "enabled": true, "indexes": ["Uuid"], }, "resources": { "enabled": true, "store_interval": "1s", "thresholds_conns": ["*internal"] }, "stats": { "enabled": true, "store_interval": "1s", "thresholds_conns": ["*internal"], }, "thresholds": { "enabled": true, "store_interval": "1s", }, "attributes": { "enabled": true, }, "suppliers": { "enabled": true, }, "chargers": { "enabled": true, "attributes_conns": ["*internal"], }, "sessions": { "enabled": true, "chargers_conns": ["*internal"], "rals_conns": ["*internal"], "cdrs_conns": ["*internal"], }, "apiers": { "enabled": true, "scheduler_conns": ["*internal"], }, }