Skip to content
Snippets Groups Projects
Commit aba8fc6b authored by Riccardo Sellari's avatar Riccardo Sellari
Browse files

no bananas version

parent c76c3a3d
No related branches found
No related tags found
No related merge requests found
...@@ -55,12 +55,12 @@ args = parser.parse_args() ...@@ -55,12 +55,12 @@ args = parser.parse_args()
#log in the influx DB #log in the influx DB
#python memcached2Influx.py -s vldantemon003.lnf.infn.it -po 8086 -f '/home/riccardo/Random bs go/Test/cofnigurationFile.txt' #python memcached2Influx.py -s vldantemon003.lnf.infn.it -po 8086 -f '/home/riccardo/Random bs go/Test/cofnigurationFile.txt'
#try: try:
clientInflux = InfluxDBClient(host=args.server, port=args.port, username=args.username, password=args.password) clientInflux = InfluxDBClient(host=args.server, port=args.port, username=args.username, password=args.password)
clientInflux.switch_database("dcsMemDb") clientInflux.switch_database("dcsMemDb")
print("succesfully logged in\n") print("succesfully logged in\n")
#except: except:
# sys.exit("Error: Invalid parameters, please try again") sys.exit("Error: Invalid parameters, please try again")
#log in the memcached DB #log in the memcached DB
#memcached_server = "192.168.198.20" #memcached_server = "192.168.198.20"
...@@ -82,4 +82,4 @@ try: ...@@ -82,4 +82,4 @@ try:
except FileNotFoundError as e: except FileNotFoundError as e:
sys.exit("Error: " + args.iptable + " is not valid or does not point to a DBFile.") sys.exit("Error: " + args.iptable + " is not valid or does not point to a DBFile.")
except TypeError as e: except TypeError as e:
print("banana") print("program ended succesfully")
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment