Ad Widget

Collapse

Log file monitoring with Zabbix 2.0.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SupportGuy
    Member
    • Mar 2012
    • 30

    #1

    Log file monitoring with Zabbix 2.0.4

    Hello,

    I'm trying to monitor a log file on a server.

    I use the item type "Zabbix agent (active)" with type of information "Log". the update interval is 30 seconds.

    My problem is the information is updated only once, and then, there is no more update on the item.

    The key I use is as following:

    log["<myfile>","checked string",,100]

    The string "checked string" is always present and not changing.

    My file is 11 lines long. The lines are less than 20 caracthers each.

    The version is 2.0.4.

    What have I missed?
  • SupportGuy
    Member
    • Mar 2012
    • 30

    #2
    Solved

    Hello,

    I've found the problem.

    It was due to the fact that the log file was particular, not increasing and appending logs at the en of the file, but always the same number of lines ended by a status "OK" or different.

    I've modified the logfile management in the tool which generates it, it works fine with a file where status update lines are added at the end of he file.

    Comment

    Working...