Can Cacti monitor Gigabit Speeds???

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

Moderators: Developers, Moderators

User avatar
Johnny Lingo
Posts: 28
Joined: Tue Feb 19, 2008 9:57 pm
Location: Silicon Valley, USA

Post by Johnny Lingo »

If you already have graphs you want to keep, you can use the RRDtool tune command to increase the Max value in the RRDfile.
Is there documentation on how to use this command? I recently starting hitting 800 Mb/s and would really like to use my existing graphs rather than start from scratch.

Below is an example
Attachments
Screenshot-cacti - Mozilla Firefox-1.png
Screenshot-cacti - Mozilla Firefox-1.png (23.93 KiB) Viewed 4412 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Johnny Lingo wrote:
If you already have graphs you want to keep, you can use the RRDtool tune command to increase the Max value in the RRDfile.
Is there documentation on how to use this command? I recently starting hitting 800 Mb/s and would really like to use my existing graphs rather than start from scratch.

Below is an example
Sure. man rrdtune. The maximum value to provide is to be understood as a Maximum Number of Bytes seen in a second. That is: it's a rate (with rrdtool, it's ALWAYS a rate). And it's given in Bytes, as ifInOctets gives you Octets, not bits.
Reinhard
hosierd
Posts: 19
Joined: Wed Jun 09, 2004 10:55 am
Location: Rockville, Maryland

1 Minute Polling with GigE Interfaces

Post by hosierd »

Is it still necessary to apply a patch or modify the heartbeat if you want to do 1 minute polling of gige interfaces ?

I'm running cacti v0.8.7b with the two recommended patches. This version allows me to select 1 minute (or less) polling in the settings tab but I noticed the heartbeat value for the snmp interface in & out is 600. Do I need to modify anything to do get accurate info ?

I'm using SNMP v3 to communicate with my targets and selecting 64-bit counters.

Thanks in advance.

Doug
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Neither the polling interval nor the heartbeat are related to the rate defining the MAXIMUM of the data source.
To be honest, cacti mixes up things a bit. As I said, the in/out values are given in octets/bytes. But cacti reads the ifSpeed (given in bits per second) and defines the MAXIMUM to equal ifSpeed. While this sounds good, it isn't. It "should" be ifSpeed / 8! But this normally only leads to the less important fact, that the maximum is defined way too high. In most cases this won't do any harm.
But please pay attention to e.g. autonegotiation.
If ifSpeed changes later on, the rrd file will not be re-defined. So an "old" ifSpeed of e.g. 10 Mbps may still be present where the interface currently is running at GB speed.
Hope this helps
Reinhard
hosierd
Posts: 19
Joined: Wed Jun 09, 2004 10:55 am
Location: Rockville, Maryland

Post by hosierd »

Thanks for your response.

5 minutes after I posted my question I found the sticky thread regarding 1 minute polling in the latest iteration of cacti:

( http://forums.cacti.net/viewtopic.php?t=23885 )

Great thread!

Well detailed examples (tekbot's in particular).

I understand how to link them to data templates etc.

We need to use 64 bit counters (many of our targets sustain throughput over 500 mb & 32 bit counters wrap and give us inacurate numbers/graphs.
hosierd
Posts: 19
Joined: Wed Jun 09, 2004 10:55 am
Location: Rockville, Maryland

Post by hosierd »

Sorry for the double post. The first attempt led to a bb post error.

Thanks for your response.

5 minutes after I posted my question I found the sticky thread regarding 1 minute polling in the latest iteration of cacti:

( http://forums.cacti.net/viewtopic.php?t=23885 )

Great thread!

Well detailed examples (tekbot's in particular).

I understand how to link them to data templates etc.

We need to use 64 bit counters (many of our targets sustain throughput over 500 mb & 32 bit counters wrap and give us inacurate numbers/graphs.

If I want to use 64 bit counters with in / out bits with total bandwith, do I just copy the standard in / out bits with total bandwith and change the data sources to use the 64 bit counters ?

We are using snmpv3 so the support is there for the counters.

Just trying to get it right before I create 400 graphs.

Thanks in advance.

Doug
User avatar
Johnny Lingo
Posts: 28
Joined: Tue Feb 19, 2008 9:57 pm
Location: Silicon Valley, USA

rrdtune?

Post by Johnny Lingo »

Hmmm...the manual comes up, but I don't seem to have the actual command installed. It should be bundled with rrdtool, correct?

Code: Select all

[root@cactiserver rra]# rrdtune
bash: rrdtune: command not found
[root@cactiserver rra]# find / -name 'rrdtune'
[root@cactiserver rra]#
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Eben if the man is "man rrdtune", the command must be invoked using "rrdtool tune"
Reinhard
RedOrange
Posts: 1
Joined: Wed Jul 01, 2009 9:05 am

Post by RedOrange »

Hello All,

I hope I have found the right palce to share and ask a solution for my problem.
I have an cactiEZ v0.6 and working fine.
I'm polling 2 pcs 1G ports, and I realised with default settings, I can't get normal traffic BW value over 600Mbit/s.
Default values:
- poller:spine
- Poller intervall: 1 minute
- Cron intervall: 1 minute
- Data template/Interface traffic/Traffic In and out/
a, Heartbeat:120 (not click)
b, Maximum value: 100 000 000 (click on)

It is a little bit annoying that I'm not able to set this one. :oops:
If I click graps/'device'/realtime -> I can see the current value e.g: 800 or 900 Mit/s.

Please help me, which value(s) can be modified. Thank you for your support in advance!!!

If you know the solution, please write down easily and step by step what should I do.

Thank you thank you !!!!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest