hi all,
/usr/local/zabbix/sbin/zabbix_server -V
ZABBIX Server (daemon) v1.6.5 (revision 7442) (3 April 2009)
/usr/local/zabbix/sbin/zabbix_agentd -V
ZABBIX Agent (daemon) v1.6.5 (revision 7442) (3 April 2009)
zabbix_agentd.conf :
-------
Server=IP-Adress
Hostname=Zabbix Server
-------
I want to control/monitor the zabbix server log file /tmp/zabbix_server.log
If the strings "error" appears in the file I want to get a notice
Therefore I created an Item for the "Zabbix Server"
------------
Type : Zabbix agent (active)
Key : log[/tmp/zabbix_server.log,error]
Type of information : log
Applications: Log File
-------------
The trigger looks like this:
----------
{ZABBIX Server:log[/tmp/zabbix_server.log,error].str(error)}=1
Severity: Average
-----------
In the GUI "Monitoring -> Last Data -> Log Files" I can see contet of the
log file:
----------
5530:20090810:151240 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
5530:20090810:151440 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
5530:20090810:151640 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
5530:20090810:151840 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
-------------
Why this messages appears in the log file ?
I think the log file mointoring works, otherwise I would not see the content
best regards, Kai
/usr/local/zabbix/sbin/zabbix_server -V
ZABBIX Server (daemon) v1.6.5 (revision 7442) (3 April 2009)
/usr/local/zabbix/sbin/zabbix_agentd -V
ZABBIX Agent (daemon) v1.6.5 (revision 7442) (3 April 2009)
zabbix_agentd.conf :
-------
Server=IP-Adress
Hostname=Zabbix Server
-------
I want to control/monitor the zabbix server log file /tmp/zabbix_server.log
If the strings "error" appears in the file I want to get a notice
Therefore I created an Item for the "Zabbix Server"
------------
Type : Zabbix agent (active)
Key : log[/tmp/zabbix_server.log,error]
Type of information : log
Applications: Log File
-------------
The trigger looks like this:
----------
{ZABBIX Server:log[/tmp/zabbix_server.log,error].str(error)}=1
Severity: Average
-----------
In the GUI "Monitoring -> Last Data -> Log Files" I can see contet of the
log file:
----------
5530:20090810:151240 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
5530:20090810:151440 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
5530:20090810:151640 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
5530:20090810:151840 Active parameter [log[/tmp/zabbix_server.log,error]] is not supported by agent on host [ZABBIX Server]
-------------
Why this messages appears in the log file ?
I think the log file mointoring works, otherwise I would not see the content
best regards, Kai

Comment