So, I have a script which is run through cacti to graph custom application data on all my hosts. Because all the data is easily available, I have the script send all the data for multiple graphs back through one Data Input Method and one Data Template
I have multiple Graph Templates that access data from this Data Template. Cacti seems to be running the script and populating new Data Sources for each Graph Template using this Data Template.
Is there any way to tell Cacti to only run the script once and reuse an already existing data source for multiple Graph Templates? I'm using Cacti 0.8.6.c.
Below is a simplified example of the problem. I have one Data Input Method that grabs memory info for a machine. I have one Graph Template to show real memory, and one to show swap. The poller does the below:
03/22/2005 07:50:02 PM - CMDPHP: Poller[0] Host[3] CMD: /www/cacti/local.scripts/memory-free.sh server1, output: realmax:514584 realfree:62176 swapmax:2048248 swapfree:1970768
03/22/2005 07:50:02 PM - CMDPHP: Poller[0] Host[3] CMD: /www/cacti/local.scripts/memory-free.sh server1, output: realmax:514584 realfree:62068 swapmax:2048248 swapfree:1970768
03/22/2005 07:50:03 PM - POLLER: Poller[0] CACTI2RRD: /opt/rrdtool/bin/rrdtool update /www/cacti/rra/server1_real_max_12.rrd --template real_max:real_free:swap_max:swap_free 1111521001:514584:62176:2048248:1970768
03/22/2005 07:50:03 PM - POLLER: Poller[0] CACTI2RRD: /opt/rrdtool/bin/rrdtool update /www/cacti/rra/server1_real_max_13.rrd --template real_max:real_free:swap_max:swap_free 1111521001:514584:62068:2048248:1970768
Single data source - Multiple graph problem
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests