mbeals Posted January 3, 2008 Share Posted January 3, 2008 I have a piece of php code that uses the snmpwalk to poll info from several different servers. The code polls 4 different OIDS in a row on a server, logs the info to a DB and then moves on to the next server. I developed the code on an old POS machine, and everything worked fine. I migrate the code over to a faster machine, taking it out of the dev stage, and suddenly snmpwalk starts to fail on me. The two machines are identical in terms of OS and file structure. One is just significantly faster then the other. Since the code doesn't fail in the same place every time (and sometimes it actually finishes), I'm wondering if it is trying to start the next snmpwalk before the previous has time to fully exit and complete. It didn't do it before because the old machine was much slower. Does this sound about right? Is there a trick to make php wait (like the sleep shell command)? Quote Link to comment https://forums.phpfreaks.com/topic/84365-snmpwalk-behaving-differently-on-different-servers/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.