Hi all,
I have been trying to setup a UserParameter to watch a log file for the string ERROR.
ENV:
Zabbix server 1.8.3
zabbix_agentd:
ZABBIX Agent (daemon) v1.6.1 (04 November 2008)
Compilation time: Apr 20 2010 19:40:47
Setup:
UserParameter=fastchecklog.status,cat /home/fastuser/fastcheck/check_datestamp.log|awk '{print $3}'| grep ERROR
1. I restarted zabbix_agentd.
2. Set debug level to 4 in /etc/zabbix/zabbix_agentd.conf.
3. Tested successfully my key from the zabbix server using zabbix_get:
$ zabbix_get -s nyss0223 -p 10050 -k fastchecklog.status
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
4. On the client I tested using zabbix_agent -t:
zabbix_agent -t fastchecklog.status
fastchecklog.status [t|ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR]
5. I configured the following item setting
Host=xxxx
Description=fastchecklog.status
Type=Zabbix agent
Key=fastchecklog.status
Type of information=Text
Update interval(in sec)=60
Keep history(in days)=7
The item is not updating with any data when I check Monitoring | latest data.
What could the issue be?
I have been trying to setup a UserParameter to watch a log file for the string ERROR.
ENV:
Zabbix server 1.8.3
zabbix_agentd:
ZABBIX Agent (daemon) v1.6.1 (04 November 2008)
Compilation time: Apr 20 2010 19:40:47
Setup:
UserParameter=fastchecklog.status,cat /home/fastuser/fastcheck/check_datestamp.log|awk '{print $3}'| grep ERROR
1. I restarted zabbix_agentd.
2. Set debug level to 4 in /etc/zabbix/zabbix_agentd.conf.
3. Tested successfully my key from the zabbix server using zabbix_get:
$ zabbix_get -s nyss0223 -p 10050 -k fastchecklog.status
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
4. On the client I tested using zabbix_agent -t:
zabbix_agent -t fastchecklog.status
fastchecklog.status [t|ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR]
5. I configured the following item setting
Host=xxxx
Description=fastchecklog.status
Type=Zabbix agent
Key=fastchecklog.status
Type of information=Text
Update interval(in sec)=60
Keep history(in days)=7
The item is not updating with any data when I check Monitoring | latest data.
What could the issue be?
Comment