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: Add IPFire services.get item
Date: Tue, 10 Sep 2024 23:12:30 +0200	[thread overview]
Message-ID: <20240910212924.1685603-1-robin.roevens@disroot.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

Hi all,

This patch introduces again the ability for Zabbix to get information
about the running IPFire services. This functionality was already
submitted a long while ago but was rejected because the perl script behind
it contained the same 'ugly code' as services.cgi contained back then.
Meanwhile the code of services.cgi was updated by both me, adding more
generic addon services discovery using new pakfire functions, and more
recently by Michael with new general functions for finding pids and memory
consumption of services.

So I now refactored my services-discovery-perl-script, that will be used
by the zabbix-agent if the Zabbix server requests services information, 
to use the same methods as currently used in services.cgi, using those new 
functions, hoping that this feature now can be accepted into IPFire.


Note: I don't change the PAKVER in this patch, which should not be
needed if this patch is applyed shortly after my previous patch updating
zabbix_agentd to v6.0.33

Regards

Robin

             reply	other threads:[~2024-09-10 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10 21:12 Robin Roevens [this message]
2024-09-10 21:12 ` 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=20240910212924.1685603-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