Ad Widget

Collapse

log monitoring doesn't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arucard
    Junior Member
    • Jul 2012
    • 10

    #1

    log monitoring doesn't work

    Hi,

    i tried to set up log monitoring on my zabbix server (v 2.0.1).
    I did:
    item: log["/file","test","UTF-8",100,all]
    interval: 10
    type: Zabbix agent (active)

    After sometime i looked at latest data and see:
    last checked: never

    On server with zabbix_agent i've got:

    root# tail /file | grep test
    test passed
    root# ls -l /file
    -rw-r--r-- 1 root root 1265622 2012-07-28 11:35 /file

    so, pattern exists in file. File permissions are good, but zabbix doesn't read it.
    I've changed DebugLevel to 4 but i can't see any information about this check.

    I even checked with lsof command if there is any information that zabbix_agentd reads this file - of course nothing.

    Can somebody help me with this and give some advices?

    Regards,
    a.
Working...