This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"$$hashKey": "object:71", | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_TEMPORALMETRICS", | |
"label": "TemporalMetrics", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: traefik.containo.us/v1alpha1 | |
kind: IngressRoute | |
metadata: | |
name: grafana-ingress | |
namespace: monitoring | |
spec: | |
entryPoints: | |
- web | |
routes: | |
- kind: Rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys, getopt | |
import glob | |
import os | |
import ntpath | |
from time import strftime | |
print '******bam_pipe******' | |
print strftime("%Y-%m-%d %H:%M:%S") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## bioapps TCP | |
### Aws location: | |
* Monash eSol AWS account [https://login.monash.edu/adfs/ls/idpinitiatedsignon](https://login.monash.edu/adfs/ls/idpinitiatedsignon) | |
* RES-SPT-Automation/Steve.Androulakis@monash.edu | |
* Oregon availability zone | |
* Elastic Beanstalk controlled | |
### Elastic beanstalk scaling settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -i | |
sudo apt-get update < "/dev/null" | |
sudo apt-get install python-pip -y < "/dev/null" | |
sudo pip install awscli < "/dev/null" | |
# use eg. curl -s https://myurl.com/script.sh | bash /dev/stdin | |
# only run on an empty cloud server with blank vdb volume attached! | |
sudo apt-get update < "/dev/null" | |
sudo apt-get install curl -y < "/dev/null" | |
sudo true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use eg. curl -s https://myurl.com/script.sh | bash /dev/stdin | |
# only run on an empty cloud server with blank vdb volume attached! | |
sudo apt-get update < "/dev/null" | |
sudo apt-get install curl -y < "/dev/null" | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
sudo apt-get -y install linux-image-extra-$(uname -r) < "/dev/null" | |
# Add Docker PPA and install latest version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOME_DIR=/home/ | |
for name in $(find $HOME_DIR -maxdepth 1 -mindepth 1 -type d -printf '%f\n') | |
do | |
echo "USER = $name" | |
echo "DIR = $HOME_DIR$name" | |
WEB_DIR=/home/www/html/home/$name | |
#WEB_DIR=$name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from mytardisuploader import mytardis_uploader | |
# steve.androulakis@monash.edu | |
address = 'http://118.138.233.132/' | |
username = 'mytardis' | |
password = 'astestdep' | |
institute = 'Monash University' | |
test_run = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sqlalchemy import * | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import scoped_session, sessionmaker | |
import mytardis_uploader | |
import os.path | |
# steve.androulakis@monash.edu | |
# Run as root (the LaRDS mytardis_its filestore needs it) | |
# Turn test=False at the bottom of this script to run | |
# for real. |
NewerOlder