Ad Widget

Collapse

New item created to test log. Never get anything in last_data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dthacker
    Member
    • Feb 2014
    • 42

    #1

    New item created to test log. Never get anything in last_data

    Version: Zabbix 2.4
    Goal: Trigger an alert when the string "Failed connection attempt to Mediator" (case sensitive) is written to /var/log/messages. Currently getting written to once a minute.

    I've create an item with this key: log[/var/log/messages,Failed connection attempt to Mediator]

    I've created a trigger with this expression: {devhttpl02:log[/var/log/messages,Failed connection attempt to Mediator].nodata(300)}=0

    I've verified that both the item and the trigger are enabled.

    How could I fix or debug the item?

    TIA

    Dave
  • joshuamcdo
    Member
    • Nov 2013
    • 76

    #2
    Did you enable debugging ?

    Assuming you set this up on a client and not the server.

    In the /etc/zabbix_agentd.conf

    DebugLevel=4

    J

    Comment

    Working...