It seems that remote commands with really long paths return ZBX_NOTSUPPORTED.
Here is the log of a remote command that fails to execute:
sudo /etc/rc.d/init.d/httpd-arincd3phweb start
###
003346:20070303:025151 Got line:system.run["sudo /etc/rc.d/init.d/httpd-arincd3phweb start",now
003346:20070303:025151 Sending back:ZBX_NOTSUPPORTED
###
Here is the log of a remote command that executes:
sudo /etc/init.d/httpd-arincd3phweb start
###
003347:20070303:025445 Got line:system.run["sudo /etc/init.d/httpd-arincd3phweb start",nowait]
003347:20070303:025445 RUN_COMMAND cmd = 'system.run["sudo /etc/init.d/httpd-arincd3phweb start",nowait]'
003347:20070303:025445 RUN_COMMAND flag = 'nowait'
003347:20070303:025445 Run remote command '"sudo /etc/init.d/httpd-arincd3phweb start"'
003347:20070303:025445 RUN_COMMAND to be started as NOWAIT
###
Is this a bug?
Thanks!
Here is the log of a remote command that fails to execute:
sudo /etc/rc.d/init.d/httpd-arincd3phweb start
###
003346:20070303:025151 Got line:system.run["sudo /etc/rc.d/init.d/httpd-arincd3phweb start",now
003346:20070303:025151 Sending back:ZBX_NOTSUPPORTED
###
Here is the log of a remote command that executes:
sudo /etc/init.d/httpd-arincd3phweb start
###
003347:20070303:025445 Got line:system.run["sudo /etc/init.d/httpd-arincd3phweb start",nowait]
003347:20070303:025445 RUN_COMMAND cmd = 'system.run["sudo /etc/init.d/httpd-arincd3phweb start",nowait]'
003347:20070303:025445 RUN_COMMAND flag = 'nowait'
003347:20070303:025445 Run remote command '"sudo /etc/init.d/httpd-arincd3phweb start"'
003347:20070303:025445 RUN_COMMAND to be started as NOWAIT
###
Is this a bug?
Thanks!
Comment