Seems like a pretty straightforward port, nothing looks wrong.
What's the error value that you're seeing from the host_statistics function?
Can you
echo error
Runand see/show us what's printed?
Seems like a pretty straightforward port, nothing looks wrong.
What's the error value that you're seeing from the host_statistics function?
Can you
echo error
Runand see/show us what's printed?