Show databases root# influxdb Connected to http://localhost:8086 version 1.7.6 InfluxDB shell version: 1.7.6 Enter an InfluxQL query > show databases name: databases name ---- _internal telegraf > Backup sudo /usr/bin/influxd backup -portable -database telegraf /telegraf Transfer data SCP scp -r /telegraf www@:/telegraf RCP rcp -r /telegraf www@:/telegraf Restore /usr/bin/influxd backup -portabl..
'root' 유저 소유권인 파일 검색 후 user: www, group: www 로 일괄 변경 sudo find ${PATH} -user root | sudo xargs -i chown www:www "{}" 'www' 유저 소유권이 아닌 파일 검색 후 user: www, group: www 로 일괄 변경 -not 옵션 사용sudo find ${PATH} -not -user www | sudo xargs -i chown www:www "{}"
There are logging as below 2020-01-24T12:01:30Z E! [outputs.influxdb]: when writing to [http://xxx:8086]: received error partial write: max-values-per-tag limit exceeded (100001/100000): measurement="network" tag="device" value="veth646a5a8" dropped=4; discarding points Related a document https://stackoverflow.com/questions/43770354/max-values-per-tag-limit-exceeded-influxdb Solution Edit a spec..
Many older builds per Jenkins Job have a significant impact on performance. Below is a script that looks for the old build count for each Job. get_build_count_for_each_job.sh https://github.com/mcpaint/scripts/blob/master/jenkins/get_build_count_for_each_job.sh # Input your Jenkins domain domain=https:// # Input directory with Jenkins jobs job_dir=/mcpaint/jenkins_home/jobs IFS=$'\n' jo..
Jenkins의 각 잡마다 오래된 빌드가 많을 경우 성능에 많은 영향을 끼친다. 각 잡마다 오래된 빌드 개수를 구하는 스크립트를 작성해 본다. get_build_count_for_each_job.sh https://github.com/mcpaint/scripts/blob/master/jenkins/get_build_count_for_each_job.sh # Input your Jenkins domain domain=https:// # Input directory with Jenkins jobs job_dir=/mcpaint/jenkins_home/jobs IFS=$'\n' jobs=(`ls -1 $job_dir`) for job in "${jobs[@]}"; do build_dir=$job_dir/$jo..
저는 Nginx 또는 Apache 셋팅 시 반드시 정적파일 분리 설정을 하는데요. Grafana의 경우 어떻게 하는지 알아봅시다. 구성 Client --- Nginx --- Grafana Grafana 앞단에 Nginx를 두어서 정적파일들(html, css, js, jpg, png 등)은 Nginx에서 처리하고 나머지 동적파일들은 Grafana로 넘기는 설정을 합니다. Grafana Grafana 의 경우 정적 요청들은 URI는 /public 패턴으로 옵니다. * 이것을 변경하려면 환경파일에서 아래 부분 변경하면 됩니다. 근데 뭐 굳이 변경할 필욘 없겠죠? # the path relative working path static_root_path = public Nginx 아래와 같이 설정합니다. upst..
systemd 스크립트 등록 작업을 하고 $ sudo systemctl start 를 하면 정상적으로 기동이 안될 경우가 있다. /var/log/messages 를 보면 아래와 같은 메시지가 보인다. Failed at step EXEC spawning /paint/bin/jenkins: Exec format error 이럴 때는 매우 간단하다. 실행하는 스크립트에 #!/bin/bash 를 추가하면 된다.
Export openssl s_client -connect mcpaint.tistory.com:443 -servername mcpaint.tistory.com:443 public.crt Import /bin/keytool -import -alias -keystore /jre/lib/security/cacerts -file public.crt Delete /bin/keytool -delete -alias -keystore /jre/lib/security/cacerts -file public.crt
아이폰에서 안드로이드 기변 후 다른 아이폰을 유저가 나에게 메시지를 보낼 때 메시지 수신이 안되는 현상이 있다. 이 때 보내는 측. 즉, 아이폰에서 유심히 보면 계속 iMessage 로 보내려고 하는 것을 볼 수 있다. 그래서 좀 더 구글링을 해 보니.. 계속 아이폰으로 인식되어 iMessage로 보내게 되니 이걸 해제해 줘야 한다고 한다. 찾아보니 애플 공식 서포트 자료도 있음 https://support.apple.com/ko-kr/HT204270 iPhone의 문자 메시지를 받을 수 없는 경우 다른 사용자가 iPhone에서 보낸 SMS 또는 문자 메시지를 받을 수 없는 경우가 있는데, 이는 SMS나 문자 메시지가 여전히 iMessage로 전송되고 있기 때문입니다. support.apple.com 그..
- Total
- Today
- Yesterday
- Linux
- 쉘스크립트
- Shell Script
- Password manager
- Playbook
- Docker
- 플레이북
- Ansible
- DevOps
- 젠킨스
- 파이프라인
- URL Encoding
- rsync
- JVM
- 리눅스
- 데브옵스
- Jenkins
- groovy
- ssl
- Config History
- Thread Dump
- PostgreSQL
- 쓰레드덤프
- vagrant
- Nexus
- openssl
- nginx
- iTerm2
- 엔서블
- 엔시블
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |