Skip to content

Commit 8600375

Browse files
committed
2025.12.1beta
1 parent 078d6db commit 8600375

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
- Binary Check for Logshipping not working due to hyphens
66
- Fluent-bit module not executing properly
77
- Add ca-certificates for alpine variant
8+
- Properly output Zabbix Agent versions
9+
- Fluent-bit 4.2.2
810

911
## 2025.12.0 2025-12-19 <code at nfrastack dot com>
1012

1113
- Initial Tagged release
1214
- Alpine 3.5 -> 3.23 support
1315
- Debian Bookworm and Trixie Support
1416

15-

rootfs/container/base/modules/fluentbit/module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
FLUENTBIT_VERSION=${FLUENTBIT_VERSION:-"v4.2.1"}
5+
FLUENTBIT_VERSION=${FLUENTBIT_VERSION:-"v4.2.2"}
66
FLUENTBIT_REPO_URL=${FLUENTBIT_REPO_URL:-"https://github.com/fluent/fluent-bit"}
77

88
FLUENTBIT_BINARY=/usr/bin/fluent-bit

rootfs/container/base/modules/zabbix/rootfs/container/base/functions/monitoring/zabbix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ EOF
148148
chown -R "${ZABBIX_USER}":root \
149149
"${ZABBIX_AGENT_LOG_PATH}" \
150150
"${ZABBIX_CONFIG_PATH}"
151-
chmod 775 "${ZABBIX_CONFIG_PATH}"
151+
chmod 770 "${ZABBIX_CONFIG_PATH}"
152152
create_logrotate zabbix-agent "${ZABBIX_AGENT_LOG_PATH%/}"/"${ZABBIX_AGENT_LOG_FILE}" zabbix-agent-${logship_version} "${ZABBIX_USER}" root
153153
print_notice "Container configured for monitoring with '${CONTAINER_MONITORING_BACKEND} ${ZABBIX_AGENT_TYPE}'"
154154
}
@@ -160,11 +160,13 @@ nfra_configure_monitoring_zabbix_run() {
160160
print_debug "Starting classic Zabbix Agent"
161161
zabbix_command="zabbix_agentd"
162162
zabbix_agent_type="classic"
163+
ZABBIX_VERSION=$(${zabbix_command} --version | head -n1 | awk '{print $4}')
163164
;;
164165
"2" | "m" | "n" | "modern" | "new" )
165166
print_debug "Starting modern Zabbix agent"
166167
zabbix_command="zabbix_agent2"
167168
zabbix_agent_type="modern"
169+
ZABBIX_VERSION=$(${zabbix_command} -V | head -n1 | awk '{print $3}')
168170
;;
169171
* )
170172
print_debug "No known Zabbix agent type selected"
@@ -198,7 +200,7 @@ nfra_configure_monitoring_zabbix_run() {
198200
setfacl -m g:fail2ban:rwx /var/run/fail2ban/fail2ban.sock
199201
fi
200202

201-
print_start "Starting Zabbix Agent (${zabbix_agent_type}) ${ZABBIX_VERSION}"
203+
print_start "Starting Zabbix Agent ${ZABBIX_VERSION} (${zabbix_agent_type})"
202204
output_on
203205
silent exec s6-setuidgid "${ZABBIX_USER}" ${zabbix_command} -c "${ZABBIX_CONFIG_PATH%/}"/"${ZABBIX_CONFIG_FILE}" -f
204206
}

0 commit comments

Comments
 (0)