Ad Widget

Collapse

Several questions.. 'zabbix was restarted error' on logfile monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Monitoring
    Junior Member
    • Oct 2010
    • 10

    #1

    Several questions.. 'zabbix was restarted error' on logfile monitoring

    Hello everyone!

    I have a nice and complete solution to monitor 'homemade" logfiles.
    if intrested, I shall post that on the form.

    But when the server ( zabbix server ) is restarted, this logfile monitoring is not starting again.

    I've done a lot of research on this forum.. but it is TOO big!...
    So that is why I am posting this question..

    Thanks for helping me.
    This a picture of the screen were you can see the error...
    Attached Files
  • Monitoring
    Junior Member
    • Oct 2010
    • 10

    #2
    Ok, this is the solution

    Yesterday I spend a lot of time on this forum.

    I didn't found any information about this error.. but fixed it by myself.
    In the agent log, I saw that the file was read but it was not "shipped" to the server

    I have changed the content of the file, and yes.. the problem was over.
    The agent controls the counter of the logfile. ie. the agent keeps a variable for control of how far he has read.

    ( sorry for my bad english )

    If that number is everytime the same... he don't send anything to the server.
    When the server is restarted... he doesn't count anything until the file ( who is monitord ) is changed.

    Greets Gerard

    Comment

    • wolverine_r2k
      Junior Member
      • Apr 2013
      • 7

      #3
      Originally posted by Monitoring
      Yesterday I spend a lot of time on this forum.

      I didn't found any information about this error.. but fixed it by myself.
      In the agent log, I saw that the file was read but it was not "shipped" to the server

      I have changed the content of the file, and yes.. the problem was over.
      The agent controls the counter of the logfile. ie. the agent keeps a variable for control of how far he has read.

      ( sorry for my bad english )

      If that number is everytime the same... he don't send anything to the server.
      When the server is restarted... he doesn't count anything until the file ( who is monitord ) is changed.

      Greets Gerard

      I am facing the same issue !!! can you please let me know in detail what to do ? Which file should i edit ?

      Comment

      • neogan
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2011
        • 118

        #4
        Originally posted by wolverine_r2k
        I am facing the same issue !!! can you please let me know in detail what to do ? Which file should i edit ?
        I guess if in monitoring log file not changes. You can add to it some char or line manually.
        By the way look at zabbix agent.log with Debug=4, FYI: agent should be active.

        Comment

        • wolverine_r2k
          Junior Member
          • Apr 2013
          • 7

          #5
          Originally posted by neogan
          I guess if in monitoring log file not changes. You can add to it some char or line manually.
          By the way look at zabbix agent.log with Debug=4, FYI: agent should be active.



          Thanks for your advice Neogan. I will go through what you have suggested. Hope I find something positive

          Comment

          Working...