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