AidanEnos
MIS
- Dec 11, 2000
- 189
Ok... logically this is what I want.
I want to run a script called "SNMPCHECK_Customer_A"
The script will ask for source file of the site list "site_list.txt"
Then it will ask for Community string "public123"
The script will ping the first entry in the list, if it responds then it will do the SNMPwalk (below), if the ping fails create the text file and just type "Ping Fail"
Now it will perform a SNMPwalk on each device in the list using the input community string, and output the data to a file it will create called SiteA_DDMMYYYYHHmm.txt (site name date time.txt)
I want to run a script called "SNMPCHECK_Customer_A"
The script will ask for source file of the site list "site_list.txt"
Then it will ask for Community string "public123"
The script will ping the first entry in the list, if it responds then it will do the SNMPwalk (below), if the ping fails create the text file and just type "Ping Fail"
Now it will perform a SNMPwalk on each device in the list using the input community string, and output the data to a file it will create called SiteA_DDMMYYYYHHmm.txt (site name date time.txt)