Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
69ffbe3
fix compiling docsis tool with alma9
olebowle Nov 8, 2022
ff4518f
fix icingaweb2-module-director depends for alma9
olebowle Nov 8, 2022
23b0742
bump genieacs version + fix depends for alma9
olebowle Nov 9, 2022
03c26e9
replace xinetd with tftp+time-nmsprime
olebowle Nov 9, 2022
c242446
use native php for AlmaLinux 9
olebowle Nov 11, 2022
8aa7c56
remove own cacti package
olebowle Nov 11, 2022
b412f3a
libpq5 was renamed to libpq in AlmaLinux 9
olebowle Nov 11, 2022
ed28857
rebuild fft-nmsprime for AlmaLinux 9
olebowle Nov 14, 2022
2f35850
bump dhcpd-pools for Alma9 + add build dependency
olebowle Nov 14, 2022
cacf5a8
upgpkg voipmon + switch to static version
olebowle Nov 14, 2022
483d5b3
update nmsprime-repos SPEC file
olebowle Mar 18, 2024
c858d6b
add icinga2 upstream SPEC file for CentOS 7
olebowle Mar 18, 2024
f3968f0
adjust icinga2 upstream SPEC file for Rocky 9
olebowle Mar 18, 2024
167bd77
build modempoller against postgresql16 libs
olebowle May 3, 2024
e13d290
upgpkg genieacs-1.2.12-1
olebowle May 3, 2024
4272493
add nodejs-axios-nmsprime SPEC file
olebowle May 8, 2024
9efed9c
upgpkg php-sourceguardian-loader (PHP8.3)
olebowle Aug 7, 2024
c0bf8c9
upgpkg modemparser-nmsprime (rocky9 release)
olebowle Aug 7, 2024
cd91179
upgpkg nmsprime-repos
olebowle Aug 7, 2024
90c1418
docsis: add diplexer config
olebowle Jan 27, 2025
ba4cfd6
upgpkg genieacs-1.2.13-1
olebowle Feb 19, 2025
5369eac
adjust dependency
olebowle Feb 19, 2025
64e8d99
upgpkg alertmanager-0.28.0-1
olebowle Feb 19, 2025
8050879
fix copy+paste
olebowle Feb 19, 2025
3e31db7
remove promscale, since it is deprecated + bump version
olebowle Feb 19, 2025
9e4ebc9
upgpkg modemparser-nmsprime-0.0.5-1
olebowle Feb 19, 2025
61380f8
Avoid logrote startup failure when genieacs log file is missing (e.g.…
NinoRy Apr 7, 2025
cc535e4
Merge pull request #48 from nmsprime/bugfix/small-fixes-nino
NinoRy May 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions SOURCES/cacti-1.2.x-csrf-secret.patch

This file was deleted.

11 changes: 0 additions & 11 deletions SOURCES/cacti-1.2.x-disable_log_rotation.patch

This file was deleted.

57 changes: 0 additions & 57 deletions SOURCES/cacti-httpd.conf

This file was deleted.

1 change: 0 additions & 1 deletion SOURCES/cacti.cron

This file was deleted.

8 changes: 0 additions & 8 deletions SOURCES/cacti.logrotate

This file was deleted.

10 changes: 5 additions & 5 deletions SOURCES/docsis_dialplan.patch
Original file line number Diff line number Diff line change
Expand Up @@ -159,20 +159,20 @@ diff --git a/src/docsis_common.h b/src/docsis_common.h
index a3aeefe..b94460e 100644
--- a/src/docsis_common.h
+++ b/src/docsis_common.h
@@ -32,11 +32,11 @@
@@ -25,10 +25,10 @@
#define _DOCSIS_COMMON_H


#ifndef NUM_IDENTIFIERS
-#define NUM_IDENTIFIERS 1427
/* needed in docsis_symtable.h */
-#define NUM_IDENTIFIERS 1539
+#define NUM_IDENTIFIERS 9000
#endif /* NUM_IDENTIFIERS, needed in docsis_symtable.h */

#define MAXINT 2000000000
-#define TLV_VSIZE 1024
+#define TLV_VSIZE 16384
#define TRUE 1
#define FALSE 0


diff --git a/src/docsis_decode.c b/src/docsis_decode.c
index b0a5b77..f4e6ce5 100644
--- a/src/docsis_decode.c
Expand Down
27 changes: 27 additions & 0 deletions SOURCES/docsis_edge.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff --git a/src/docsis_common.h b/src/docsis_common.h
index 424418e..3e626da 100644
--- a/src/docsis_common.h
+++ b/src/docsis_common.h
@@ -25,7 +25,7 @@
#define _DOCSIS_COMMON_H

/* needed in docsis_symtable.h */
-#define NUM_IDENTIFIERS 1536
+#define NUM_IDENTIFIERS 1539

#define MAXINT 2000000000
#define TLV_VSIZE 1024
diff --git a/src/docsis_symtable.h b/src/docsis_symtable.h
index bb2b070..b8a1d76 100644
--- a/src/docsis_symtable.h
+++ b/src/docsis_symtable.h
@@ -106,6 +106,9 @@ symbol_type symtable[NUM_IDENTIFIERS] = {
{ 271, "EnergyManagementCapabilities", 44, 144, (encode_hexstr), (decode_hexstr), 4, 4 }, /* TLV 5.44 MULPIv3.0-I24 Annex C.1.3.1.43 */
{ 272, "CDOCSISCapabilityEncoding", 45, 144, (encode_hexstr), (decode_hexstr), 0, 0 }, /* TLV 5.45 MULPIv3.0-I24 Annex C.1.3.1.44 */
{ 273, "CMSTATUSACK", 46, 144, (encode_uchar), (decode_uchar), 0, 1 }, /* TLV 5.46 MULPIv3.0-I24 Annex C.1.3.1.45 */
+{ 1536, "DownstreamLowerBandEdgeSupport", 54, 144, (encode_hexstr), (decode_hexstr), 0, 1 }, /* TLV 5.54 MULPIv3.1-I25 Annex C.1.3.1.53 */
+{ 1537, "DownstreamUpperBandEdgeSupport", 55, 144, (encode_hexstr), (decode_hexstr), 0, 1 }, /* TLV 5.55 MULPIv3.1-I25 Annex C.1.3.1.54 */
+{ 1538, "DiplexerUpperBandEdgeSupport", 56, 144, (encode_uchar), (decode_uchar), 0, 4 }, /* TLV 5.56 MULPIv3.1-I25 Annex C.1.3.1.55 */
{ 4, "CmMic", 6, 0, (encode_nothing), (decode_md5), 0, 0 }, /* TLV 6 MULPIv3.0-I24 Annex C.1.1.5 */
{ 5, "CmtsMic", 7, 0, (encode_nothing), (decode_md5), 0, 0 }, /* TLV 7 MULPIv3.0-I24 Annex C.1.1.6 */
{ 14, "SwUpgradeFilename", 9, 0, (encode_string), (decode_string), 0, 0 }, /* TLV 9 MULPIv3.0-I24 Annex C.1.2.3 */
Original file line number Diff line number Diff line change
Expand Up @@ -242,5 +242,5 @@ object CheckCommand "latest_configfiles" {
}

object CheckCommand "laravel_debug_status" {
command = [ "/usr/bin/sudo", "/opt/remi/php80/root/usr/bin/php", "/var/www/nmsprime/artisan", "nms:debug-status" ]
command = [ "/usr/bin/sudo", "php", "/var/www/nmsprime/artisan", "nms:debug-status" ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ apply Service "ip_conntrack" {
assign where host.name == NodeName
}

apply Service "systemd_service_" for (service in [ "named", "dhcpd", "xinetd", "firewalld", "nmsprimed", "httpd", "crond", "mariadb", "sshd", "php80-php-fpm", "icinga2", "radiusd", "mongod", "genieacs-cwmp", "genieacs-fs", "genieacs-nbi", "kea-dhcp6" ]) {
apply Service "systemd_service_" for (service in [ "named", "dhcpd", "tftp", "time-nmsprime", "firewalld", "nmsprimed", "httpd", "crond", "mariadb", "sshd", "icinga2", "radiusd", "mongod", "genieacs-cwmp", "genieacs-fs", "genieacs-nbi", "kea-dhcp6" ]) {
import "generic-service"

check_command = "systemd_service"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*/5 * * * * root /usr/bin/bash -c 'test -z "$(icingacli monitoring list services --service=systemd_service_dhcpd --problems)" || /usr/bin/scl enable php80 "php /var/www/nmsprime/artisan nms:dhcp"' > /dev/null 2>&1
*/5 * * * * root /usr/bin/bash -c 'test -z "$(icingacli monitoring list services --service=systemd_service_dhcpd --problems)" || php /var/www/nmsprime/artisan nms:dhcp' > /dev/null 2>&1
2 changes: 1 addition & 1 deletion SOURCES/icingaweb2-module-director-common/nmsprime-icinga
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Defaults:icinga lecture=never,!requiretty
icinga ALL=(root) NOPASSWD: /usr/lib64/nagios/plugins/check_dhcpd-pools.sh
icinga ALL=(root) NOPASSWD: /opt/remi/php80/root/usr/bin/php /var/www/nmsprime/artisan nms\:debug-status
icinga ALL=(root) NOPASSWD: /usr/bin/php /var/www/nmsprime/artisan nms\:debug-status
icinga ALL=(root) NOPASSWD: /usr/bin/supervisorctl status
8 changes: 7 additions & 1 deletion SPECS/alertmanager.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: alertmanager
Version: 0.24.0
Version: 0.28.0
Release: 1
Summary: Prometheus Alertmanager

Expand Down Expand Up @@ -79,5 +79,11 @@ install -dm755 %{buildroot}%{_sharedstatedir}/%{name}
%attr(0755,prometheus,prometheus) %dir %{_sharedstatedir}/%{name}

%changelog
* Wed Feb 19 2025 Ole Ernst <ole.ernst@nmsprime.com> - 0.28.0-1
- Update to version v0.28.0

* Tue Oct 15 2024 Ole Ernst <ole.ernst@nmsprime.com> - 0.27.0-1
- Update to version v0.27.0

* Fri Jun 24 2022 Ole Ernst <ole.ernst@nmsprime.com> - 0.24.0-1
- Initial RPM release
Loading