Skip to content

Commit

Permalink
change http to https
Browse files Browse the repository at this point in the history
  • Loading branch information
dennyzhang committed Jul 21, 2017
1 parent 4b0483e commit 510f2fe
Show file tree
Hide file tree
Showing 30 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ This repo host common DevOps scripts, which are public and available for everyon
Please contact [email protected], if you have any feedback or suggestions.

- Github Repo: https://github.com/DennyZhang/devops_public
- Learn more: http://www.dennyzhang.com/category/devops/
- Learn more: https://www.dennyzhang.com/category/devops/
2 changes: 1 addition & 1 deletion bash/S3Sync/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# S3Sync
Check more: http://www.dennyzhang.com/sync_s3_directory/
Check more: https://www.dennyzhang.com/sync_s3_directory/

Sync a directory to/from S3 bucket

Expand Down
2 changes: 1 addition & 1 deletion bash/backup_dir/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# backup_dir
Check more: http://www.dennyzhang.com/howto_backup_directory/
Check more: https://www.dennyzhang.com/howto_backup_directory/

By default, backup_dir.sh will backup file and directories:
- Backup file list specified by backup_dir.rc
Expand Down
2 changes: 1 addition & 1 deletion nagios_plugins/check_out_of_memory/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
check_proc_fd
==============

- Link: http://www.dennyzhang.com/monitor_oom/
- Link: https://www.dennyzhang.com/monitor_oom/
- Code: https://github.com/DennyZhang/devops_public/tree/tag_v6/nagios_plugins/check_out_of_memory

Nagios plugin to check whether OOM issues have happend
Expand Down
4 changes: 2 additions & 2 deletions nagios_plugins/check_out_of_memory/check_out_of_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
## Description : Detect whether OOM(Out Of Memory) has happened in the previous several hours
## --
## Created : <2017-02-28>
## Updated: Time-stamp: <2017-06-30 23:20:44>
## Updated: Time-stamp: <2017-07-21 15:35:06>
##-------------------------------------------------------------------
# Check: http://www.dennyzhang.com/monitor_oom/
# Check: https://www.dennyzhang.com/monitor_oom/
import argparse
import platform
import sys
Expand Down
2 changes: 1 addition & 1 deletion nagios_plugins/check_proc_cpu/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
check_proc_cpu
==============

- Link: http://www.dennyzhang.com/nagois_monitor_process_cpu/
- Link: https://www.dennyzhang.com/nagois_monitor_process_cpu/
- Code: https://github.com/DennyZhang/devops_public/tree/tag_v6/nagios_plugins/check_proc_cpu

Nagios plugin to check proc cpu usage.
Expand Down
4 changes: 2 additions & 2 deletions nagios_plugins/check_proc_cpu/check_proc_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
## Description :
## --
##
## Link: http://www.dennyzhang.com/nagois_monitor_process_cpu
## Link: https://www.dennyzhang.com/nagois_monitor_process_cpu
##
## Created : <2015-02-25>
## Updated: Time-stamp: <2016-06-24 15:52:56>
## Updated: Time-stamp: <2017-07-21 15:35:23>
##-------------------------------------------------------------------
if [ "$1" = "-w" ] && [ "$2" -gt "0" ] && \
[ "$3" = "-c" ] && [ "$4" -gt "0" ]; then
Expand Down
2 changes: 1 addition & 1 deletion nagios_plugins/check_proc_fd/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
check_proc_fd
==============

- Link: http://www.dennyzhang.com/nagois_monitor_process_fd/
- Link: https://www.dennyzhang.com/nagois_monitor_process_fd/
- Code: https://github.com/DennyZhang/devops_public/tree/tag_v6/nagios_plugins/check_proc_fd

Nagios plugin to check proc fd: Monitor fd opened by a given process
Expand Down
2 changes: 1 addition & 1 deletion nagios_plugins/check_proc_mem/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
check_proc_mem
==============

- Link: http://www.dennyzhang.com/nagois_monitor_process_memory/
- Link: https://www.dennyzhang.com/nagois_monitor_process_memory/
- Code: https://github.com/DennyZhang/devops_public/tree/tag_v6/nagios_plugins/check_proc_mem

Nagios plugin to check proc memory: Monitor resident memory for a given process
Expand Down
4 changes: 2 additions & 2 deletions nagios_plugins/check_proc_mem/check_proc_mem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
## Description :
## --
##
## Link: http://www.dennyzhang.com/nagois_monitor_process_memory
## Link: https://www.dennyzhang.com/nagois_monitor_process_memory
##
## Created : <2014-10-25>
## Updated: Time-stamp: <2016-12-06 21:45:58>
## Updated: Time-stamp: <2017-07-21 15:35:23>
##-------------------------------------------------------------------
if [ "$1" = "-w" ] && [ "$2" -gt "0" ] && \
[ "$3" = "-c" ] && [ "$4" -gt "0" ]; then
Expand Down
2 changes: 1 addition & 1 deletion nagios_plugins/check_proc_threadcount/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Nagios Monitor thread count of a given program

check_proc_threadcount v1.0

- Link: http://www.dennyzhang.com/nagois_threadcount/
- Link: https://www.dennyzhang.com/nagois_threadcount/
- Code: https://github.com/DennyZhang/devops_public/tree/tag_v6/nagios_plugins/check_proc_threadcount

```
Expand Down
2 changes: 1 addition & 1 deletion python/cleanup_old_files/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/low_disk/
Read more: https://www.dennyzhang.com/low_disk/
4 changes: 2 additions & 2 deletions python/cleanup_old_files/cleanup_old_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
## File : cleanup_old_files.py
## Author : Denny <[email protected]>
## Created : <2017-05-03>
## Updated: Time-stamp: <2017-07-05 20:35:05>
## Updated: Time-stamp: <2017-07-21 15:35:06>
## Description :
## Remove old files in a safe and organized way
##
## More reading: http://www.dennyzhang.com/low_disk/
## More reading: https://www.dennyzhang.com/low_disk/
##
## Sample:
## # Remove files: Check /opt/app and remove files naming "app-.*-SNAPSHOT.jar". But keep latest 2 copies
Expand Down
2 changes: 1 addition & 1 deletion python/detect_suspicious_process/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/suspicious_process/
Read more: https://www.dennyzhang.com/suspicious_process/
6 changes: 3 additions & 3 deletions python/detect_suspicious_process/detect_suspicious_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## @copyright 2015 DennyZhang.com
## File : detect_suspicious_process.py
## Author : DennyZhang.com <[email protected]>
## Description : http://www.dennyzhang.com/suspicious_process/
## Description : https://www.dennyzhang.com/suspicious_process/
## python ./detect_suspicious_process.py
## python ./detect_suspicious_process.py --whitelist_file /tmp/whitelist.txt
##
## More reading: http://www.dennyzhang.com/suspicious_process/
## More reading: https://www.dennyzhang.com/suspicious_process/
##
## --
## Created : <2016-01-15>
## Updated: Time-stamp: <2017-06-30 23:21:15>
## Updated: Time-stamp: <2017-07-21 15:35:06>
##-------------------------------------------------------------------
import argparse
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion python/elasticsearch_tool/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/es_shard/
Read more: https://www.dennyzhang.com/es_shard/
2 changes: 1 addition & 1 deletion python/enforce_pylint_check/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/docker_code_check/
Read more: https://www.dennyzhang.com/docker_code_check/
2 changes: 1 addition & 1 deletion python/enforce_rubocopcheck/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/docker_code_check/
Read more: https://www.dennyzhang.com/docker_code_check/
2 changes: 1 addition & 1 deletion python/enforce_shellcheck/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/docker_code_check/
Read more: https://www.dennyzhang.com/docker_code_check/
4 changes: 2 additions & 2 deletions python/enforce_shellcheck/docker_shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
## Author : Denny <[email protected]>
## Description :
##
## More reading: http://www.dennyzhang.com/shellcheck/
## More reading: https://www.dennyzhang.com/shellcheck/
##
## --
## Created : <2017-05-12>
## Updated: Time-stamp: <2017-06-03 19:12:32>
## Updated: Time-stamp: <2017-07-21 15:35:23>
##-------------------------------------------------------------------
code_dir=${1?""}
ignore_file_list=${2-""}
Expand Down
4 changes: 2 additions & 2 deletions python/enforce_shellcheck/enforce_shellcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
## Author : Denny <[email protected]>
## Description :
##
## More reading: http://www.dennyzhang.com/shellcheck/
## More reading: https://www.dennyzhang.com/shellcheck/
##
## --
## Created : <2017-04-02>
## Updated: Time-stamp: <2017-07-14 10:31:25>
## Updated: Time-stamp: <2017-07-21 15:35:06>
##-------------------------------------------------------------------
import argparse
import sys
Expand Down
2 changes: 1 addition & 1 deletion python/hosts_file/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/hostsfile_issues/
Read more: https://www.dennyzhang.com/hostsfile_issues/
2 changes: 1 addition & 1 deletion python/node_usage/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Check more: http://www.dennyzhang.com/chatqueryhost
Check more: https://www.dennyzhang.com/chatqueryhost

# Install the agent of node status

Expand Down
2 changes: 1 addition & 1 deletion python/parse_haproxy_stats/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/haproxy_stats/
Read more: https://www.dennyzhang.com/haproxy_stats/
4 changes: 2 additions & 2 deletions python/parse_haproxy_stats/haproxy_stats_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
## Author : Denny <[email protected]>
## Description : A Python module to parse haproxy stats
##
## More reading: http://www.dennyzhang.com/haproxy_stats/
## More reading: https://www.dennyzhang.com/haproxy_stats/
##
## --
## Created : <2016-10-04>
## Updated: Time-stamp: <2017-06-30 23:24:44>
## Updated: Time-stamp: <2017-07-21 15:35:06>
##-------------------------------------------------------------------
import parse_haproxy_stats
import datetime
Expand Down
4 changes: 2 additions & 2 deletions python/parse_haproxy_stats/parse_haproxy_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
## Author : Denny <[email protected]>
## Description : A Python module to parse haproxy stats
##
## More reading: http://www.dennyzhang.com/haproxy_stats/
## More reading: https://www.dennyzhang.com/haproxy_stats/
##
## --
## Created : <2016-10-04>
## Updated: Time-stamp: <2017-06-30 23:24:44>
## Updated: Time-stamp: <2017-07-21 15:35:05>
##-------------------------------------------------------------------
# Name haproxy status output field by field
HEADER_FIELD_NAMES = 'pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,tracked,type,rate,rate_lim,rate_max,check_status,check_code,check_duration,hrsp_1xx,hrsp_2xx,hrsp_3xx,hrsp_4xx,hrsp_5xx,hrsp_other,hanafail,req_rate,req_rate_max,req_tot,cli_abrt,srv_abrt,comp_in,comp_out,comp_byp,comp_rsp,lastsess,last_chk,last_agt,qtime,ctime,rtime,ttime,'
Expand Down
2 changes: 1 addition & 1 deletion python/selenium_load_page/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/selenium_docker/
Read more: https://www.dennyzhang.com/selenium_docker/
8 changes: 4 additions & 4 deletions python/selenium_load_page/selenium_load_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
## Test page loading with selenium: slow load, severe
## errors when launching network requests, and save screenshots as images.
##
## More reading: http://www.dennyzhang.com/selenium_docker/
## More reading: https://www.dennyzhang.com/selenium_docker/
##
## Sample:
## - Test page load: basic test
## python ./selenium_load_page.py --page_url http://www.dennyzhang.com
## python ./selenium_load_page.py --page_url https://www.dennyzhang.com
##
## - Test page load: if it takes more than 5 seconds, fail the test. Default timeout is 10 seconds
## python ./selenium_load_page.py --page_url http://www.dennyzhang.com --max_load_seconds 5
## python ./selenium_load_page.py --page_url https://www.dennyzhang.com --max_load_seconds 5
##
## - Test page load: after page loading, save screenshot
## python ./selenium_load_page.py --page_url http://www.dennyzhang.com --should_save_screenshot true
## python ./selenium_load_page.py --page_url https://www.dennyzhang.com --should_save_screenshot true
##
## --
## Created : <2017-02-24>
Expand Down
2 changes: 1 addition & 1 deletion python/tcp_port_scan/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Read more: http://www.dennyzhang.com/nmap_port_scan/
Read more: https://www.dennyzhang.com/nmap_port_scan/
4 changes: 2 additions & 2 deletions python/tcp_port_scan/tcp_port_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
## File : tcp_port_scan.py
## Author : DennyZhang.com <[email protected]>
## Description :
## More reading: http://www.dennyzhang.com/nmap_port_scan/
## More reading: https://www.dennyzhang.com/nmap_port_scan/
## --
## Created : <2016-01-15>
## Updated: Time-stamp: <2017-06-30 23:25:57>
## Updated: Time-stamp: <2017-07-21 15:35:05>
##-------------------------------------------------------------------
import argparse
import subprocess
Expand Down

0 comments on commit 510f2fe

Please sign in to comment.