BGP counter graph has a lot of holes

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

Moderators: Developers, Moderators

Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

BGP counter graph has a lot of holes

Post by Wunk »

Yesterday I installed a BGP counting template for cisco switches, but it seems to be generating a lot of holes..

The SNMP connection to the router itself is good, because there's no holes in the temperature or traffic graphs..

Anyone got a hint why this might be happening ?

Image
Jeroen Wunnink
Easyhosting.nl Sysadmin
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Change the logging level to medium or high for a while and watch the bgp snmp data that is returned. Are there gaps in the data?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Does the BGP stuff use plain SNMP? Or perhaps a long running script, so changing the max runtime should be considered?
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I would also check the CPU on the router, maybe it's to busy to respond.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
bidzer
Posts: 30
Joined: Tue Jun 20, 2006 12:49 pm

Can you post this?

Post by bidzer »

Hi,

I was wondering if you could post your template and script?

Thanks[/code]
Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

Post by Wunk »

No, router is still not live in production so has 0 to 1% CPU load at all times..
I'll debug de SNMP logging tomorrow and keep it posted here (which should be fun, I'm polling well over 170 devices generating a few thousand graphs
;) )

And yeah, it's SNMP counters it polls from the router

Btw, it's this script:
http://forums.cacti.net/viewtopic.php?t=12327
Jeroen Wunnink
Easyhosting.nl Sysadmin
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If you're using cactid (I suppose so seeing this number of devices) debugging is much easier.
1) Get the ID of your host: Edit the host and remember the number seen in the url
2) run cactid --verbosity=5 <ID> <ID>, e.g. cactid --verbosity=5 42 42 assuming the host's id would be 42
Reinhard
Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

Post by Wunk »

Yeah, I'm using cactid :)

[root@stats cactid]# ./cactid --verbosity=5 261 261
ERROR: Cactid requires either 0 or 2 input parameters
USAGE: <cactidpath>/cactid [start_host_id end_host_id]


And with only 1 host argument:
[root@stats cactid]# ./cactid --verbosity=5 261
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6e starting
[root@stats cactid]#

that's it..
Jeroen Wunnink
Easyhosting.nl Sysadmin
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

That is an older version of Cactid. What version of Cacti are you using?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

Post by Wunk »

0.8.6e, lemme upgrade that first..
Jeroen Wunnink
Easyhosting.nl Sysadmin
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please upgrade Cacti and Cactid. :)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Post by chercen »

Hi,

I am using latest versions of cacti and cactid (cacti-0.8.6h, cactid-0.8.6g), and having the same problem.

Any suggestions?

regards
rony wrote:Please upgrade Cacti and Cactid. :)
Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

Post by Wunk »

After upgrading cactid the problem still existed, any output was fine in debugging mode though..

But after creating a graph for a new peer it was suddenly fine, so I deleted the existing BGP update graphs+datasources and recreated them and it's all ok now..

I'm thinking some kind of RRD corruption caused it..
Jeroen Wunnink
Easyhosting.nl Sysadmin
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Wunk wrote:I'm thinking some kind of RRD corruption caused it..
Possible, um, this is interesting..

Can you email me the supposed corrupted rrd file?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

Post by Wunk »

I already removed and recreated the datasources and graphs, so I'm afraid I don't have them anymore..
Jeroen Wunnink
Easyhosting.nl Sysadmin
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests