« MRTG (6) | Main | webalizer »

Mar 08, 2005

MRTG (7)

MRTGにてHDDの監視 /の監視は

/etc/snmpd/snmpd.confの編集が必要

disk /
disk /home

と追記すると
/ が.1.3.6.1.4.1.2021.9.1.9.1
/home が、.1.3.6.1.4.1.2021.9.1.9.2

# vi /usr/local/mrtg-2/data/local_mrtg.cfg

--------------------------
#################
### Disk Used
Target[disk1]: .1.3.6.1.4.1.2021.9.1.9.1&.1.3.6.1.4.1.2021.9.1.9.1:hoge@localhost
MaxBytes[disk1]: 100
Unscaled[disk1]: dwmy
Options[disk1]: gauge, absolute, growright, nopercent, noinfo
YLegend[disk1]: Disk Used(%)
ShortLegend[disk1]: (%)
LegendI[disk1]: / Disk used
LegendO[disk1]: / Disk Used
Legend1[disk1]: / Disk used
Legend2[disk1]: / Disk used
Title[disk1]: Disk Used /
PageTop[disk1]: Disk Used /
--------------------------

MRTG用のindex fileを作成するために下記のコマンドを実行

# /usr/local/mrtg-2/bin/indexmaker /usr/local/mrtg-2/data/local_mrtg.cfg > /home/httpd/html/mrtg/local/index.html

|

« MRTG (6) | Main | webalizer »

MRTG」カテゴリの記事

Comments

Post a comment



(Not displayed with comment.)


Comments are moderated, and will not appear on this weblog until the author has approved them.



TrackBack

TrackBack URL for this entry:
http://app.cocolog-nifty.com/t/trackback/68055/3224560

Listed below are links to weblogs that reference MRTG (7):

« MRTG (6) | Main | webalizer »