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. Failed to disable log parsing using a template

Failed to disable log parsing using a template

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 50.2k 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.
  • A
    A
    abkulakli
    wrote on last edited by
    #1

    I wanted to disable log parsing on windows nodes and removed log parser policies from agent config in template. However I get all events until I manually delete db file in appdata folder. Is it a bug or am I missing something?

    I am using ver 3.0

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      One possible thing is that currently templates are applied to nodes when the Agent Policies tab in management console is closed. While that tab stays open, changes are saved in server's DB but not applied. If this is not the reason, please describe step-by-step sequence of your actions.

      1 Reply Last reply
      0
      • A
        A
        abkulakli
        wrote on last edited by
        #3

        Thanks for the reply. Here are the steps I've done

        There is a auto applied template applied to windows server machines which has 4 log parser configs for Securiy event parsing. I wanted to test ForwardedEvents parsing, so decided to disable Security event parsing configs to see only Forwarded Events. Here are the couple of ways I tried.

        1. Automatic Apply Rules: Both checkboxes are selected (apply and remove). Changed script to "return false;". Wait for the template is removed. Still getting Security events.
        2. Edited log parser configs in agent policies in the template to get no event. Forced deployment of agent policies. Still getting Security events.
        3. Deleted log parser configs in agent policies in the template. Forced deployment of agent policies. Still getting Security events.
        4. (The template has no log parsing configs now) For a node that I want to remove log parser config, stopped nxagent, deleted C:\Windows\System32\config\systemprofile\AppData\Local\nxagentd folder, started nxagent. Folder got created and I've achived my goal. Not getting Security events.
        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          We've managed to replicate similar behavior that could be related to what is happening on your system - when node is removed from template, the .xml does not get deleted from that node. You can follow resolution progress here: https://track.radensolutions.com/issue/NX-1704

          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