Hello,
I'm trying to setup some basic log monitoring. (i.e., scrape for error string in /var/log/syslog) I've created the item as follows:
log[/var/log/syslog,error]
Type = Zabbix agent (active)
I've created the trigger as follows:
{dal1vwebmin03d.core.drs.master:log[/var/log/syslog,error].str(error)}=1
I then running "logger error" on the server in question and confirm that the error string makes it to /var/log/syslog. I've also confirmed that the zabbix account has read access to /var/log/syslog. (Added account to adm group on Ubuntu which has read access to the file)
Alerts are not being generated. What am I doing wrong? I've tried creating the trigger several different ways all to no avail.
root@dal1vzabbix01d:~# zabbix_server -V |head -1
zabbix_server (Zabbix) 4.0.5
Thanks,
- Bill
I'm trying to setup some basic log monitoring. (i.e., scrape for error string in /var/log/syslog) I've created the item as follows:
log[/var/log/syslog,error]
Type = Zabbix agent (active)
I've created the trigger as follows:
{dal1vwebmin03d.core.drs.master:log[/var/log/syslog,error].str(error)}=1
I then running "logger error" on the server in question and confirm that the error string makes it to /var/log/syslog. I've also confirmed that the zabbix account has read access to /var/log/syslog. (Added account to adm group on Ubuntu which has read access to the file)
Alerts are not being generated. What am I doing wrong? I've tried creating the trigger several different ways all to no avail.
root@dal1vzabbix01d:~# zabbix_server -V |head -1
zabbix_server (Zabbix) 4.0.5
Thanks,
- Bill
Comment