[RESOLVED] Nxagent configuration param - ExecTimeout
-
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:- we use it on a bunch of servers
- 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
OKreal 0m2.513s
user 0m0.000s
sys 0m0.000sOutput shown is definently stdout and "OK" text is expected!
Is ExecTimeout really working parameter?
May be, i need to set some other parameter? -
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 -
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