Hello fellow zabbix users,
I am running 3.0 zabbix server and the agents on hosts vary from 2.0.3 to 3.0.0.
I have a log file that updates once a day at 8:00 and if the word "loppuu" isn't the last line, the process is jammed. The log is one file without log rotation. And it's a windows machine.
Currently my item for this is:
log[D:\Access_reporting\Solaris\DBs_and_scripts\export Solaris.log,loppuu]
And the trigger is:
{host:log[D:\Access_reporting\Solaris\DBs_and_scripts\export Solaris.log,loppuu].nodata(30m)}=1
and
{host:log[D:\Access_reporting\Solaris\DBs_and_scripts\export Solaris.log,loppuu].time()}=081500
So it checks the log at 8:15 and if the past 30 minutes (the process only last few minutes) there is no word "loppuu" it should alert me, right?
But if the process has failed it doesn't alert me even though it hasn't got any latest data, so my question is what is wrong with my trigger?
thanks for help
I am running 3.0 zabbix server and the agents on hosts vary from 2.0.3 to 3.0.0.
I have a log file that updates once a day at 8:00 and if the word "loppuu" isn't the last line, the process is jammed. The log is one file without log rotation. And it's a windows machine.
Currently my item for this is:
log[D:\Access_reporting\Solaris\DBs_and_scripts\export Solaris.log,loppuu]
And the trigger is:
{host:log[D:\Access_reporting\Solaris\DBs_and_scripts\export Solaris.log,loppuu].nodata(30m)}=1
and
{host:log[D:\Access_reporting\Solaris\DBs_and_scripts\export Solaris.log,loppuu].time()}=081500
So it checks the log at 8:15 and if the past 30 minutes (the process only last few minutes) there is no word "loppuu" it should alert me, right?
But if the process has failed it doesn't alert me even though it hasn't got any latest data, so my question is what is wrong with my trigger?
thanks for help