Graph showing wrong badwidth metrics
Moderators: Developers, Moderators
Graph showing wrong badwidth metrics
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.
Also is there a way to change the poller from 5 min. to every minute?
Thanks, I am new to this.
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.
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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).
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).
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?
What polling patch and what error message?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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
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
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
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.
I will try to change the files again and I will take note of the error message that poller.php is returning.
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
Thanks
Upgrade to 0.8.7a. Then in cacti's settings there are options for the polling and cron intervals.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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 (474.29 KiB) Viewed 6907 times
Have you verified your device actually supports 64bit counters? snmpwalk ifHCInOctets for that device.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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 (410.58 KiB) Viewed 6877 times
-
- graph.jpg (474.29 KiB) Viewed 6877 times
The same underlaying issues of the counters wrapping is present. snmpwalk your device as I stated before.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests