I recently took delivery of my RPi, I have also taken the opportunity to create a program that will monitor the IP addresses on my network.
I have got to the basics in place. It scrolls through each IP address in our range, determines whether it is up or down depending on a response from a ping and also gets the fqdn of the machine that it Pings using:
- Code: Select all
socket.gethostbyaddr('IPADDRESS')[0]
Here comes the tricky bit that I am really struggling with. I would like to also get the following from the connected devices where applicable:
manufacturer
operating system
current logged on user
I guess my question is, could somebody point me in the right direction to uncover these details? so far all of my searches have come up dry. I did find a wmi.py module however that only works when running python on a windows host, rather than on a linux host.
Thanks
Steve