parser=argparse.ArgumentParser(description='Monitoring script to send system info to a tracking server')
parser.add_argument('-d','--dest',default='www.google.lk',help='API Endpoint for Monitoring Data (Defaults to http://localhost:8080/)')
parser.add_argument('-i','--interval',default=5,type=int,help='Interval between checks (Seconds. Defaults to 5 seconds)')
parser.add_argument('-a','--attempts',default=30,type=int,help='Attempts to send data when sending failes (Defaults to 30)')
parser.add_argument('-t','--timeout',default=60,type=int,help='Timeout between resend attempts (Seconds. Defaults to 60. If attempts is reached script will die)')