Just to get back on this...
I know this is set up to read traffic of cisco-routers and stuff, but it should also be working on other machines since it is just sending packages to an IP-address right?
Now, somehow I can't get it to work, because as I soon as I get to step 5 of the process (
http://www.e-smith.org/docs/howto/contrib/mrtg-howto.htm), it gives me a huge ammount of errors (see below).
Do I have to make adjustments to the create-mrtg file? O do I have to change
some other things too?
The effect of all this is that I can access
http://192.168.1.1/mrtg/10003 (for example), and it will display some results but no pictures too (see
http://wietsew.dyndns.org/mrtg/10003 for an example).
The error below is JUST an example, it gives these errors on EVERY IP try!
Any suggestions on what could be wrong?
Thanks in advance!
Wietse
The Netherlands
[root@linux /root]# ./create-mrtg 10003 192.168.1.1
--base: Get Device Info on public@192.168.1.1
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894406
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@192.168.1.1
--base: Vendor Id:
--base: Populating confcache
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894407
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@192.168.1.1
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894408
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.31.1.1.1.1 on public@192.168.1.1
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894409
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@192.168.1.1
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894410
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.4.20.1.2 on public@192.168.1.1
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894411
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.6 on public@192.168.1.1
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894412
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@192.168.1.1
--base: Walking ifType
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894413
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@192.168.1.1
--base: Walking ifSpeed
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894414
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@192.168.1.1
--base: Walking ifAdminStatus
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894415
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@192.168.1.1
--base: Walking ifOperStatus
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: 1648894416
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@192.168.1.1
--base: Writing /etc/mrtg/10003.cfg