I try to monitor one log file with the following configuration
Item
Description 'ZABBIX Server
hp log oracle access monitoring'
Type ZABBIX agent (active)
Key log[/tmp/php_errorlog,ORA-]
Type of information Log
Update interval (in sec) 3
Trigger "Trigger for PHP Oracle Access"
Name Trigger for PHP Oracle Access
Expression {ZABBIX Server:log[/tmp/php_errorlog,ORA-].nodata(0)}#1
I can get the triger while the logfile reports an error.
I wonder how I can monitor the numbers of error reports in the logfile so that I can use some graph to show it out.
Item
Description 'ZABBIX Server
hp log oracle access monitoring' Type ZABBIX agent (active)
Key log[/tmp/php_errorlog,ORA-]
Type of information Log
Update interval (in sec) 3
Trigger "Trigger for PHP Oracle Access"
Name Trigger for PHP Oracle Access
Expression {ZABBIX Server:log[/tmp/php_errorlog,ORA-].nodata(0)}#1
I can get the triger while the logfile reports an error.
I wonder how I can monitor the numbers of error reports in the logfile so that I can use some graph to show it out.
Comment