Commit Graph

2639 Commits

Author SHA1 Message Date
gezimbll
ccdf3ef1f1 added passing events from thresholds to ees 2025-05-26 14:43:43 +02:00
ionutboangiu
7069ed1cd8 Fix rsyslog config to capture logs across distros
Add three conditions to properly capture CGRateS logs:

- programname startswith 'cgr-engine': catches logs from external
  libraries that don't use our syslogger (e.g. diameter conn errors)
- programname startswith 'CGRateS': handles deb-based distros
  where our syslog tag becomes the program name
- msg contains 'CGRateS': handles rpm-based distros where systemd
  journal overrides programname but our tag remains in message content
2025-05-26 08:10:40 +02:00
gezimbll
8bbe36c088 passing *accountID instead of *account in opts 2025-05-21 14:22:44 +02:00
arberkatellari
f6c300c395 Add action type *dynamic_attribute and revise clone functions 2025-05-18 16:12:20 +02:00
gezimbll
c842623f4a fixes on integration tests 2025-05-12 17:31:56 +02:00
gezimbll
dd56a471e7 renamed *localtime dataconverter to *timestring 2025-05-09 14:47:49 +02:00
ionutboangiu
3dceaa5642 add entry for 1.0 dist in reprepro cfg 2025-05-08 16:15:30 +02:00
arberkatellari
534b788508 Add new action types *dynamic_threshold and *dynamic_stats 2025-05-03 21:44:14 +02:00
ionutboangiu
3f8af2f106 add benchmark for remote+replication (incomplete) 2025-04-11 23:46:07 +03:00
arberkatellari
cba94d3efe Update Go version to 1.24.2 and revise deb_package script 2025-04-11 21:13:29 +02:00
arberkatellari
5463eb61c6 Adjust tests to InternalDB constructor 2025-04-11 13:09:50 +02:00
arberkatellari
ed584364d1 Add tests for internal DB dump and restore 2025-04-06 12:08:40 +02:00
arberkatellari
a168f262e2 Add dump and restore functionality for internal DBs 2025-04-06 12:08:40 +02:00
ionutboangiu
c28eb1fda5 update default config sample 2025-03-30 14:01:06 +02:00
ionutboangiu
122afad733 remove previous prometheus integration 2025-03-30 14:01:06 +02:00
ionutboangiu
19f39945d9 make use of gpg/reprepro roles in playbooks 2025-03-25 14:29:44 +01:00
ionutboangiu
ce1640151c update gpg role
now equivalent to gpg task files from deb_packages
2025-03-25 14:29:44 +01:00
ionutboangiu
7497e1c91e extract reprepro logic to dedicated role 2025-03-25 14:29:44 +01:00
ionutboangiu
3ea6d99981 add gpg_key_rotation ansible playbook
ensures reprepro files are signed with the current GPG key, without
having to build new packages.
2025-03-19 12:35:15 +01:00
ionutboangiu
7bb065fda6 rename *dc DataProvider to *em (from EventMetrics) 2025-03-17 17:36:58 +01:00
ionutboangiu
eb6db08465 update Go in chroots when version differs 2025-03-09 10:56:31 +01:00
ionutboangiu
5bd8844537 improve rescue handling with logs and chroot cleanup 2025-03-09 10:56:31 +01:00
ionutboangiu
86a73908c5 merge file find and remove tasks in always block 2025-03-09 10:56:31 +01:00
ionutboangiu
bd03bb8326 clarify task names related to .changes file checks 2025-03-09 10:56:31 +01:00
ionutboangiu
2b33debd31 fix checksum mismatch in ansible go role 2025-03-01 07:25:48 +01:00
arberkatellari
83e8ce3adc Add ability to modify diameter CE answer & replace go-diameter lib 2025-02-28 19:25:48 +01:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
gezimbll
535f2e554e updated rsyslog conf to include logs with tag CGRateS 2025-02-26 12:54:53 +01:00
arberkatellari
39bca3495a Improve *dynaperpaid events for sessions 2025-02-17 08:02:20 +01:00
ionutboangiu
afb3bac6eb Add missing host flag to pjsua_call script 2025-01-24 11:44:21 +01:00
arberkatellari
b8cc20bb7c Add sqlBatchSize to ERS SQL OPTS and adjust delete functionality 2025-01-14 17:04:18 +01:00
arberkatellari
3acc76474d Apply minor changes to FilterRule function's error handling 2025-01-14 17:04:18 +01:00
arberkatellari
2252765e93 Add 'ees_ids' field to ERs readers config 2024-12-20 17:33:45 +01:00
arberkatellari
d35b14b6b9 Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers 2024-12-20 13:26:06 +01:00
ionutboangiu
ea7313a0b6 Add helper script to block localhost ports 2024-12-17 15:18:19 +01:00
ionutboangiu
a50cad7c3f Enforce one changes file per dist + debug info 2024-12-01 20:26:20 +01:00
ionutboangiu
e1229a3a03 Add missing state attribute in file module 2024-12-01 20:26:20 +01:00
ionutboangiu
3f930dacc6 Improve task names in reprepro task file 2024-12-01 20:26:20 +01:00
ionutboangiu
6270885405 Add config sanity checks for elasticsearch ee 2024-11-28 17:24:39 +01:00
ionutboangiu
2511c00db7 Add elsCAPath opt and improve opt comments 2024-11-28 17:24:39 +01:00
ionutboangiu
e982499e71 Update default config sample 2024-11-28 17:24:39 +01:00
ionutboangiu
8d7628410e Make elasticsearch refresh opt configurable 2024-11-28 17:24:39 +01:00
ionutboangiu
f1cdf920df Remove unusable elasticsearch opts 2024-11-28 17:24:39 +01:00
ionutboangiu
7c204f68e0 Update elasticsearch ansible role
- bump version from 8.8.0 to 8.16.1
- don't enable the systemd service by default(just start it)
- add restart handler on config changes
- configure before starting the service
- fix some linter errors
- hardcode auto_create_indexes to true
2024-11-27 16:50:47 +01:00
ionutboangiu
dd045148ad Revise elasticsearch exporter integration test 2024-11-27 16:50:47 +01:00
ionutboangiu
f8bba051ae Revise go role cache clean tasks
Use go env GOMODCACHE for path resolution
Add become: true to prevent permission issues
Check stdout instead of stderr for go clean -x --cache
2024-11-26 14:04:49 +01:00
gezimbll
ee312b13b6 Added dispatchers it tests for rankings and trends 2024-11-23 20:01:25 +01:00
ionutboangiu
b615f2aeba Revise deb_packages ansible playbook
- incoming folder is always cleaned up
- cleanup generated package files prior to moving to incoming
- fix some lint errors
- import cgrates role
- remove go cache clean steps (done at role level now)
- improved formatting
2024-11-22 20:30:13 +01:00
ionutboangiu
32e3adb9fb Revise go setup role
- clean go cache at the role level
- cache cleaning is skipped by default
- fix lint errors
2024-11-22 20:30:13 +01:00
ionutboangiu
a68880a774 Revise cgrates setup ansible role
- allows skipping symlink creation
- symlink binary destinations can be configured
- renamed git_version -> cgrates_branch. This also makes sure
  cgrates_branch variable is being set directly from the role
  and there's no need to configure it in the playbook.
- fixed some linter warnings and slightly improved formatting
2024-11-22 20:30:13 +01:00