public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Robin Roevens <robin.roevens@disroot.org>
To: development@lists.ipfire.org
Subject: [PATCH] zabbix_agentd: Set passive check agents to 3 by default
Date: Sat, 29 Mar 2025 00:23:31 +0100	[thread overview]
Message-ID: <20250328233625.68561-1-robin.roevens@disroot.org> (raw)

Hi again

Sorry for the spam, but it seems I made a mistake by setting the number
of Zabbix agent forks to 0 in my last patch.

TLDR; That change breaks the monitoring of OpenVPN Clients in the Zabbix
monitoring template I provide and promote on the IPFire wiki.

After upgrading to Zabbix Agent v7 I noticed it forking 10 instances on
my mini appliance (old version) in contrary to only 3 instances on
previous versions of Zabbix agent, and I wrongly thought my monitoring 
template for it is only using active checks, so I concluded that we simply
don't need passive checks unless a user decides otherwise.
But I forgot that for monitoring OpenVPN clients, my template generates
new hosts (one for each client) on the Zabbix Server, all pointing to the 
same IPFire instance. But those hosts representing OpenVPN clients won't
receive the results of their checks if they are set to active, since
active checks relies on the hostname of the IPFire instance to be the
same as the hostname set in the Zabbix Server. And that is not the case
for those OpenVPN clients.

Regards
Robin

-- 
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door MailScanner en lijkt schoon te zijn.



             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 Robin Roevens [this message]
2025-03-28 23:23 ` [PATCH] zabbix_agentd: Set passive check agents to 3 by default on new installations Robin Roevens

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-1-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