2025-05-01から1ヶ月間の記事一覧

python linter formatter

sudo pkg install pylint-py311 pylint test.py sudo pkg install py311-black black test.py 1. pylint: 強力な静的解析ツール 2. black: 意見の余地なしの自動フォーマッタ Pythonのコード品質向上: pylint, black, isortを使った自動コード整形と静的解析…

bind9 too many records CVE-2024-1737

https://kb.isc.org/docs/cve-2024-1737 error adding 'foo.example.com/A' in './IN' (cache): too many records (must not exceed 100)foo.example.com のAレコードが100以上登録されている場合にエラーhttps://kb.isc.org/docs/rrset-limits-in-zones max…

bind Name huawei.com (SOA) not subdomain of zone cloud.huawei.com -- invalid response

Issue: Name huawei.com (SOA) not subdomain of zone cloud.huawei.com -- invalid response 2023

pkg-config

https://www.freedesktop.org/wiki/Software/pkg-config/https://distfiles.dereferenced.org/pkgconf/https://ja.wikipedia.org/wiki/Pkg-configpkg-config はすごい - あかり描像のブログ 2023 setenv PKG_CONFIG_PATH "/usr/local/gcc11/lib/pkgconfig" /…

FreeBSD 11.0 bind 9.18 ソースコンパイル

bind-9.18.37 bind-9.20.9https://www.isc.org/download/ 必須要件 ❌ Unsupported platforms These are platforms on which BIND is known not to build or run: Platforms without at least OpenSSL 1.0.2 Windows Server (any version) Platforms that don…

ngaios マクロ

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/macros.htmlhttps://nagios.fm4dd.com/docs/jp/customobjectvars.htmlカスタム変数で _WEBHOOKURL を定義 define contact { ... service_notification_commands notify-service-by-dis…

mysql 監視

munin The minimum required privileges of the munin database user is: GRANT PROCESS, REPLICATION CLIENT ON *.* TO 'munin'@'localhost';https://gallery.munin-monitoring.org/plugins/munin/mysql_/ PROCESS プロセス表示する権限 REPLICATION CLIENT…

FreeBSD 11.0 gccをソースコンパイル(prefixを変更)

cd /usr/local/src curl -LO http://ftp.jaist.ac.jp/pub/GNU/gmp/gmp-6.3.0.tar.xz tar xzf gmp-6.3.0.tar.xz cd gmp-6.3.0 ./configure --disable-shared --prefix=/usr/local/gcc11 make make install cd .. curl -LO http://ftp.jaist.ac.jp/pub/GNU/mpf…

muninの通知をslackにポスト

Slack https://gist.github.com/anarchivist/58a905515b2eb2b42fe6をフォーク https://gist.github.com/kurita0/5374c3a81fc8d5070fcdc0855e43916d The 2>&1 should be removed from the curl command; this gives the following error line X: 1: Bad file …

Cloudflare キャッシュパージ

https://developers.cloudflare.com/cache/how-to/purge-cache/https://blog.cloudflare.com/instant-purge-for-all/ 2025-04-01 プラン別のパージ制限(レートリミット) ... 無料ユーザーが26リクエストを一度に送信した場合、最初の25リクエストは処理さ…

cloudflare ログ

HTTPリクエストのログを残すことはEnterpriseプランのみ対応しています。 ログの取得方法としてはLog Pull(別のサーバなどからCloudflareへログを取りに行く)と、Log Push(予め設定したい宛先と方式でログを送信する)があります。 ログに関するtips | Cl…

ansible pear alpha

https://docs.ansible.com/ansible/latest/collections/community/general/pear_module.htmlhttps://pear.php.net/package/image_qrcode - name: Install pear Image_QRCode community.general.pear: name: Image_QRCode state: present FAILED! => {"change…