Not all graphs becomes drawn...

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

Moderators: Developers, Moderators

Post Reply
gabe4all
Posts: 4
Joined: Mon Jan 23, 2006 8:44 am

Not all graphs becomes drawn...

Post by gabe4all »

I tried to create a template that graphs 8 values.
I get this values from a perl script (it just prints some figures).

The problem is, that only the first two graphs becomes drawn!

cactid seems to work:
rrd is created

Code: Select all

02/15/2006 11:45:16 AM - POLLER: Poller[0] CACTI2RRD: D:/intranet/cacti/rrdtool/rrdtool.exe create d:/intranet/cacti/rra/ROUTERX_cos1_drops_369.rrd --step 300 DS:COS4_Drops:COUNTER:600:0:1000000000 DS:COS2_Drops:COUNTER:600:0:1000000000 DS:COS4_Traffic:COUNTER:600:0:1000000000 DS:COS3_Drops:COUNTER:600:0:1000000000 DS:COS3_Traffic:COUNTER:600:0:1000000000 DS:COS2_Traffic:COUNTER:600:0:1000000000 DS:COS1_Traffic:GAUGE:600:0:1000000000 DS:COS1_Drops:GAUGE:600:0:1000000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
It is getting data from my stupid script:

Code: Select all

02/15/2006 11:45:15 AM - CACTID: Poller[0] Host[24] DS[369] SCRIPT: D:/perl/bin/perl.exe D:/intranet/cacti/scripts/generateStupidCOS.pl ROUTERX, output: COS1_Traffic:1 COS2_Traffic:2 COS3_Traffic:3 COS4_Traffic:4 COS1_Drops:11 COS2_Drops:22 COS3_Drops:33 COS4_Drops:44
And is doing something with this data:

Code: Select all

02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS1_Traffic:1' [map COS1_Traffic->COS1_Traffic]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS2_Traffic:2' [map COS2_Traffic->COS2_Traffic]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS3_Traffic:3' [map COS3_Traffic->COS3_Traffic]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS4_Traffic:4' [map COS4_Traffic->COS4_Traffic]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS1_Drops:11' [map COS1_Drops->COS1_Drops]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS2_Drops:22' [map COS2_Drops->COS2_Drops]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS3_Drops:33' [map COS3_Drops->COS3_Drops]
02/15/2006 11:45:16 AM - POLLER: Poller[0] Parsed MULTI output field 'COS4_Drops:44' [map COS4_Drops->COS4_Drops]
Can somebody see a mistake?
(Sorry for this stupid question... and the oversized pictures)

Thanks!
Attachments
graph.jpg
graph.jpg (35.71 KiB) Viewed 988 times
graph_template.jpg
graph_template.jpg (54.19 KiB) Viewed 988 times
graph_template_item.jpg
graph_template_item.jpg (59.71 KiB) Viewed 988 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

All of your other data sources are counters while your COS1's are gauge.
gabe4all
Posts: 4
Joined: Mon Jan 23, 2006 8:44 am

Post by gabe4all »

Hehe, thanks!

I changed it and now it works fine! :P

kind regards,
gabe
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests