mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fixup rates tutorial json
This commit is contained in:
@@ -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
9
data/monit/cgrates.monit
Normal 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
|
||||
@@ -1,5 +1,5 @@
|
||||
Tutorial fs_prepaid_csv
|
||||
=======================
|
||||
Tutorial FS_CSV
|
||||
===============
|
||||
|
||||
Scenario:
|
||||
---------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
CGRateS - FSGermanyPrep1
|
||||
==========================
|
||||
Tutorial - FS_CSV
|
||||
=================
|
||||
|
||||
Scenario:
|
||||
---------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Tutorial fs_prepaid_csv
|
||||
=======================
|
||||
Tutorial FS_JSON
|
||||
================
|
||||
|
||||
Scenario:
|
||||
---------
|
||||
|
||||
@@ -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,5 +1,5 @@
|
||||
CGRateS - FSGermanyPrep1
|
||||
==========================
|
||||
Tutorial FS_JSON
|
||||
================
|
||||
|
||||
Scenario:
|
||||
---------
|
||||
|
||||
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user