netinfo

Get net infos in all computers in "computers.csv" file


netinfo

GitHub license Author Version Language Python sys.platform supported On GitHub

Tags

#wmi, #automation, #python3, #network, #ping, #csv, #database, #datetime

Description

Get net infos in all computers in “computers.csv” file & in “computers.db” database

Required

  • python3
  • pip3 librerias (in project core: pip3 install -r requirements/requirements.txt)

Goals

  • Save in csv file the PC’s infos
  • Save the infos in a database
  • Print only if in debug mode
  • Make standard csv
  • Make database optional
  • Check if PC is avariable (using ping)
  • Use append method
  • Add date info
  • Add unchecked_PC.csv file and unchecked_PC table for the PCs that i can’t reach
  • Add folder variable
  • Add Vendom info
  • Normalize MACAddress

Directories structure

  • .github
    • ISSUE_TEMPLATE
      • bug_report.md
      • feature-request.md
  • bin
    • netinfo.py
  • docs or doc
    • LICENSE
    • README.md
    • _config.yml
  • flussi
    • computers.csv
    • netinfo.csv <- On first run
    • netinfo.db (optional) <- On first run
    • netinfo_history.csv <- On first run
    • unchecked_PC.csv
  • log
    • log.log
  • requirements
    • requirements.txt

Execution examples

  1. update “computers.csv” file with our PC
  2. (Clear “log.log” file)
  3. python3 netinfo.py

Changelog

Version_05.01-2020-11-23

  • Normalize MACAddress

Version_04.01-2020-11-09

  • Fixed a bug
  • Add Vendom info (eg. Productor name)

Version_03.03_2020-10-15

  • Fixed a bug

Version_03.02_2020-10-15

  • trace.log -> log.log

Version_03.01_2020-10-15

  • Fixed some bugs
  • Add folder variable

Version_02.01_2020-09-21

  • Fixed some bugs
  • Optimized csv
  • Print only if in debug mode
  • Made database optional
  • Check if PC is avariable (using ping)
  • Use append method
  • Add date info
  • Add unchecked_PC.csv file and unchecked_PC table for the PCs that i can’t reach
  • Added a WebSite with the last version

Version_01.01_2020-09-21

  • Initial version

Made by Castellani Davide If you have any problem please contact me: