Hi,
Started to use Zabbix few days ago, it's going amazing so far, the only problem i have is restarting zimbra services when it's down.
Using ;
and Zimbra;
I've created action through Configuration->Actions->Restart zimbra when stops(screenshots as attached)
My script is;
when zimbra services stops zabbix detecting and running this command through ssh, it says "command executed" but zimbra services is not starts, i've tested this command from remote computer through ssh and it works.
Also i've tried as .sh script then it says command not executed, syntax error on line 1.
What am i missing here?
Started to use Zabbix few days ago, it's going amazing so far, the only problem i have is restarting zimbra services when it's down.
Using ;
HTML Code:
zabbix_server (Zabbix) 6.0.15
Revision 287da69c170 31 March 2023, compilation time: Mar 31 2023 11:54:32
Copyright (C) 2023 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).
Compiled with OpenSSL 1.1.1f 31 Mar 2020
Running with OpenSSL 1.1.1f 31 Mar 2020
HTML Code:
Release 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P37.
My script is;
HTML Code:
sudo -u zimbra /opt/zimbra/bin/zmcontrol restart
Also i've tried as .sh script then it says command not executed, syntax error on line 1.
What am i missing here?
Comment