anybody helps?
I installed MRTG under /usr/local/mrtg-2 and installed SNMP under /usr/local/net-snmp
then I did the foloowing step:
cd /usr/local/mrtg-2/bin
cfgmaker --global 'WorkDir: /home/httpd/mrtg' \
--global 'Options[_]: bits,growright' \
--output=/home/mrtg/cfg/mrtg.cfg \
public@my_linux_IP_address
and I got the error message like this: from the error message, it seems that SNMP is not installed properly. this is what I did to install SNMP,
I downloaded the net-snmp-*.tar.gz under /usr/local/src
unpack it,
cd /usr/local/net-snmp-5.0.9
./configure --prefix=/usr/local/net-snmp
make
make install
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669880
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@127.0.0.1:
at /usr/bin/cfgmaker line 673
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache public@127.0.0.1: Descr -->
--snpo: Skipping ipAdEntIfIndex scanning because public@127.0.0.1: does not seem to support it
--snpo: confcache public@127.0.0.1: Name -->
--snpo: confcache public@127.0.0.1: Type -->
--snpo: Skipping ifPhysAddress scanning because public@127.0.0.1: does not seem
to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669883
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669884
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669885
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669886
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 854669887
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Writing /home/mrtg/cfg/mrtg.cfg
ERROR: creating /home/mrtg/cfg/mrtg.cfg: No such file or directory