Skip to content

Instantly share code, notes, and snippets.

@eloo
eloo / node_exporter.default
Last active December 22, 2023 09:00
Init.d script for prometheus node exporter
# Set the command-line arguments to pass to the server.
ARGS='-web.listen-address=:9100 -collector.diskstats.ignored-devices="^(ram|loop|fd)\\d+$"'
# Prometheus-node-exporter supports the following options:
# -collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-z])\\d+$": Regexp of devices to ignore for diskstats.
# -collector.filesystem.ignored-mount-points="^/(sys|proc|dev)($|/)": Regexp of mount points to ignore for filesystem collector.
# -collector.ipvs.procfs="/proc": procfs mountpoint.
# -collector.megacli.command="megacli": Command to run megacli.
# -collector.ntp.server="": NTP server to use for ntp collector.
# -collector.textfile.directory="": Directory to read text files with metrics from.
@akimasa
akimasa / _pt2-driverbug.md
Last active March 19, 2022 07:14
PT2ドライババグの注意喚起

この記事は DTV Advent Calendar 2016 6日目の記事です。

MirakurunにおけるPT2サポートは、現在開発中です。 プルリクエストがマージされて、リリースされ次第、使えるようになります。 2.0.0-beta.3では、まだPT2サポートは不十分で、chardev版pt1_drvのバグを回避できません。 今後リリースされるMirakurunのPT2サポートを利用することでchardev版pt1_drvのバグを回避することが可能です。

以下が本文になります。

PT1/2をご利用の方へ大切なお知らせとお願い