# this program will
# test connections to the unifi controller by trying out web port number, home pages, login etc
# test ssh connection to an AP or switch
# will print
# logging of connect tries and
# the parameters you should use in unifi plugin config, eg:
#
#=====finished======================================== in unifi plugin config set the indicated fields to the value shown:
# "field name" = "value"
# "http: web UserID for CONTROLLER/UDM" = "xxx userid xxx"
# and next field ".. password" = "xxx password xxx"
# "ssh unix UserID of AP,SW,GW - not UDM" = "xxx userid xxx"
# and next field ".. password" = "xxx password xxx"
# ".. ipNumber of Controller" = "192.168.x.x"
# "site ID (not name) in eg http .." = "default"
# "..controller port#, leave empty for .." = "443"
# "check port Number" = "do not check if port number ..."
#=====finished======================================== END
#
# call :
# python3 testUnifi.py ipNumberOfController httpUseridOfController httpPasswordOfController IPNumberofAPorSwitch sshUserID sshPassword
# ipNumberOfController should the ip number of the unfi controller
# httpUseridOfController should be from field "http: web UserID for CONTROLLER/UDM" password from the next field
# sshUserID and sshPassword should be from : "ssh unix UserID of AP,SW,GW - not UDM" and next password field
# IPNumberofAPorSwitch should the ip number of any of your AP or switches
# the userid and password of ssh can and should be different to the userid/password of http web access
#
Users browsing this forum: No registered users and 2 guests