From: Robin Roevens <robin.roevens@disroot.org>
To: development@lists.ipfire.org
Cc: Robin Roevens <robin.roevens@disroot.org>
Subject: [PATCH] zabbix_agentd: Set passive check agents to 3 by default on new installations.
Date: Sat, 29 Mar 2025 00:23:32 +0100 [thread overview]
Message-ID: <20250328233625.68561-2-robin.roevens@disroot.org> (raw)
In-Reply-To: <20250328233625.68561-1-robin.roevens@disroot.org>
Zabbix Agent since v7 by default forks 10 instances to listen for and concurrently execute incoming (passive) checks. This was only 3 in previous versions and should be plenty on an IPFire instance where resources can be scarce.
Users with an existing installation will have to manually add the parameter to their config if they don't want the Zabbix new default of 10 . This will be documented in the wiki.
Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
---
config/zabbix_agentd/zabbix_agentd.conf | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/config/zabbix_agentd/zabbix_agentd.conf b/config/zabbix_agentd/zabbix_agentd.conf
index a5a608d83..c9e041113 100644
--- a/config/zabbix_agentd/zabbix_agentd.conf
+++ b/config/zabbix_agentd/zabbix_agentd.conf
@@ -13,12 +13,13 @@
Server=127.0.0.1
ServerActive=127.0.0.1
-# Number of pre-forked instances of zabbix_agentd that process passive checks.
-# On IPFire this is set to 0 to disable passive checks and only allow active
-# checks by default.
-# Set this value in a range of 1-100 to enable passive checks or comment it
-# out to revert to the Zabbix agent default (10).
-StartAgents=0
+# Number of pre-forked instances of zabbix_agentd that concurrently process
+# passive checks.
+# On IPFire this is by default set to 3 to minimize the required resources.
+# This parameter can be increased up to 100 if you have a lot of slow-running
+# checks, and the agent acts as the bottleneck.
+# Or set to 0 to disable passive checks.
+StartAgents=3
# List of comma delimited IP addresses that the agent should listen on
# for passive checks.
--
2.49.0
--
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door MailScanner en lijkt schoon te zijn.
prev parent reply other threads:[~2025-03-28 23:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 23:23 [PATCH] zabbix_agentd: Set passive check agents to 3 by default Robin Roevens
2025-03-28 23:23 ` Robin Roevens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250328233625.68561-2-robin.roevens@disroot.org \
--to=robin.roevens@disroot.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox