Fixup rates tutorial json

This commit is contained in:
DanB
2014-01-15 18:57:17 +01:00
parent 9f84950287
commit 4065bcb58f
8 changed files with 26 additions and 18 deletions

View File

@@ -1,10 +0,0 @@
# CGRateS Monit check script
check process CGRateS with pidfile /var/run/cgrates/cgr-engine.pid
start program = "/etc/init.d/cgrates start"
stop program = "/etc/init.d/cgrates stop"
#if failed host 127.0.0.1 port 2012 type TCP then restart # Rater
#if failed host 127.0.0.1 port 2013 type TCP then restart # History
#if failed host 127.0.0.1 port 2022 type TCP then restart # CDRS
if 5 restarts within 5 cycles then timeout

9
data/monit/cgrates.monit Normal file
View File

@@ -0,0 +1,9 @@
# CGRateS Monit check script
check process CGRateS with pidfile /var/run/cgrates/cgr-engine.pid
start program = "/etc/init.d/cgrates start"
stop program = "/etc/init.d/cgrates stop"
if failed host 127.0.0.1 port 2012 type TCP 4 times within 4 cycles then restart # Rater
if failed host 127.0.0.1 port 2013 type TCP 4 times within 4 cycles then restart # History
if failed host 127.0.0.1 port 2022 type TCP 4 times within 4 cycles then restart # CDRS
if 5 restarts within 20 cycles then timeout

View File

@@ -1,5 +1,5 @@
Tutorial fs_prepaid_csv
=======================
Tutorial FS_CSV
===============
Scenario:
---------

View File

@@ -1,5 +1,5 @@
CGRateS - FSGermanyPrep1
==========================
Tutorial - FS_CSV
=================
Scenario:
---------

View File

@@ -1,5 +1,5 @@
Tutorial fs_prepaid_csv
=======================
Tutorial FS_JSON
================
Scenario:
---------

View File

@@ -1,5 +1,7 @@
#Tag,DestinationsTag,RatesTag
DR_1002_20CNT,DST_1002,RT_20CNT
DR_1002_10CNT,DST_1002,RT_10CNT
DR_1003_20CNT,DST_1003,RT_40CNT
DR_1003_10CNT,DST_1003,RT_10CNT
DR_FS_40CNT,DST_FS,RT_40CNT
DR_FS_10CNT,DST_FS,RT_10CNT
1 #Tag DestinationsTag RatesTag
2 DR_1002_20CNT DST_1002 RT_20CNT
3 DR_1002_10CNT DST_1002 RT_10CNT
4 DR_1003_20CNT DST_1003 RT_40CNT
5 DR_1003_10CNT DST_1003 RT_10CNT
6 DR_FS_40CNT DST_FS RT_40CNT
7 DR_FS_10CNT DST_FS RT_10CNT

View File

@@ -1,5 +1,5 @@
CGRateS - FSGermanyPrep1
==========================
Tutorial FS_JSON
================
Scenario:
---------

View File

@@ -5,6 +5,13 @@ RP_RETAIL1,DR_FS_10CNT,OFFPEAK_EVENING,10
RP_RETAIL1,DR_FS_10CNT,OFFPEAK_WEEKEND,10
RP_RETAIL2,DR_1002_20CNT,PEAK,10
RP_RETAIL2,DR_1003_20CNT,PEAK,10
RP_RETAIL2,DR_FS_40CNT,PEAK,10
RP_RETAIL2,DR_1002_10CNT,OFFPEAK_MORNING,10
RP_RETAIL2,DR_1002_10CNT,OFFPEAK_EVENING,10
RP_RETAIL2,DR_1002_10CNT,OFFPEAK_WEEKEND,10
RP_RETAIL2,DR_1003_10CNT,OFFPEAK_MORNING,10
RP_RETAIL2,DR_1003_10CNT,OFFPEAK_EVENING,10
RP_RETAIL2,DR_1003_10CNT,OFFPEAK_WEEKEND,10
RP_RETAIL2,DR_FS_10CNT,OFFPEAK_MORNING,10
RP_RETAIL2,DR_FS_10CNT,OFFPEAK_EVENING,10
RP_RETAIL2,DR_FS_10CNT,OFFPEAK_WEEKEND,10
1 #Tag DestinationRatesTag TimingTag Weight
5 RP_RETAIL1 DR_FS_10CNT OFFPEAK_WEEKEND 10
6 RP_RETAIL2 DR_1002_20CNT PEAK 10
7 RP_RETAIL2 DR_1003_20CNT PEAK 10
8 RP_RETAIL2 DR_FS_40CNT PEAK 10
9 RP_RETAIL2 DR_1002_10CNT OFFPEAK_MORNING 10
10 RP_RETAIL2 DR_1002_10CNT OFFPEAK_EVENING 10
11 RP_RETAIL2 DR_1002_10CNT OFFPEAK_WEEKEND 10
12 RP_RETAIL2 DR_1003_10CNT OFFPEAK_MORNING 10
13 RP_RETAIL2 DR_1003_10CNT OFFPEAK_EVENING 10
14 RP_RETAIL2 DR_1003_10CNT OFFPEAK_WEEKEND 10
15 RP_RETAIL2 DR_FS_10CNT OFFPEAK_MORNING 10
16 RP_RETAIL2 DR_FS_10CNT OFFPEAK_EVENING 10
17 RP_RETAIL2 DR_FS_10CNT OFFPEAK_WEEKEND 10