ユーザ用ツール

サイト用ツール


serverapps:monitor:smokeping

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:monitor:smokeping [2025/05/26 15:24] – [dir関連] hayashiserverapps:monitor:smokeping [2025/05/26 15:41] (現在) hayashi
行 3: 行 3:
 ===== install ===== ===== install =====
  
-  # pkg install smokeping nginx+  # pkg install smokeping nginx fcgiwrap
  
 ===== smokeping の設定 ===== ===== smokeping の設定 =====
行 53: 行 53:
 chmod 600 /usr/local/etc/smokeping/smokeping_secrets chmod 600 /usr/local/etc/smokeping/smokeping_secrets
 chown smokeping:smokeping /usr/local/var/smokeping chown smokeping:smokeping /usr/local/var/smokeping
 +chown smokeping:smokeping /usr/local/smokeping/data
  
 </code> </code>
行 90: 行 91:
     fastcgi_param HTTPS         $https if_not_empty;     fastcgi_param HTTPS         $https if_not_empty;
    
-    fastcgi_pass unix:/var/run/fcgiwrap.socket;+    fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock;
   }   }
    
行 101: 行 102:
    
   location / {   location / {
-    return 301 http://$server_name/smokeping/smokeping.cgi;+    return 301 http://$server_name/smokeping/smokeping.fcgi;
   }   }
 } }
  
 </code> </code>
 +===== fcgiwrap =====
 +
 +  mkdir /var/run/fcgiwrap
  
 ===== 参考 ===== ===== 参考 =====
serverapps/monitor/smokeping.1748273046.txt.gz · 最終更新: by hayashi