Cisco router - BGP Updates graphs don't work

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

Moderators: Developers, Moderators

bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: Cisco router - BGP Updates graphs don't work

Post by bmfmancini »

Glad to hear its working!!

On the cosmetic thing both width and height are the same in the template for me for both state and updates


You can modify that in the graph template if you want it different
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
User avatar
haflinger
Posts: 20
Joined: Fri Aug 19, 2022 7:39 am
Location: Jelenia Gora, Poland

Re: Cisco router - BGP Updates graphs don't work

Post by haflinger »

I took a look at RRDtool commands for both graphs. I can see the differences:

BGP peer updates:

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
[cut]
--height=120 \
--width=500 \
[cut]
BGP state:

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=SVG \
[cut]
--height=200 \
--width=700 \
[cut]
I changed in the template for "BGP peer updates" to what "BGP state" has and everything looks great!

Thanks again for your time and help! Have a nice weeekend!
Best regards,
HaflingeR.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cisco router - BGP Updates graphs don't work

Post by TheWitness »

Just go to Console > Templates > Graph and switch the sizes. Note to Sean: 700x200 is the standard right now.
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?
User avatar
haflinger
Posts: 20
Joined: Fri Aug 19, 2022 7:39 am
Location: Jelenia Gora, Poland

Re: Cisco router - BGP Updates graphs don't work

Post by haflinger »

I did it in the following way:
update.JPG
update.JPG (32.5 KiB) Viewed 1217 times
I hope this is a good way :)

Thank you for your support and answer.
Best regards,
HaflingeR.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cisco router - BGP Updates graphs don't work

Post by Osiris »

If you have to do it to 20 templates, doing from the table view is easier, but you are fine doing one at a time too.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests