I need to distribute zabbix agent at a large scale on my servers (RHEL 8), and the requirement is to have all zabbix files deployed on a custom folder, /opt/zabbix, meaning all binaries, logs and config files will be there.
That doesn't seems to be a problem, I can download the pre-compiled tar.gz package and do whatever I want without problems.
My specific concern is what's the best way to deal with agent daemon and startup script, in particular, the compiled binaries do not distribute with systemctl scripts. Is there any workaround on this?
We are using RHEL 8.x and we do not need to support legacy old init.d scripts.
If on the other hand i go with the RPM installation, which is something I can do also, then I will not have the functionality to deploy everything into a custom folder, and logs/config/binaries will be installed on default OS location.
What everyone's recommendation?
Worth mentioning that the agents will not have internet access so I cannot rely on the default yum repo install neither, I have to distribute it.
EDIT: In the past, 5 years ago, I used a custom chkconfig script from vrtareg , but I doubt that still works with systemctl.
That doesn't seems to be a problem, I can download the pre-compiled tar.gz package and do whatever I want without problems.
My specific concern is what's the best way to deal with agent daemon and startup script, in particular, the compiled binaries do not distribute with systemctl scripts. Is there any workaround on this?
We are using RHEL 8.x and we do not need to support legacy old init.d scripts.
If on the other hand i go with the RPM installation, which is something I can do also, then I will not have the functionality to deploy everything into a custom folder, and logs/config/binaries will be installed on default OS location.
What everyone's recommendation?
Worth mentioning that the agents will not have internet access so I cannot rely on the default yum repo install neither, I have to distribute it.
EDIT: In the past, 5 years ago, I used a custom chkconfig script from vrtareg , but I doubt that still works with systemctl.
Comment