add grafana

This commit is contained in:
root 2025-06-18 19:32:22 +09:00
parent cbe7dc8a3f
commit 1a75711304
4 changed files with 9 additions and 26 deletions

View File

@ -26,3 +26,7 @@ data:
[server] [server]
domain = 'grafana.nhngpuaas.com' 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

View File

@ -7,7 +7,8 @@ while true; do
for url in \ for url in \
http://10.1.189.83:8888 \ http://10.1.189.83:8888 \
http://10.1.63.45: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 do
if curl -s -o /dev/null --connect-timeout 2 "$url"; then if curl -s -o /dev/null --connect-timeout 2 "$url"; then
echo "[✔] HTTP 요청 성공: $url" echo "[✔] HTTP 요청 성공: $url"

View File

@ -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

View File

@ -2,10 +2,10 @@
# 파일명: tcp_flood.sh # 파일명: tcp_flood.sh
MESSAGE="Hello from TCP client" MESSAGE="Hello from TCP client"
INTERVAL=0.5 INTERVAL=0.2
while true; do 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 if echo -e "$MESSAGE" | nc -w 2 "$ip" 8888; then
echo "[✔] TCP 요청 성공: $ip:8888" echo "[✔] TCP 요청 성공: $ip:8888"
else else
@ -14,4 +14,3 @@ while true; do
done done
sleep "$INTERVAL" sleep "$INTERVAL"
done done