zabbix server: 6.0.30
zabbix client: 6.0.29
zabbix server OS: rhel 8.9
zabbix agent OS: rhel 8.9 & rhel 9.3 servers
Hi guys, so I am still very new to zabbix. I have a script that is to restart a systemd service like sshd.service for example. Then I have a trigger action against a group of hosts that is supposed to restart the sshd.service if the service is not running. I purposely stopped the systemd service to see if the trigger action was going to restart it but for the last 3 days, if has not restarted. sometimes, the trigger action will work right away and restart the service.
I'm not sure why sometimes it works and other times like right now, it does nothing.
The trigger action config is: Trigger equals "stage-servers: systemd service: service is not running"
Thank you.
zabbix client: 6.0.29
zabbix server OS: rhel 8.9
zabbix agent OS: rhel 8.9 & rhel 9.3 servers
Hi guys, so I am still very new to zabbix. I have a script that is to restart a systemd service like sshd.service for example. Then I have a trigger action against a group of hosts that is supposed to restart the sshd.service if the service is not running. I purposely stopped the systemd service to see if the trigger action was going to restart it but for the last 3 days, if has not restarted. sometimes, the trigger action will work right away and restart the service.
I'm not sure why sometimes it works and other times like right now, it does nothing.
The trigger action config is: Trigger equals "stage-servers: systemd service: service is not running"
Thank you.
Comment