I can't reopen
ZBX-4826, so feell free to close this bug report and reopen the old one .
I'm having a bunch of linux based NAS that show a 'timeout wile executing script' when queriyng system.uname and system.hostname.
this is using an agent with normal priority so the answer to
ZBX-4826 don't apply.
The boxes have somehow slow CPUs, but still...
According to source code, on unix/linux hostname and uname are retrieved by forking a shell running hostname and uname -a.
looking at coreutils source for these 2 tools, I think the data could be easily retrieved without the forks, the same way it's done for the windows version of the agent...