Greetings to all and thanks in advance to those who take the time to read this thread and also to help solve what I do 
Well what concerns me is the following, it is well known that if we are monitoring a service such as apache, when this is not available will be sent an alert, as we have defined it ... My question is ... Can I somehow detect that a service is trying to lift it down before sending the alert? ie for example, my apache stopped working before I could send the alert through a script on my zabbix agent running a script that does something like / etc/init.d/apache2 restart and if does not work then if you send ADMINISTRATOR the alarm .... If possible, as can be done?

Well what concerns me is the following, it is well known that if we are monitoring a service such as apache, when this is not available will be sent an alert, as we have defined it ... My question is ... Can I somehow detect that a service is trying to lift it down before sending the alert? ie for example, my apache stopped working before I could send the alert through a script on my zabbix agent running a script that does something like / etc/init.d/apache2 restart and if does not work then if you send ADMINISTRATOR the alarm .... If possible, as can be done?
Comment