Nxshell : NXCException: Request timed out

Started by tivanni, January 29, 2014, 06:13:53 PM

Previous topic - Next topic

tivanni

Hi,

With nxshell, I execute some of the scripts posted in http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations .
Sometimes the script works, sometime it returns the following exception:
org.netxms.client.NXCException: Request timed out

Here is the command i use to launch the script: java -Dnetxms.server=127.0.0.1 -Dnetxms.admin=admin -Dnetxms.password=mypwd -jar nxshell-1.2.11.jar show_alarms.py

How can i resolve the problems?

Thank you|

tivanni

The value "Agent Command Timeout" impact the execution of the nxshell script? I increase it to 60 sec because my agent execute some long perl  script.

The Request timed out exception is not correlated to the script! I got the exception even if i launch only the nxshell console:

java -D -jar nxshell-1.2.11.jar