snap snap

気が向いたら書くブログ

Debian

誰かが ssh でリモートログインしたのを通知する

異常検知的なことではなく、ただ単純に誰かがサーバに ssh でリモートログインした時、それを通知するものです 概要 ssh を用いてリモートログインされた時、指定されたメールアドレスにログイン情報を送信する 環境 Debian 7.0 Postfix 方法 ssh でリモート…

munin で hddtemp_smartctl が上手く取得出来ない

# munin-run hddtemp_smartctl Can't exec "-A": No such file or directory at /etc/munin/plugins/hddtemp_smartctl line 214. sda.value U sda.extinfo Command -A /dev/sda on drive sda failed: -1. The plugin needs to have read permission on all m…