개요스카우터 + 스카우터 웹 UIScouter설치wget https://github.com/scouter-project/scouter/releases/download/v2.6.1/scouter-all-2.6.1.tar.gz최신버전이 필요하면 위의 git url에서 release 중 최신 다운로드다운로드 후 tar zxvf scouter-all-2.6.1.tar.gzserver, host agent, java agent 등 모든게 다 있음.우리는 server만 필요하므로 적당한 곳에다가 server를 위치시킴설정 방법conf/scouter.confnet_http_server_enabled=true // 웹 api를 사용하기 위한 옵션net_http_api_enabled=true // 웹 api를 사용하기 ..
'''Follow these steps to configure the webhook in Slack: 1. Navigate to https://.slack.com/services/new 2. Search for and select "Incoming WebHooks". 3. Choose the default channel where messages will be sent and click "Add Incoming WebHooks Integration". 4. Copy the webhook URL from the setup instructions and use it in the next section. To encrypt your secrets use the following steps: 1. Create ..
Slack API Message formatting 문서 Bash 코드 #!/bin/sh webhook_url=$1 message=$2 severity="" color="" pretext="" if [[ $message == *"Problem"* ]]; then severity="장애" color="#ffa900" else severity="심각" color="#ff0000" fi if [[ $message == *"Recovery"* ]]; then pretext="[$severity]자빅스 에러 복구" color="#00e200" else pretext="[$severity]자빅스 에러 발생" fi curl -k -X POST -d "payload={\"username\":\"서버가터졌어요\", \"..