Hi All,
I wrote a script that will add an application name to a log file when the application is down, for example in the log file whoisdown.log the following will be in the log file if application mail is down
#cat /etc/zabbix/scripts.whoisdown.log
mail
#
when another application named sas is down, the logfile will contain the word
#cat /etc/zabbix/scripts.whoisdown.log
sas
#
Is there any way that I can trigger on this, for example if the trigger sees any word in the logfile, it will trigger and display the word, example if the mail and sas appllication is down, I want 2 alarms or triggers, one for mail and one for sas? If the logfile only contains the word mail, then only one trigger must be active IE mail
I wrote a script that will add an application name to a log file when the application is down, for example in the log file whoisdown.log the following will be in the log file if application mail is down
#cat /etc/zabbix/scripts.whoisdown.log
#
when another application named sas is down, the logfile will contain the word
#cat /etc/zabbix/scripts.whoisdown.log
sas
#
Is there any way that I can trigger on this, for example if the trigger sees any word in the logfile, it will trigger and display the word, example if the mail and sas appllication is down, I want 2 alarms or triggers, one for mail and one for sas? If the logfile only contains the word mail, then only one trigger must be active IE mail
Comment