
관련 내용: www.jenkins.io/doc/book/system-administration/security/configuring-content-security-policy/ Configuring Content Security Policy Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software www.jenkins.io .css 나 .js 요청 시 아래와 같은 메시지가 발생할 경우가 있다. Refused to apply inline style because it violates the following Content ..
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..
- Total
- Today
- Yesterday
- 플레이북
- Playbook
- iTerm2
- groovy
- URL Encoding
- vagrant
- Config History
- Jenkins
- Password manager
- 젠킨스
- Docker
- rsync
- 리눅스
- Shell Script
- Nexus
- JVM
- Linux
- DevOps
- 엔시블
- openssl
- Thread Dump
- PostgreSQL
- 데브옵스
- ssl
- Ansible
- 엔서블
- 쓰레드덤프
- 파이프라인
- rundeck
- nginx
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |