Problem with more than 3Gbps Graph

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

Moderators: Developers, Moderators

Post Reply
penocchio
Posts: 1
Joined: Sun Sep 02, 2007 12:54 am

Problem with more than 3Gbps Graph

Post by penocchio »

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,
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Make sure you're set the device to use snmpv2 and 64bit graph templates.
msylvain
Posts: 9
Joined: Wed Jan 23, 2008 3:30 am

Post by msylvain »

Maybe your problem is more related to rrdtool than to 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
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.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests