サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
GPT-4o
tnksaigon.hatenadiary.org
自前メールサーバーからメールを送信したところ、受信したGmailでSPAM扱いされていた。メールのsourceを見ると、 Received-SPF: softfail (google.com: domain of transitioning noreply@xxxxx.jp does not designate 11.111.111.1 as permitted sender) client-ip=11.111.111.1; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning noreply@xxxxx.jp does not designate 11.111.111.1 as permitted sender) smtp.mail=noreply@xxxx.jp
直前1時間(12時台とか)のみ抽出する grep "`date -d '1 hour ago' +'%b %d %H'`" *access_log grep "`date -d '1 hour ago' +'%b %d %H'`" /var/log/httpd/*error_log | mail -s "apache error log" my@address.com をcronに設定しとけば1時間おきにエラーをメールで送ってもらえるな。
1. まずはNginxに監視ページを設定しておく http://wiki.nginx.org/HttpStubStatusModule location /nginx_status { stub_status on; access_log off; allow SOME.IP.ADD.RESS; deny all; } SOME.IP.ADD.RESS にはデータを収集するzabbix agentのIPアドレスを設定 2. zabbix agentにUserParamを登録 /etc/zabbix/zabbix_agentd.conf # Nginx statuses UserParameter=nginx.active_connections,wget -q -O - http://localhost/status | grep "Active connections:" | cut -
IE7には position:absolute な要素の z-index 表示に問題があり、以下のような場合に #lower が #upper にかぶってしまう。 <div id="upper_container"> <div id="upper"> これは上に表示されます </div> </div> <div id="lower_container"> <div id="lower"> これは下に表示されます </div> </div> #upper_container { position: relative; } #upper { position: absolute; z-index: 10; } #lower_container { position: relative; } #lower { position: absolute; z-index: 5; } そんなときは、re
このページを最初にブックマークしてみませんか?
『The Second Longest Day in My Life...』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く