02-25-2020 10:35 PM
Hello All,
I have almost 20 servers with UCOS. which inclued CUCM, CUC, IM & P. I just want to know if there is a way to excute a script to capture the output of set of commands.
For Ex: 1. Show status
2. Show ntp status.
3. Utils service list.
02-28-2020 10:22 AM
There are numerous ways for you to get this information with a script. It mostly depends on where you come from and what experience you have with development. One way would be to run a script, vbs or java script, in SecureCRT. You could also do it in Python.
02-29-2020 01:21 AM - edited 03-02-2020 11:06 PM
Attached is an example of vbs code I through together that you could use in SecureCRT. Disclaimer I have not run the code, so there might be some parts that might not work as intended, but you should get a descent start point at least. Unfortunately I don't have experience yet with Python to do the same there.
02-29-2020 10:13 PM
Thank you for the support. But i am mainly looking in python. I am dont know VBS
03-01-2020 01:22 AM - edited 03-01-2020 01:23 AM
Suggestion for next time you post a question please be as specific as you can with what you want help with. If you want to get a code in Python why not say so from the start?
Even if the vbs example provided is not what you search for I would think you should take the time to appreciate the effort made and give helpful vote to the answer.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide