MRTG and install ufff
well i tried to install mrtg on my server but with no successnow i folowed all the steps as on the offical mrtg page and evrything was ok until i camed to this
The next step is now to configure mrtg for monitoring an network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; and it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.
cfgmaker --global 'WorkDir: /home/httpd/mrtg' \
--global 'Options[_]: bits,growright' \
--output /home/mrtg/cfg/mrtg.cfg \
community@router.abc.xyz
ok so i went to my server and typed
/usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' --output /home/mrtg/cfg/mrtg.cfg public@212.43.244.7
212.43.244.7 that's the ip of my server
this is what i get
[root@ns1 bin]# /usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' --output /home/mrtg/cfg/mrtg.cfg public@212.43.244.7
--base: Get Device Info on public@212.43.244.7:
SNMP Error:
receiving response PDU: Connexion refusée
SNMPv1_Session (remote host: "212.43.244.7" [212.43.244.7].161)
community: "public"
request ID: 261193918
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@212.43.244.7:
at /usr/local/mrtg-2/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@212.43.244.7: does not seem to support it
--snpo: Skipping ifDescr scanning because public@212.43.244.7: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@212.43.244.7: does not seem to support it
--snpo: Skipping ifType scanning because public@212.43.244.7: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@212.43.244.7: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
receiving response PDU: Connexion refusée
SNMPv1_Session (remote host: "212.43.244.7" [212.43.244.7].161)
community: "public"
request ID: 261193924
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@212.43.244.7:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
receiving response PDU: Connexion refusée
SNMPv1_Session (remote host: "212.43.244.7" [212.43.244.7].161)
community: "public"
request ID: 261193925
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@212.43.244.7:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
receiving response PDU: Connexion refusée
SNMPv1_Session (remote host: "212.43.244.7" [212.43.244.7].161)
community: "public"
request ID: 261193926
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@212.43.244.7:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
receiving response PDU: Connexion refusée
SNMPv1_Session (remote host: "212.43.244.7" [212.43.244.7].161)
community: "public"
request ID: 261193927
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@212.43.244.7:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
receiving response PDU: Connexion refusée
SNMPv1_Session (remote host: "212.43.244.7" [212.43.244.7].161)
community: "public"
request ID: 261193928
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@212.43.244.7:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Writing /home/mrtg/cfg/mrtg.cfg
please help