cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
413
Views
10
Helpful
4
Replies
Highlighted

Looking for a Code to get service status of the server

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.

4 REPLIES 4
Highlighted
Advocate

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.

Please rate all useful posts
Highlighted

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.

Please rate all useful posts
Highlighted

Thank you for the support. But i am mainly looking in python. I am dont know  VBS

Highlighted

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.

 

Please rate all useful posts