MRTGの設定
よろしくお願いします。
OS:RedHat ES3
MRTGの設定がどうもうまくいきません。
snmpd.confの設定
com2sec local localhost privat
com2sec mynetwork 192.168.0.34 public
------------------------
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
------------------------
view all included .1 80
------------------------
mrtg.cfgの設定は割合します。
そして/uer/bin/mrtg /etc/mrtg/mrtg.cfgを実行すると
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.0.34" [192.168.0.34].161)
community: "public"
request ID: -1568105697
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on public@192.168.0.34
at /usr/bin/mrtg line 1678
WARNING: skipping because at least the query for ifInOctets.2 on 192.168.0.34 did not succeed
WARNING: no data for ifInOctets&ifOutOctets:public@192.168.0.34. Skipping further queries for Host 192.168.0.34 in this round.
ERROR: Target[r1][_IN_] ' $$target[0]{$mode} ' did not eval into defined data
ERROR: Target[r1][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data
WARNING: Skipping Update of r1, inlast is not defined
WARNING: Skipping Update of r1, outlast is not defined
とでます。snmpエラーとでてるのでsnmpd.confの設定がいけないのだと思うのですが、調べてみてもわかりませんでした。
よろしくお願いします。