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. No output from AgentExecuteActionWithOutput

No output from AgentExecuteActionWithOutput

Scheduled Pinned Locked Moved Support
1 Posts 1 Posters 25.0k 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.
  • J
    J
    johnnyva
    wrote on last edited by
    #1

    Server environments:

    • Instance 1 = v3.8.166 on Ubuntu Bionic (AgentExecuteActionWithOutput doesn't work)
    • Instance 2 = v3.4.313 on Ubuntu Xenial (AgentExecuteActionWithOutput works)

    When executing nxsl script against Instance 1 environment, and running the following command, I get no output.  This has been a thing for a while (going off my poor memory, I'm sure it used to work, but I don't think it has since 3.6ish? but I could be wrong and maybe it's never worked...)

    println(AgentExecuteActionWithOutput($node, "echo test"));
    

    This should print out "test".
    When running this against our Instance 2 environment, I get the expected result (i.e. it prints out "test").

    This could be a agent config or setting somewhere but struggling to find it.

    Both servers have almost the same nxagentd.conf execpt for the MasterServers settings.

    Both have the following nxagentd.conf

    # Log File
    LogFile=/var/log/nxagentd
    
    # IP white list, can contain multiple records separated by comma.
    # CIDR notation supported for subnets.
    MasterServers=<redacted>,127.0.0.0/8
    
    SubAgent = filemgr.nsm
    
    [filemgr]
    RootFolder = /
    

    And when running the nxagentd -C on the working server instance, it does not contain any extra agent settings that might have been applied by agent policies.

    Any ideas?

    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