add grafana
This commit is contained in:
parent
cbe7dc8a3f
commit
1a75711304
|
|
@ -25,4 +25,8 @@ data:
|
|||
provisioning = /etc/grafana/provisioning
|
||||
[server]
|
||||
domain = 'grafana.nhngpuaas.com'
|
||||
root_url = 'https://grafana.nhngpuaas.com'
|
||||
root_url = 'https://grafana.nhngpuaas.com'
|
||||
[auth.anonymous]
|
||||
enabled = true
|
||||
org_name = Main Org.
|
||||
org_role = Viewer
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ while true; do
|
|||
for url in \
|
||||
http://10.1.189.83:8888 \
|
||||
http://10.1.63.45:8888 \
|
||||
http://10.1.190.117:8888
|
||||
http://10.1.190.117:8888 \
|
||||
http://10.107.140.228:80
|
||||
do
|
||||
if curl -s -o /dev/null --connect-timeout 2 "$url"; then
|
||||
echo "[✔] HTTP 요청 성공: $url"
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/bash
|
||||
# 파일명: curl_loop.sh
|
||||
|
||||
INTERVAL=0.5
|
||||
|
||||
while true; do
|
||||
for url in \
|
||||
http://10.1.189.83:8888 \
|
||||
http://10.1.63.45:8888 \
|
||||
http://10.1.190.117:8888 \
|
||||
http://tf-notebook.default
|
||||
do
|
||||
if curl -s -o /dev/null --connect-timeout 2 "$url"; then
|
||||
echo "[✔] HTTP 요청 성공: $url"
|
||||
else
|
||||
echo "[✘] HTTP 요청 실패: $url"
|
||||
fi
|
||||
done
|
||||
sleep "$INTERVAL"
|
||||
done
|
||||
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
# 파일명: tcp_flood.sh
|
||||
|
||||
MESSAGE="Hello from TCP client"
|
||||
INTERVAL=0.5
|
||||
INTERVAL=0.2
|
||||
|
||||
while true; do
|
||||
for ip in 10.1.189.83 10.1.63.45 10.1.190.117; do
|
||||
for ip in 10.1.189.83 10.1.63.45 10.1.190.117 10.107.140.228; do
|
||||
if echo -e "$MESSAGE" | nc -w 2 "$ip" 8888; then
|
||||
echo "[✔] TCP 요청 성공: $ip:8888"
|
||||
else
|
||||
|
|
@ -14,4 +14,3 @@ while true; do
|
|||
done
|
||||
sleep "$INTERVAL"
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue