[solved] Graphs not generated with all graph items
Moderators: Developers, Moderators
[solved] Graphs not generated with all graph items
All,
I had started with the original Bits/sec template then found the improved template and changed the original to match the improved... but I'm having an issue where graphs generated with one template don't show all the graph items.
A graph generated with the improved template displays what I want, so I've made them match, and it still doesn't work... although the graphs did show different items as I was making the changes.
Incorrectly displaying graph:
The incorrect graph items list:
Correct graph:
Correct graph items list:
I've gone through every screen in the template and haven't found a discrepancy. What am I missing?
--system info--
Operating System: Windows 2003
Webserver: IIS
Cacti:0.8.7f
Spine: no spine
MySQL: didn't check it (not sure it matters in this case)
PHP: 5.2.9
RRDTool (Cygwin or Win32 version): Win32, 1.2.30.0
Net-SNMP: 5.4.2.1
Cygwin (cygwin1.dll version): 1005.25.0.0
Plugin Architecture: 2.7
I had started with the original Bits/sec template then found the improved template and changed the original to match the improved... but I'm having an issue where graphs generated with one template don't show all the graph items.
A graph generated with the improved template displays what I want, so I've made them match, and it still doesn't work... although the graphs did show different items as I was making the changes.
Incorrectly displaying graph:
The incorrect graph items list:
Correct graph:
Correct graph items list:
I've gone through every screen in the template and haven't found a discrepancy. What am I missing?
--system info--
Operating System: Windows 2003
Webserver: IIS
Cacti:0.8.7f
Spine: no spine
MySQL: didn't check it (not sure it matters in this case)
PHP: 5.2.9
RRDTool (Cygwin or Win32 version): Win32, 1.2.30.0
Net-SNMP: 5.4.2.1
Cygwin (cygwin1.dll version): 1005.25.0.0
Plugin Architecture: 2.7
Re: Graphs not generated with all graph items
Graph debug output for the broken one please.
Also you're aware cacti 0.8.7g + patches the latest? Lots of graph bug fixes....
Also you're aware cacti 0.8.7g + patches the latest? Lots of graph bug fixes....
| 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: Graphs not generated with all graph items
I hadn't noticed there was a new version of Cacti. I'll have to wait for the weekend to upgrade.
Here is the graph debug text:
Here is the graph debug text:
Code: Select all
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="MU_CORE - Traffic - Vl12" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/398/136.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/398/136.rrd":traffic_out:MAX \
DEF:c="C\:/Inetpub/wwwroot/cacti/rra/398/136.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,*,-1,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#99FF99FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#0000FFFF:"Outbound\n" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
COMMENT:"Total In\: 41.67 GB\n" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total Out\: 25.04 GB\n"
RRDTool Says:
OK
Re: Graphs not generated with all graph items
Are you sure the correct graph template is assigned to your problem graph? the output looks like the standard interface template.
| 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: Graphs not generated with all graph items
I guess I'm not sure. How do I check such a thing?
Re: Graphs not generated with all graph items
In graph management, look at the name of the graph template its using. is it your 'improved' one or the standard?
| 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: Graphs not generated with all graph items
Oh I see, I read too much into it. Yes, it is the standard one. When I switch the template to the "improved" the graph looks fine. But I have 2338 graphs using the standard template, and determined it would be far more time effective to simply change the graph template than change the template assigned to each.
Re: Graphs not generated with all graph items
You can use the cacti gui or cli scripts to bulk change the graph template for lots of devices.
| 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: Graphs not generated with all graph items
well, I'll be. It was right there "behind the milk". I'll change the templates and consider that good enough.BSOD2600 wrote:You can use the cacti gui or cli scripts to bulk change the graph template for lots of devices.
Thanks for your help.
Who is online
Users browsing this forum: No registered users and 0 guests