snmp/mrtgでプロセスの開いているファイルディスクリプタ数を監視
Posted on 5月 30, 2008
Filed Under snmp, mrtg, perl |
してみる
PERL:
snmpd.conf に
CODE:
-
exec fd_mon /path/to/fd_mon.pl
mrtg.cfg に
CODE:
-
Target[fd]: .1.3.6.1.4.1.2021.8.1.101.1&.1.3.6.1.4.1.2021.8.1.101.1:public@localhost
-
MaxBytes[fd]: 2000
-
YLegend[fd]: File Descriptors
-
ShortLegend[fd]:
-
LegendI[fd]: / File Descriptors
-
LegendO[fd]: /
-
Legend1[fd]: / File Descriptors
-
Legend2[fd]: /
-
Title[fd]: File Descriptors
-
PageTop[fd]:
-
<h1>File Descriptors</h1>
Comments
One Response to “snmp/mrtgでプロセスの開いているファイルディスクリプタ数を監視”
Leave a Reply
mrtg-2.14.5ではログが更新されなくてちょいはまりしました,,
mrtg-2.16.1にしたらok