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. [RESOLVED] Nxagent configuration param - ExecTimeout

[RESOLVED] Nxagent configuration param - ExecTimeout

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 15.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.
  • C
    C
    CTXM
    wrote on last edited by
    #1

    Hi there!

    As I understand, this parameter extends execution timeout for queries done locally on monitored server by netxms agent
    That`s right?

    I have set it to: ExecTimeout=200000
    But still have "Cannot get parameter: communication failure" for an ExternalParameter which 100% is working, because:

    1. we use it on a bunch of servers
    2. it is shell script which runs as expected from CMD

    I have tried to set it as ExternalParameterShellExec, too. Without any luck

    CMD`s output for script:
    ***@***:~# time /***/report_***_idleness.sh 20 Casino    
    OK

    real    0m2.513s
    user    0m0.000s
    sys     0m0.000s

    Output shown is definently stdout and "OK" text is expected!

    Is ExecTimeout really working parameter?
    May be, i need to set some other parameter?

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

      Hello!

      In fact, there are two timeouts - one on agent side, for script execution, and one on server side - for agent response to command. If you have external parameters with long execution time, you should also increase value for server's parameter AgentCommandTimeout, which is 2 seconds by default.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • C
        C
        CTXM
        wrote on last edited by
        #3

        Yep!!!

        That worked.

        little note for every others: for server`s timeout to apply NetXMS server needs to be restarted after change

        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