Strange Graphs issue
Moderators: Developers, Moderators
Strange Graphs issue
Hello all,
i have issue like that >
My Interface - Traffic graph template is not working, but it is working when i have tried this:
In the Console / Templates / Graph Templates i have copied the template Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) (1).
Then i selected one of my device, went to Graph List, select the graph. Then i have changed the Graph template to Interface - Traffic (bits/sec) (1).. See picture.
Graph start working. Then i have changed it back to Interface - Traffic (bits/sec) and graphs are still working.
Do you have any idea where can be a problem? I have more then 2500 graphs with this template so it will be really hard work to change it like this way
Thanks
i have issue like that >
My Interface - Traffic graph template is not working, but it is working when i have tried this:
In the Console / Templates / Graph Templates i have copied the template Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) (1).
Then i selected one of my device, went to Graph List, select the graph. Then i have changed the Graph template to Interface - Traffic (bits/sec) (1).. See picture.
Graph start working. Then i have changed it back to Interface - Traffic (bits/sec) and graphs are still working.
Do you have any idea where can be a problem? I have more then 2500 graphs with this template so it will be really hard work to change it like this way
Thanks
- Attachments
-
- cacti.jpg (144.38 KiB) Viewed 1393 times
Re: Strange Graphs issue
Lets start by troubleshooting why it doesn't work to begin with.
enabled graph debugging?
errors in cacti.log?
enabled graph debugging?
errors in cacti.log?
| 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 |
Re: Strange Graphs issue
Debug mode says > ERROR: String ends after the = sign on 'CDEF:cdefb='
But when i changed it to Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) (1). and then back to Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) it is ok.
From logs i have this error > ERROR: Problems parsing Multi SNMP OID!
Can be the ERROR: Problems parsing Multi SNMP OID! fixed in some way?
Thanks
But when i changed it to Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) (1). and then back to Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) it is ok.
From logs i have this error > ERROR: Problems parsing Multi SNMP OID!
Can be the ERROR: Problems parsing Multi SNMP OID! fixed in some way?
Thanks
Re: Strange Graphs issue
two separate and unrelated errors.
post the full graph debug output before and after switching graph templates.
Are all the data sources assigned in the dropdown for a device/graph which is exhibiting this problem? They need to be.
The Problems parsing Multi SNMP OID error -- using spine or cmd.php poller? For what script/template is the error getting logged? something that's stock in Cacti or one you got from the forum?
post the full graph debug output before and after switching graph templates.
Are all the data sources assigned in the dropdown for a device/graph which is exhibiting this problem? They need to be.
The Problems parsing Multi SNMP OID error -- using spine or cmd.php poller? For what script/template is the error getting logged? something that's stock in Cacti or one you got from the forum?
| 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 |
Re: Strange Graphs issue
Yes, data sources are assigned.
Output before:
Output after:
Thanks
Output before:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='X9J00248 - Traffic - 2/1' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/tsystems/var/www/cacti/rra/x9j00248_traffic_out_761.rrd':'traffic_in':AVERAGE \
DEF:b='/tsystems/var/www/cacti/rra/x9j00248_traffic_out_761.rrd':'traffic_out':AVERAGE \
DEF:c='/tsystems/var/www/cacti/rra/x9j00248_traffic_out_761.rrd':'traffic_out':LAST \
CDEF:cdefa='a,8,*' \
CDEF:cdefb='' \
CDEF:cdeff='b,8,*' \
CDEF:cdefh='' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefb:LAST:' Current\:' \
GPRINT:cdefb:AVERAGE:'Average\:' \
GPRINT:cdefb:MAX:'Maximum\:' \
COMMENT:'Total\: 9.33 GB\n' \
LINE1:cdeff#002A97FF:'Outbound' \
GPRINT:cdeff:LAST:'Current\:%8.2lf%s' \
GPRINT:cdefh:AVERAGE:'Average\:' \
GPRINT:cdefh:MAX:'Maximum\:' \
COMMENT:'Total\: 220.99 GB\n' \
COMMENT:'Last Update on Mon 10 Aug 08\:30\:04 CEST 2015'
RRDTool Says:
ERROR: String ends after the = sign on 'CDEF:cdefb='
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='X9J00248 - Traffic - |query_ifName|' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/tsystems/var/www/cacti/rra/x9j00248_traffic_out_761.rrd':'traffic_in':AVERAGE \
DEF:b='/tsystems/var/www/cacti/rra/x9j00248_traffic_out_761.rrd':'traffic_out':AVERAGE \
DEF:c='/tsystems/var/www/cacti/rra/x9j00248_traffic_out_761.rrd':'traffic_out':LAST \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf%s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf%s' \
COMMENT:'Total\: 9.33 GB\n' \
LINE1:cdeff#002A97FF:'Outbound' \
GPRINT:cdeff:LAST:'Current\:%8.2lf%s' \
GPRINT:cdeff:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdeff:MAX:'Maximum\:%8.2lf%s' \
COMMENT:'Total\: 220.99 GB\n' \
COMMENT:'Last Update on Mon 10 Aug 08\:30\:04 CEST 2015'
RRDTool Says:
OK
Re: Strange Graphs issue
What cacti version?
Per the error, notice the two blank entries?
CDEF:cdefb=''
CDEF:cdefh=''
both of these are missing in the 'fixed' graph template. Probably have extra unassigned items in the graph template which you/an imported template modified. edit the graph template and compare against a functional template to see what the differences are...
Per the error, notice the two blank entries?
CDEF:cdefb=''
CDEF:cdefh=''
both of these are missing in the 'fixed' graph template. Probably have extra unassigned items in the graph template which you/an imported template modified. edit the graph template and compare against a functional template to see what the differences are...
| 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 |
Re: Strange Graphs issue
Cacti v. 0.8.8c. I am using this version on few servers. Problem is only with one.
Yes, i see the missing CDEF. But when i change graph template to (1) and then back to orginal graph template the CDEF is not missing.
I also have checked both template in Console/Template/Graph Templates and they are the same.
Thanks
Yes, i see the missing CDEF. But when i change graph template to (1) and then back to orginal graph template the CDEF is not missing.
I also have checked both template in Console/Template/Graph Templates and they are the same.
Thanks
Re: Strange Graphs issue
Lots of issues/security bugs fixed since 0.8.8f, I'd suggest you upgrade.
please post screenshots of the graph templates before and after you make the change, including the graph debugging output. attachments to the forum are ideal.
please post screenshots of the graph templates before and after you make the change, including the graph debugging output. attachments to the forum are ideal.
| 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 |
Re: Strange Graphs issue
Yes, i am thinking about 0.8.8f. But when will be 0.8.8g released?
Output from debug is above.
How can i post the screenshot of graph template if it is a long code?
Thanks
Output from debug is above.
How can i post the screenshot of graph template if it is a long code?
Thanks
Re: Strange Graphs issue
Not sure. When it's ready and the devs have time for a releasethirty2 wrote:Yes, i am thinking about 0.8.8f. But when will be 0.8.8g released?
Just a screenshot of the graph and the items will be fine. can copy/paste the graph debug output into a CODE block.thirty2 wrote:How can i post the screenshot of graph template if it is a long code?
| 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 |
Re: Strange Graphs issue
Graph template - Traffic (bit/sec) (not working)
Changed to Graph template - Traffic (bit/sec) (1) < this is just copy of Graph template - Traffic (bit/sec) (working)
Back to Traffic (bit/sec) (working)
Printscreens
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='X9J00270 - Traffic - 2/1' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_in':AVERAGE \
DEF:b='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_out':AVERAGE \
DEF:c='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_out':LAST \
CDEF:cdefa='a,8,*' \
CDEF:cdefb='' \
CDEF:cdeff='b,8,*' \
CDEF:cdefh='' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefb:LAST:' Current\:' \
GPRINT:cdefb:AVERAGE:'Average\:' \
GPRINT:cdefb:MAX:'Maximum\:' \
COMMENT:'Total\: 1.35 GB\n' \
LINE1:cdeff#002A97FF:'Outbound' \
GPRINT:cdeff:LAST:'Current\:%8.2lf%s' \
GPRINT:cdefh:AVERAGE:'Average\:' \
GPRINT:cdefh:MAX:'Maximum\:' \
COMMENT:'Total\: 166.44 KB\n' \
COMMENT:'Last Update on Thu 13 Aug 09\:55\:10 CEST 2015'
RRDTool Says:
ERROR: String ends after the = sign on 'CDEF:cdefb='
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='X9J00270 - Traffic - |query_ifName|' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_in':AVERAGE \
DEF:b='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_out':AVERAGE \
DEF:c='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_out':LAST \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf%s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf%s' \
COMMENT:'Total\: 1.35 GB\n' \
LINE1:cdeff#002A97FF:'Outbound' \
GPRINT:cdeff:LAST:'Current\:%8.2lf%s' \
GPRINT:cdeff:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdeff:MAX:'Maximum\:%8.2lf%s' \
COMMENT:'Total\: 165.8 KB\n' \
COMMENT:'Last Update on Thu 13 Aug 10\:00\:09 CEST 2015'
RRDTool Says:
OK
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='X9J00270 - Traffic - |query_ifName|' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_in':AVERAGE \
DEF:b='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_out':AVERAGE \
DEF:c='/tsystems/var/www/cacti/rra/x9j00270_traffic_out_808.rrd':'traffic_out':LAST \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf%s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf%s' \
COMMENT:'Total\: 1.35 GB\n' \
LINE1:cdeff#002A97FF:'Outbound' \
GPRINT:cdeff:LAST:'Current\:%8.2lf%s' \
GPRINT:cdeff:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdeff:MAX:'Maximum\:%8.2lf%s' \
COMMENT:'Total\: 165.8 KB\n' \
COMMENT:'Last Update on Thu 13 Aug 10\:00\:09 CEST 2015'
RRDTool Says:
OK
- Attachments
-
- traffic1.JPG (99.36 KiB) Viewed 1239 times
-
- traffic.JPG (95.61 KiB) Viewed 1239 times
Who is online
Users browsing this forum: No registered users and 2 guests