Inbound and Outbound traffics equal

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
fourier
Posts: 5
Joined: Fri Sep 29, 2006 3:52 am

Inbound and Outbound traffics equal

Post by fourier »

Dear Sir,

Please help to solve my problem.
I compared show interface command in cisco switch and Cacti graph are disparity and Inbound/Outbound traffic is equal.


GigabitEthernet1/1 is up, line protocol is up (connected)
Hardware is C6k 1000Mb 802.3, address is 0015.2c68.f000 (bia 0015.2c68.f000)
Description: "TO HQ 6509-01 G4/18"
Internet address is 10.63.198.2/30
MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec,
reliability 255/255, txload 16/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is SX
input flow-control is off, output flow-control is on
Clock mode is auto
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:02, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 383000 bits/sec, 222 packets/sec
5 minute output rate 6465000 bits/sec, 3572 packets/sec
L2 Switched: ucast: 1069 pkt, 225048 bytes - mcast: 2045 pkt, 191357 bytes
L3 in Switched: ucast: 1360512 pkt, 294503200 bytes - mcast: 0 pkt, 0 bytes mcast
L3 out Switched: ucast: 21932082 pkt, 6535058658 bytes mcast: 0 pkt, 0 bytes
1365448 packets input, 295234528 bytes, 0 no buffer
Received 2978 broadcasts (2048 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
22188474 packets output, 6557987535 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out


--------------------------------------------------------------------------------

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="6509-1 NSFC - Gi1/1 - TO HQ 6509-01 G4/18 " \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/local/cacti-0.8.6j/rra/65091_nsfc_traffic_in_228.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/cacti-0.8.6j/rra/65091_nsfc_traffic_in_228.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s"
RRDTool Says:

OK
Attachments
untitled.jpg
untitled.jpg (27.59 KiB) Viewed 2386 times
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run 1 poller pass at medium log level and post your results.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
fourier
Posts: 5
Joined: Fri Sep 29, 2006 3:52 am

Post by fourier »

Please see my poller result, thanks.

06/21/2007 10:15:02 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /usr/local/cacti-0.8.6j/scripts/linux_memory.pl MemFree:, output:
789724
06/21/2007 10:15:02 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /usr/local/cacti-0.8.6j/scripts/linux_memory.pl SwapFree:, output
: 2257092
06/21/2007 10:15:02 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /usr/local/cacti-0.8.6j/scripts/loadavg_multi.pl, output: 1min:0.
36 5min:0.34 10min:0.18
06/21/2007 10:15:02 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /usr/local/cacti-0.8.6j/scripts/unix_users.pl , output: 0
06/21/2007 10:15:02 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /usr/local/cacti-0.8.6j/scripts/unix_processes.pl, output: 90
06/21/2007 10:15:13 AM - CMDPHP: Poller[0] Host[18] DS[228] SNMP: v1: 10.63.246.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1,
output: 813296889
06/21/2007 10:15:13 AM - CMDPHP: Poller[0] Host[18] DS[228] SNMP: v1: 10.63.246.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.10.1
, output: 813296889
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Something is hosed in your XML file. Verify that the inbound and outbound OID's are correct. From what it shows on you debug screen, they can not be.

Have you been importing Graph Templates or data queries? This seems pretty out thee...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
fourier
Posts: 5
Joined: Fri Sep 29, 2006 3:52 am

Post by fourier »

I found outbound and inbound query result are the same.
And I try to replace data_input.php, data_queries.php, data_templates.php and poller.php, but can't fix up this problem.
Could you please tell me how to fallback the original setting ?

------------------------------------------------------------------------

06/21/2007 10:15:13 AM - CMDPHP: Poller[0] Host[18] DS[228] SNMP: v1: 10.63.246.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1,
output: 813296889
06/21/2007 10:15:13 AM - CMDPHP: Poller[0] Host[18] DS[228] SNMP: v1: 10.63.246.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.10.1,
output: 813296889

Thanks a lot~
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You must review the Data Query XML file. It will be under <path_cacti>/resources/snmp_queries. There you will find the OID references. Please let me know what you find.

Thanks,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest