_ [debian] cron 3.0pl1-110

cron 3.0pl1-109 から 3.0pl1-110 にしたところ、

Subject: Cron <root@lilu> /usr/bin/mrtg /etc/snmp/mrtg.cfg > /dev/null 2>&1 (failed)

command failed with exit status 91

というメールがドカドカ届くようになった。どうやら #443615 の修正によるものらしい。そもそも mrtg の出してる exit status 91 って何? と調べてみると、

0: All targets sucessful

2: Config error (can’t read, fatal error in config, etc) 17: Another MRTG process is processing config

91: At least one target sucessful 92: No targets were sucessful

ref. MRTG 2.16.2 configuration reference

どうやら値の取れないターゲットが混ざってるらしい。調べてみたら、MIB の指定やスクリプトの出力がおかしいのがあったのでそれを直した。これでメールも収まった。