serverapps:monitor:smokeping
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:monitor:smokeping [2025/05/26 14:46] – [dir関連] hayashi | serverapps:monitor:smokeping [2025/05/26 15:41] (現在) – hayashi | ||
---|---|---|---|
行 3: | 行 3: | ||
===== install ===== | ===== install ===== | ||
- | # pkg install smokeping nginx | + | # pkg install smokeping nginx fcgiwrap |
===== smokeping の設定 ===== | ===== smokeping の設定 ===== | ||
行 18: | 行 18: | ||
imgurl | imgurl | ||
datadir | datadir | ||
- | piddir | + | piddir |
cgiurl | cgiurl | ||
smokemail = / | smokemail = / | ||
行 49: | 行 49: | ||
mkdir -p / | mkdir -p / | ||
mkdir -p / | mkdir -p / | ||
- | mkdir -p /var/run/smokeping | + | mkdir -p /usr/local/var/smokeping |
chown smokeping: | chown smokeping: | ||
chmod 600 / | chmod 600 / | ||
+ | chown smokeping: | ||
+ | chown smokeping: | ||
</ | </ | ||
行 68: | 行 70: | ||
# | # | ||
- | location = / | + | location = / |
fastcgi_intercept_errors on; | fastcgi_intercept_errors on; | ||
- | fastcgi_param SCRIPT_FILENAME / | + | fastcgi_param SCRIPT_FILENAME / |
fastcgi_param QUERY_STRING | fastcgi_param QUERY_STRING | ||
fastcgi_param REQUEST_METHOD | fastcgi_param REQUEST_METHOD | ||
行 89: | 行 91: | ||
fastcgi_param HTTPS | fastcgi_param HTTPS | ||
- | fastcgi_pass unix:/ | + | fastcgi_pass unix:/ |
} | } | ||
location ^~ /smokeping/ { | location ^~ /smokeping/ { | ||
- | alias / | + | |
- | index smokeping.cgi; | + | alias / |
+ | index smokeping.fcgi; | ||
gzip off; | gzip off; | ||
} | } | ||
location / { | location / { | ||
- | return 301 http:// | + | return 301 http:// |
} | } | ||
} | } | ||
</ | </ | ||
+ | ===== fcgiwrap ===== | ||
+ | mkdir / | ||
+ | |||
+ | ===== 参考 ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
serverapps/monitor/smokeping.1748270790.txt.gz · 最終更新: by hayashi