Graph showing wrong badwidth metrics

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

Moderators: Developers, Moderators

eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Graph showing wrong badwidth metrics

Post by eyoung »

I have cacti running on a Windows 2003 server and I am graphing the ports for my HP Procurve 3400cl switch. The graphs are showing values of 10's of MB when I know that it should be 100s of MB because the port is 1GB and the amount of traffic from the servers pushing data through those ports add up to 400-650MB. I am not sure if there is a setting that I am missing, so any help would be appreciated.

Also is there a way to change the poller from 5 min. to every minute?

Thanks, I am new to this.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Windows doesn't support 64bit counters natively, and thusly the 32bit counters are rolling over with the high bandwidth.

Yes, you can install a 1min polling patch http://forums.cacti.net/viewtopic.php?t=16482 for 0.8.6j.

Another option would be to use the Boost plugin.
eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Post by eyoung »

Thanks, I will apply the patch for the polling cycle.

So does your reply mean that there is no way for me to get accurate data regarding the traffic on my switch?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Oh a switch, I thought you were trying to monitor Windows. Yes, most switches support 64bit counters. Switch to snmpv2 and use the 64bit graph templates. Then if those don't work, try the 1min polling and/or Boost.
eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Post by eyoung »

I changed to SNMP V2 and I have tried graphing Bits per second and Bytes per second and I still do not get the correct data. I should be seeing about 800 MB right now and my graph shows just under 10 MB.

I also tried to install the polling patch and my graphs stopped collecting data. When I ran poller.php I got an error message. I changed back to the original files and now it is working again ( with the wrong data).
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you recreate the data source and graphs for that switch? If not, you must. simply delete them and tell cacti to re-create them.

What polling patch and what error message?
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Post by jay »

You might want to check the Maximum Value within your data template as well. Maybe the figure is not high enough. Can't remember what it should be for Gig and upwards links. Remember seeing a post about it sometime ago although might have been for 10G links.

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Post by eyoung »

I followed the above link for changing the polling from 5 minutes to 1 minute and downloaded this file : PollingIntervalsPatchv8.zip. I followed the directions associated with it and my graphs stopped and I was getting error when running poller.php. I changed back to my original files and my graphs started again and poller.php was working.

I will try to change the files again and I will take note of the error message that poller.php is returning.
eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Post by eyoung »

I am using Cacti 0.8.7 ( on Windows 2003), do I need to install any patches or is 1 minute polling supported? From what I have seen in the forum I am not sure that I need to install any patches. However I cannot find any documentation to configure my cacti to poll every minute. Can anyone point me in the right direction for the doc's?

Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Upgrade to 0.8.7a. Then in cacti's settings there are options for the polling and cron intervals.
eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Post by eyoung »

I have upgraded tp 0.8.7a and I have selected the polling option for every minute, but my graphs still do not show properly. This is a 1GB circuit and I have not been able to have it report in range of 300 to 800MB that it should be reporting, and graphing every minute. When I run poller.php from the command line sometimes I get no response (no error either) and sometimes it continues to poll every minute and out of the five polls it will only show Datasources:2 once. The other times it reports Datasources:0.
Attachments
graph.jpg
graph.jpg (474.29 KiB) Viewed 6881 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Have you verified your device actually supports 64bit counters? snmpwalk ifHCInOctets for that device.
eyoung
Posts: 7
Joined: Tue Nov 13, 2007 12:12 pm

Post by eyoung »

Inside of the graph management screen my graph looks different then the graph I placed in the previous message. The above picture was located from my graphs page and the lower picture is from graph management.
Attachments
manage.jpg
manage.jpg (410.58 KiB) Viewed 6851 times
graph.jpg
graph.jpg (474.29 KiB) Viewed 6851 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The same underlaying issues of the counters wrapping is present. snmpwalk your device as I stated before.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you poll every minute, the data template must have a step of 60. If it has a step of 300, it will only be polled every 5 minutes. That's the way it works.

Now, if you change the step to 60, you will have to discard your old RRDfiles. That is also just the way RRDtool works.

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 2 guests