Ad Widget

Collapse

Problem with add log monitor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • a_minor_bush
    Junior Member
    • May 2018
    • 2

    #1

    Problem with add log monitor

    Hi everyone,
    i'm new user Zabbix and i have problem with add log monitor tomcat's application:

    1. Step: Add Items
    - Zabbix agent (active)
    - key: log[/home/application/logs/catalina.out,ERROR]
    - update interval: 30s
    - history storage period: 90d

    2. Step: Add triggers
    - {server:log[/home/application/logs/catalina.out,ERROR].regexp("ERROR")}>0

    3. Step: Test
    - echo "ERROR" >> /home/application/logs/catalina.out


    ...and my dashboard is empty. What did I forget about?


    best regards

  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please check the screen of latest data.
    Have you acquired log contents with the created item?

    Comment

    • a_minor_bush
      Junior Member
      • May 2018
      • 2

      #3
      hmmm...

      in Latest data section I dont see that item.

      Comment


      • Atsushi
        Atsushi commented
        Editing a comment
        Please display the item list of the host and check whether there is a red mark on the right side of the log item.
        If the red mark is displayed, please move the mouse pointer to that red mark and check the message.

        Is not the Zabbix agent authorized to access files?
        Please check not only the file but also the permissions of the directory, so that the Zabbix agent can access it.

        Details should also be output to the log file.
    Working...