There is one device in the nodes file. The output does in fact have 2 lines the first of those being the header row and the second is the only real line of code. I can snmpwalk on any of those variables and there are several lines of code returned doing it manually.
When the script runs against 3 or 4 devices it takes a couple of minutes more to execute so I'm sure it's polling everything but just not writing it to a file.