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. Show agent running config (manual and merged policies)

Show agent running config (manual and merged policies)

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

    Hi I have some agents that have a config file and a couple of agent policies applied. 

    I was wondering if there is a way to see a merged running config with effective settings from the config file and the polices?  Saves hunting through config poll logs for applied policies and then finding the relevant policy to see what config comes in that snippet.

    Ideally it would be a table that showed line by line the config and in another column the winning source of that line (from local config file or from named policy).

    I saw that there is an agent list Agent.RunningConfig available, however if I try to create an object tool to display that parameter it shows up empty.

    Is that parameter populated or do I need a specific regex defined as per some other object tools (like show agent lists).

    Cheers.

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

      Yes, it needs a bit of regex, please try to import attached configuration. 
      At some point we will include this into out-of-the-box object tools


      Obj_tool_agent_running_config.xml

      1 Reply Last reply
      0
      • N
        N
        normalcy
        wrote on last edited by
        #3

        Thanks Filipp, that works.  

        I was close, the only difference was your column config which I had not put in.

        1 Reply Last reply
        0
        • N
          N
          normalcy
          wrote on last edited by
          #4

          Attached is just an idea for what could be useful to see in a final version of this tool, so that you could see the winning source for any given line of the running config.

          Thanks again!


          running-config-mockup.jpg

          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