Dear All,
I found problem when generate RRD Graph with traffic ~3Gbps.
Problem is when snmp counter64 more than 10E+15, Graph will blank out
EX. SNMPv2-SMI::enterprises.x.x.x.x.x.x = Counter64: 106144424591342
Then I checking log, It show as belows,
OK u:0.01 s:0.01 r:21.35
OK u:0.01 s:0.01 r:23.38
OK u:0.01 s:0.01 r:25.41
OK u:0.01 s:0.01 r:26.42
OK u:0.01 s:0.01 r:28.46
OK u:0.01 s:0.01 r:30.48
OK u:0.01 s:0.01 r:31.50
ERROR: not a simple integer: '1.549119706173E+14'
OK u:0.01 s:0.01 r:35.57
ERROR: not a simple integer: '1.1182789685187E+14'
OK u:0.01 s:0.01 r:38.62
OK u:0.01 s:0.01 r:40.65
OK u:0.01 s:0.01 r:42.67
OK u:0.01 s:0.01 r:43.69
As my understanding RRD is not support only integer number not "." or "E+14"
Can anyone help me solved this issue?
Best Regards,
Problem with more than 3Gbps Graph
Moderators: Developers, Moderators
Make sure you're set the device to use snmpv2 and 64bit graph templates.
| 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 |
Maybe your problem is more related to rrdtool than to cacti.
Sometimes, i use this short script to see what cacti ask to rrdtool :
th chmod line is only usefull when rrdtool graph commands are launched by a different user that the used used by the poller (for example, www-data and cacti).
Use it only for a short time, insted of /usr/bin/rrdtool in the Settings/Paths section. Maybe you can get the same information in the cacti log file, but i found this way more usefull to re-play some problems on rrd filesout of cacti.
Sometimes, i use this short script to see what cacti ask to rrdtool :
Code: Select all
cat /usr/bin/rrdtool.sh
#!/bin/bash
echo `date +%Y%m%d-%H:%M:%S`" : rrdtool $@" >> /tmp/rrdtool.log
chmod 0777 /tmp/rrdtool.log
if [ "$1" = "-" -o "$2" = "-" ]
then
tee -a /tmp/rrdtool.log | /usr/bin/rrdtool "$@" 2>> /tmp/rrdtool.log
echo -e "\ncode retour :$?:" >> /tmp/rrdtool.log
else
/usr/bin/rrdtool "$@" 2>> /tmp/rrdtool.log
echo -e "\ncode retour :$?:" >> /tmp/rrdtool.log
fi
Use it only for a short time, insted of /usr/bin/rrdtool in the Settings/Paths section. Maybe you can get the same information in the cacti log file, but i found this way more usefull to re-play some problems on rrd filesout of cacti.
Who is online
Users browsing this forum: No registered users and 8 guests