Ad Widget

Collapse

Trigger problem for log file monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicolas.rabine
    Junior Member
    • Jan 2010
    • 7

    #1

    Trigger problem for log file monitoring

    Hello,

    I'm trying for the first time to monitor a log file with an item and a trigger.

    Here is the configuration I've done :

    - Item "Zabbix agent (active)" configuration :
    log["D:\linkbynet\scripts\Zabbix\fichier.txt","error", "UTF-8",100]
    - Trigger configuration :
    {Host_Nico:log["D:\linkbynet\scripts\Zabbix\fichier.txt","error", "UTF-8",100].str(error)}=1

    I want the trigger to send an alarm when the word "error" is found in the file "D:\linkbynet\scripts\Zabbix\fichier.txt" on the agent side, but the trigger is never sending alarms even though the file has the word "error".

    Could you please help about it?

    Thanks a lot in advance.

    Nicolas
Working...