Simple Python script to Login to Multiple Servers at the same time

Simple Python script to Login to Multiple Servers at the same time

Recently, we wrote some scripts to help us manage our windows system using wmi and python. Also we were able to administer remote linux machines using telnet and ssh protocols. And in that training, we asked ourselves to be creative and modify the script to connect to more than one computer at the same time.

https://topnetworkguide.com/python-script-to-remotely-administer-servers-using-telnet-and-ssh/

If you were following, you would also have noticed that we wrote other scripts to connect to mysql databases and to get some  system information.

Read More
Share This.

Python Script to Remotely Administer Servers Using Telnet and SSH

Python Script to Remotely Administer Servers Using Telnet and SSH
Every network administrator who manages cisco routers, switches and firewalls, Linux routers/firewall, Mikrotic routers, e.t.c, understands the benefits of running commands over secure shell(SSH). Our routers are configured by the admin, to allow SSH access, and a remote ssh client is used to administer and issue configuration commands to the servers whenever we want.

What we may not know, actually, is that we can harness the full powers of python and the full powers of SSH to make out automation (automatic configuration) much more fun. In a recent study, it is believed that automation techniques, scripting, is a necessary skill for every network and system administrator. It not only makes your work more fun, it also saves time and energy, allowing you to be more productive.

The general rule of thumb is that any task that is repetitive should be automated. My opinion though!
Read More

Share This.

Python Script to Get Windows System Information Using WMI

Python Script to Get Windows System Information Using WMI

Getting important information about computer systems, especially mission critical servers in your organization and acting on the information presented, to resolve computer related issues before they actually happen, thereby reducing the downtime experienced by your users, can mean the difference between a good system administrator and an average or bad system administrator.

There are a few handy tools out there to help you with the task of monitoring yoiur IT infrastructure. Some are commercial, while others are open source. Regardless of your choice, it will always be a good thing to keep an  eye on your computer systems.

Read More
Share This.

Get IP Address And Hostname Of Computers On Network Using Python

Get IP Address And Hostname Of Computers On Network Using Python

In a previous guide, we discussed how to get the ip address of computers on a network, such as with using a ping utility to test for computers that are online, but this time,  using a python script. https://topnetworkguide.com/how-to-use-python-to-ping-all-ip-addresses-on-a-network/.

In this mini guide, we will look briefly at how to get  ip address and hostname of computers on network using python.

Read More
Share This.

How to Use Python to Ping all IP Addresses on a network

How to Use Python to Ping all IP Addresses on a network

One very important command line tool used in a computer network is the ping command. The ping tool is a software utility that enables system administrators to test the availability of computers on the network.
On windows and linux systems, simply run at the terminal, a ping x.x.x.x (where x.x.x.x is the ip address). For example to determine if a computer with the ip address of 192.168.100.50 is on the network, simply run ping 192.168.100.50 at the cmd terminal. The result will be as shown.

ON WINDOWS

Read More
Share This.