Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. LOGWATCH

LOGWATCH

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 18.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    K
    k_teru
    wrote on last edited by
    #1

    Hi,

    As for logwatch, it is a question.

    The message generated in the past is detected two or more times.
    Isn't there method of not detecting the message in the past detected once?

    --------------------------------------------------

    #The first
    sysmem date      time            Node        Level            log messages
    02-Mar-2011 16:00:21 server-99 Warning "16:00:17.284 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 16:00:26 server-99 Warning "16:00:21.350 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 16:00:26 server-99 Warning "16:00:25.247 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 16:00:31 server-99 Warning "16:00:29.472 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 16:00:36 server-99 Warning "16:00:32.820 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 16:00:41 server-99 Warning "16:00:37.331 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   

    #The second
    02-Mar-2011 18:12:27 server-99 Warning "16:00:17.284 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 18:12:27 server-99 Warning "16:00:21.350 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 18:12:27 server-99 Warning "16:00:25.247 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 18:12:27 server-99 Warning "16:00:29.472 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 18:12:27 server-99 Warning "16:00:32.820 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 18:12:27 server-99 Warning "16:00:37.331 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"

    #The third
    02-Mar-2011 19:55:29 server-99 Warning "16:00:17.284 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 19:55:29 server-99 Warning "16:00:21.350 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 19:55:29 server-99 Warning "16:00:25.247 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 19:55:29 server-99 Warning "16:00:29.472 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 19:55:29 server-99 Warning "16:00:32.820 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"   
    02-Mar-2011 19:55:29 server-99 Warning "16:00:37.331 0 SYSTEM XXX 'aaaaaaaaa' has updated the eeeeeeee Keys"
     
    --------------------------------------------------

    Agent: version 1.0.8    Linux
    Manager: version 1.0.8 Windows 2008 64bit

    Best regards.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Maybe I'm not understanding question completely: you wish to suppress several identical messages coming in short time interval? I see that messages in your example all differs with time stamps - what criteria for suppression you wish to use?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • K
        K
        k_teru
        wrote on last edited by
        #3

        hi!

        Please look at the time stamp and the detection time of the syslog. Do not you detect it since the second times though it is correct movement that detects by the first time?

        Best regards.

        1 Reply Last reply
        0
        • K
          K
          k_teru
          wrote on last edited by
          #4

          hi!

          Nxagentd.log was confirmed.
          The following messages appeared. The log file doesn't rotate.
          The target log file is frequently written.

          nxagentd.log
          -------------------------
          [11-Mar-2011 13:45:05] LogParser: file size differs for stat(8 ) and fstat(/var/log/test.log), assume file rename
          [11-Mar-2011 13:45:05] LogParser: file "/var/log/test.log" (pattern "/var/log/test.log") successfully opened
          -------------------------

          Best regards.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups