[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:80076] Re: mrtgに関して


かわべです.

At Tue, 13 Feb 2001 14:51:56 +0900,
Akinobu YAMAMOTO <ayamamot _at_ ss5.inet-osaka.or.jp> wrote:

| 今まで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:

cfgmaker ってデフォルトはネットワークカードのトラフィック量
を測るための cfg ファイルを作るんだった気がします.

interfaces.ifTable.ifEntry.ifDescr.1 = lo
interfaces.ifTable.ifEntry.ifDescr.2 = eth0

たまたま,そのマシンにはネットワークカードが刺さっていないと
か?
Load Average や CPU 使用率等を測るなら,その MIB 情報を引っ
張るとうまくいくと思います.
--
KAWABE, Tsuyoshi
動物占い チータ,寿司占い ガリ,値段鑑定 6690万4330円 カリスマ美容師級
Powered by Vine 2.0 (Sociando-Mallet), Kernel 2.4.2-pre3 on an i686, VinePlus 2.0
♪悪口 (Aiko)

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: