かわべです. 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)
Follow-Ups:
- [linux-users:80115] Re: [linux-users:80076] Re: mrtgに関してAkinobu YAMAMOTO
- [linux-users:80058] mrtgに関してAkinobu YAMAMOTO
- Prev by Subject: [linux-users:80075] Re: DoOfficeについて
- Next by Subject: [linux-users:80077] smbmount について
- Previous by thread: [linux-users:80063] Re: mrtgに関して
- Next by thread: [linux-users:80115] Re: [linux-users:80076] Re: mrtgに関して
- Indexes:[Main][Thread]