python5 netmiko cisco telnet 접속 프로그램 (수정2) (신버전)import osimport syssys.path.append(os.getcwd() + "\lib")import pandas as pdfrom netmiko import SSHDetect, ConnectHandler, NetmikoAuthenticationException, NetmikoTimeoutExceptionfrom paramiko.ssh_exception import SSHExceptionimport PySimpleGUI as psgimport datetimeimport threadingimport concurrent.futuresimport time # 엑셀 읽어오기def xlsx_read(pd_name): pd_xlsx = pd.read_excel(pd_name, e.. 2024. 1. 24. netmiko ssh 접속 프로그램 (수정2) (신버전)import osimport syssys.path.append(os.getcwd() + "\lib")import pandas as pdfrom netmiko import SSHDetect, ConnectHandler, NetmikoAuthenticationException, NetmikoTimeoutExceptionfrom paramiko.ssh_exception import SSHExceptionimport PySimpleGUI as psgimport datetimeimport threadingimport concurrent.futuresimport time# 엑셀 읽어오기def xlsx_read(pd_name): pd_xlsx = pd.read_excel(pd_name, engin.. 2024. 1. 24. paramiko ssh 접속 개선판 (수정2) (신버전)import osimport syssys.path.append(os.getcwd() + "\lib")import paramikofrom paramiko import SSHException, AuthenticationExceptionimport datetimeimport timeimport pandas as pdimport threadingimport PySimpleGUI as psg # 엑셀 읽어오기def xlsx_read(pd_name): pd_xlsx = pd.read_excel(pd_name, engine = "openpyxl", sheet_name=0) try: pd_name = pd_xlsx['hostname'].values.tolist(.. 2024. 1. 24. Fortigate 방화벽 Hit Count 수집 (export 안되는 버전 전용) (수정1) 설치할 모듈: paramiko,pandas,openpyxl #-------------------------------------------##-------------------------------------------# # # # Fortigate hit count # # Version 1.1.0 # # Make Jo Sung Jin # # # #-------------------------------------------.. 2022. 8. 19. 이전 1 2 다음