Skip to content

Commit

Permalink
Merge pull request #88 from vrdel/devel
Browse files Browse the repository at this point in the history
Release 0.4.1
  • Loading branch information
themiszamani authored Jun 6, 2024
2 parents 245f685 + 31a6237 commit 7b96a48
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [0.4.1] - 2024-06-06

### Changed

* ARGO-4445 Increase cmd query size for publisher probe inspection

### Added

* ARGO-4524 ams-publisher Rocky 9 RPM

## [0.4.0] - 2022-09-1

### Changed
Expand Down
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Complete list of features are:

## Installation

Component is supported on CentOS 7. RPM packages and all needed dependencies are available in ARGO repositories so installation of component simply narrows down to installing a package:
Component is supported on CentOS 7 and Rocky 9 Linux. RPM packages and all needed dependencies are available in ARGO repositories so installation of component simply narrows down to installing a package:

yum install -y ams-publisher
dnf install -y ams-publisher

Component relies on:
- `argo-ams-library` - interaction with ARGO Messaging
Expand All @@ -42,14 +42,13 @@ Component relies on:

| File Types | Destination |
|-------------------|----------------------------------------------------|
| Configuration | `/etc/ams-publisher/ams-publisher.conf`|
| Configuration | `/etc/ams-publisher/ams-publisher.conf` |
| Daemon component | `/usr/bin/ams-publisherd` |
| Cache delivery | `/usr/bin/ams-alarm-to-queue, ams-metric-to-queue` |
| Init script (C6) | `/etc/init.d/ams-publisher` |
| SystemD Unit (C7) | `/usr/lib/systemd/system/ams-publisher.service` |
| Local caches | `/var/spool/ams-publisher/` |
| Inspection socket | `/var/run/ams-publisher/sock` |
| Log files | `/var/log/ams-publisher/` |
| SystemD Unit (R9) | `/usr/lib/systemd/system/ams-publisher.service` |
| Local caches | `/var/spool/ams-publisher/` |
| Inspection socket | `/run/ams-publisher/sock` |
| Log files | `/var/log/ams-publisher/` |

## Configuration

Expand Down Expand Up @@ -120,12 +119,7 @@ SleepRetry = 300

Components needs to be properly configured before starting it. At least one worker must be spawned so at least one directory queue needs to exist, Nagios should deliver results to it and publisher part of the worker needs to be associated to it. Afterward, it's just a matter of starting the service.

CentOS 6:
```
/etc/init.d/ams-publisher start
```

CentOS 7:
CentOS 7 and Rocky 9:
```
systemctl start ams-publisher.service
```
Expand Down
4 changes: 2 additions & 2 deletions pymod/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from multiprocessing import Process
from ams_publisher.shared import Shared

MAXCMDLENGTH = 128
MAXCMDLENGTH = 1024
STATSOCK = '/run/ams-publisher/sock'


Expand All @@ -30,7 +30,7 @@ def parse_result(query):

shared = Shared()

maxcmdlength = 128
maxcmdlength = 1024
query_consumed, query_published = '', ''

for w in shared.workers:
Expand Down

0 comments on commit 7b96a48

Please sign in to comment.