Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Could you please provide me some guidance how to get rid of those strange units and replace them by real numbers ? I tried already everything, but not succesfully. Other graphs are working fine...
rrdtool fetch /usr/local/share/cacti/rra/proxy_sm_bytes_to_72.rrd AVERAGE -s -1h
If the gotten data has very small value shawn as the graph, maybe your data collection method have some problem.
Otherwise maybe wrong CDEF function is defined to the Data Source.
1251696300: nan 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 6.6666666667e-03 0.0000000000e+00
1251696600: nan 3.0000000000e-02 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 6.6666666667e-03 0.0000000000e+00
1251696900: nan 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 1.3289036545e-02 0.0000000000e+00
1251697200: nan 2.6666666667e-02 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 4.4296788483e-05 0.0000000000e+00
1251697500: nan 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 0.0000000000e+00 0.0000000000e+00
1251697800: nan 2.6666666667e-02 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 0.0000000000e+00 0.0000000000e+00
1251698100: nan 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 1.3333333333e-02 0.0000000000e+00
1251698400: nan 2.6490066225e-02 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 0.0000000000e+00 0.0000000000e+00
1251698700: nan 1.7660044150e-04 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 6.6666666667e-03 0.0000000000e+00
1251699000: nan 3.9867109635e-02 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 0.0000000000e+00 0.0000000000e+00
1251699300: nan 1.3289036545e-04 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 3.3333333333e-03 0.0000000000e+00
1251699600: nan 2.9900332226e-02 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 nan 0.0000000000e+00 0.0000000000e+00
1251699900: nan nan nan nan nan nan nan nan
Normally results should not be so small, as script is returning following values :
I have imported your template to my test environment.
I wrote a small script to output data, and set up Cacti to collect data and draw graph.
There are some minor problem, but it works fine like this figure...
The remaining suspicious point is the script output I think.
If it shows normal value as you presented, I have no idea why this happens.
If the data is going in correctly, it is the graph template that is incorrect.
Somewhere in it you have either set it to Average, or are applying Per 5 Minute, etc, etc. Tinker with the graph template until you get the desired results.
--
Live fast, die young
You're sucking up my bandwidth.