どうも、山本です。
今までtopコマンドにてあるサーバ(hoge.net)のLoad AverageやCPU使用率等を
調べていたのですが、過去のデータとの照合が必要になってきたので
mrtgを入れようと考えております。
日経Linux3月号のP95に記載してあるとおりにインストールして
rootにて
# /etc/rc.d/init.d/snmpd start
Starting snmpd: [ OK ]
#
を起動して
$ ./cfgmaker --global 'WorkDir: /home/homepage/mrtg' \
> --global 'Options[_]: bits,growright' \
> --output /home/homepage/mrtg/hoge.conf public _at_ hoge.net
とやったのですが、以下のようなエラーが出てきました。
---------------------------------------------------
--base: Get Device Info on public _at_ hoge.net:
--base: Vendor Id:
--base: Populating confcache
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.2)
SNMPv1_Session (remote host: "hoge.net" [xxx.xxx.xxx.xxx].xxx)
community: "public"
request ID: 671716832
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.2 on public _at_ hoge.net:
:
---------------------------------------------------
また
$ ./mrtg /home/homepage/mrtg/hoge.conf
と実行すると
/home/homepage/mrtg/hoge.ok
という空ファイルが作成されただけで、HTMLファイル等が作成されません。
この場合、どのように修正すればよろしいのでしょうか?
ご指導・ご鞭撻のほどよろしくお願いいたします。m(_._)m
【山本 明信/ayamamot _at_ mbox2.inet-osaka.or.jp】
Follow-Ups:
- [linux-users:80059] Re: mrtgに関してKAJIKI Yoshihiro
- [linux-users:80076] Re: mrtgに関してTsuyoshi KAWABE
- Prev by Subject: [linux-users:80057] Re: httpテスト用の帯域制限
- Next by Subject: [linux-users:80059] Re: mrtgに関して
- Previous by thread: [linux-users:80219] Re: LANのルーティングについて(解決)
- Next by thread: [linux-users:80059] Re: mrtgに関して
- Indexes:[Main][Thread]