Hello everyone,
I would like to know if it's possible to somehow start a shell/python script on a server when its zabbix-server.service is currently down or disabled.
If itry to launch a script i receive following message, which is obviously because of the down zabbix-server.service

The case would be for a passive zabbix server to manually start a script which restarts or starts the zabbix-server script.
The passive Server is periodically getting its DB replaced by another zabbix server with a basic script containing a SQLdump.
These 2 Servers are independed from each other, not configured as HA and seperated by quite a distance.
I tried tinkering with some custom php file which should enable the service once it is launched by a button containing the custom file,
if you have any better advice, feel free to reach out !
Thanks and best regards
I would like to know if it's possible to somehow start a shell/python script on a server when its zabbix-server.service is currently down or disabled.
If itry to launch a script i receive following message, which is obviously because of the down zabbix-server.service
The case would be for a passive zabbix server to manually start a script which restarts or starts the zabbix-server script.
The passive Server is periodically getting its DB replaced by another zabbix server with a basic script containing a SQLdump.
These 2 Servers are independed from each other, not configured as HA and seperated by quite a distance.
I tried tinkering with some custom php file which should enable the service once it is launched by a button containing the custom file,
if you have any better advice, feel free to reach out !
Thanks and best regards
Comment