Gaps on only one graph

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Gaps on only one graph

Post by abadaba »

This problem only occurs on one graph. Its the traffic graph of my BEFSX41 linksys router. Every other graph works just fine, with no gaps whats so ever. Ive read everything there is too read on this forum about gaps. From changing the polling timeout, snmp timeout etc. To changing too 64 bit counter "my router doesnt support v2." I also have changed the SNMP timeout for this host from 500-1000-1500-2000, still same thing. So here is an attatchment of the file, and the debug output...


Code: Select all

GRAPH DEBUG MODE

c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Router - Traffic - #1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="C\:/www/htdocs/monitor.stupidlag.com/rra/router_traffic_in_26.rrd":traffic_in:AVERAGE \
DEF:b="C\:/www/htdocs/monitor.stupidlag.com/rra/router_traffic_in_26.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=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"  \
COMMENT:"Total In\:  1.36 GB\n"  \
LINE1:cdeff#002A97:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out\: 484.09 MB" 
RRDTool Says:

OK

Code: Select all

LOG DEBUG MODE OF SELECTED GRAPH

06/12/2006 05:38:08 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool/rrdtool.exe update C:\www\htdocs\monitor.stupidlag.com\rra\router_traffic_in_27.rrd --template traffic_in:traffic_out 1150151882:5219993:8542003  
06/12/2006 05:38:08 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool/rrdtool.exe update C:\www\htdocs\monitor.stupidlag.com\rra\router_traffic_in_26.rrd --template traffic_in:traffic_out 1150151882:14626669:10656602  
Attachments
untitled.jpg
untitled.jpg (64.88 KiB) Viewed 2931 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Being that its Linksys, I blame them. The fact that the gaps are seemingly quite regular really looks like a problem with their snmp.

Turn the logging level to medium or high and leave it that way for 30-60min. Watch the graph for gaps and then look in the log file if Cacti got any data from the router (I'm betting no). When it didn't recieve any data, did cacti think the router was down?
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

My log stays on medium...so i always have that data...I will post as an attatchment in about 45 mins. I have upgraded too the newest firmware on my router...so i hope it changes...
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

5 Minute intervals

Code: Select all

06/12/2006 05:58:07 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 22970506  
06/12/2006 05:58:07 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 16243810  
06/12/2006 05:58:07 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 37769837  
5 Minutes later

Code: Select all

06/12/2006 06:03:08 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 33234233  
06/12/2006 06:03:08 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 25622208  
06/12/2006 06:03:08 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 18111095  
06/12/2006 06:03:08 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 43615500  
Another 5 minutes later

Code: Select all

06/12/2006 06:08:08 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 38069639  
06/12/2006 06:08:08 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 27705387  
06/12/2006 06:08:08 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 20414819  
06/12/2006 06:08:08 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 48643536  
Another 5 minutes later

Code: Select all

06/12/2006 06:13:09 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 42460687  
06/12/2006 06:13:09 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 30770614  
06/12/2006 06:13:09 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 22290490  
06/12/2006 06:13:09 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 54625540  
Last but not least...This one...And this one actually has some errors

Code: Select all

06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 3297452  
06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 1647385  
06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] DS[27] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 1586307  
06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] DS[26] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 3597748  
06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] NOTICE: Spike Kill in Effect for '192.168.1.1'  
06/12/2006 06:18:07 PM - CACTID: Poller[0] ASSERT: '2627944 .lt. 208993' failed. Recaching host '192.168.1.1', data query #1  
06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] SNMP Result: Host responded to SNMP  
06/12/2006 06:18:07 PM - CACTID: Poller[0] Host[6] PING Result: ICMP: Host is Alive  
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

Anyone?
| Cacti 0.8.6h | MySQL 5.0.22 | PHP 5.1.2
|Apache2.20 | RRDtool 1.2.13 | CentOS 4.3 | P4 3200Mhz | 2.5GB |
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Look on your graph, is there a gap in data for 06:18? If so, then you've just found the likely cause. If not, keep monitoring your logs and look for other anomalies.
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

Yeah there is a gap around 6:18...What can cause this?
| Cacti 0.8.6h | MySQL 5.0.22 | PHP 5.1.2
|Apache2.20 | RRDtool 1.2.13 | CentOS 4.3 | P4 3200Mhz | 2.5GB |
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

here is one i just got

Code: Select all

06/12/2006 07:48:07 PM - CACTID: Poller[0] Host[6] NOTICE: Spike Kill in Effect for '192.168.1.1'  
06/12/2006 07:48:07 PM - CACTID: Poller[0] ASSERT: '2631204 .lt. 214077' failed. Recaching host '192.168.1.1', data query #1  
| Cacti 0.8.6h | MySQL 5.0.22 | PHP 5.1.2
|Apache2.20 | RRDtool 1.2.13 | CentOS 4.3 | P4 3200Mhz | 2.5GB |
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

I have noticed about every other 4th pole...Well like ever other 20min interval i get this error...
| Cacti 0.8.6h | MySQL 5.0.22 | PHP 5.1.2
|Apache2.20 | RRDtool 1.2.13 | CentOS 4.3 | P4 3200Mhz | 2.5GB |
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Looks like the router is creating spikes in the data which cacti is supressing. Download STG and monitor the bandwidth on your router for a while. Does it report data spikes too? If so, then there is your problem; the router.
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

Hrrrm how do i run that thing?
| Cacti 0.8.6h | MySQL 5.0.22 | PHP 5.1.2
|Apache2.20 | RRDtool 1.2.13 | CentOS 4.3 | P4 3200Mhz | 2.5GB |
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well since it defaults to 192.168.1.1, in theory all you need to do is open it up, allow it in your windows firewall and it graphs your routers traffic.
abadaba
Cacti User
Posts: 52
Joined: Wed Nov 23, 2005 10:43 pm

Post by abadaba »

I get "error getting first OID Error:11"

EDIT:it says target 127.0.0.1
| Cacti 0.8.6h | MySQL 5.0.22 | PHP 5.1.2
|Apache2.20 | RRDtool 1.2.13 | CentOS 4.3 | P4 3200Mhz | 2.5GB |
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

So change the target to your router... View-> settings.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests