I'm just starting to use Zabbix and i'm needing some help with setting up a Zabbix agent (active) item type so I can monitor a log file.
On a monitored machine
I have the /etc/zabbix/zabbix_agentd.conf modifications:
ServerActive=192.168.100.177
Hostname=Zabbix server
LogFile=/var/log/zabbix/zabbix_agentd.log
Server=192.168.100.177
And the log file im wanting to monitor:
-rw-r--r-- 1 apache apache 2220696 Mar 10 09:23 ssl_error.log
I have added the zabbix user to the apache group:
# usermod -a -G apache zabbix
Restart the zabbix agent
systemctl restart zabbix-agent
Now on the zabbix server HTTP web interface, I select the host and see the items list.
I click on the top right “Create Item”
Here is my item
I then go back to the items page and see “c_webError_1” in the list.
After waiting about an hour I don't see any data coming in on the Latest Data page
Advice?
Thanks.
Comment