Question about dragging info from mysql

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

Moderators: Developers, Moderators

Post Reply
ammesiah
Posts: 2
Joined: Tue Dec 07, 2010 11:50 am

Question about dragging info from mysql

Post by ammesiah »

Hello,

We'd like to make some rrd graph with some specific data.
We have some script that put data into a mysql database.
We'd like to get theses data and graph it into Cacti.

We already have created the Data Input Methods with a PHP script.

When we test int directly into bash with

Code: Select all

php vmware_cplanning.php "esx01" "clus01"
and got a return

Code: Select all

vm_left_cpu:325 vm_left_mem:-3 ratio_vcpu_pcpu:1 vm_per_host:4
as we setup 4 output fields

But we wonder what'll be the next step in order to graph theses values daily ?

Thanks again for your help !
Attachments
Data Input Methods
Data Input Methods
CACTI01.gif (35.7 KiB) Viewed 369 times
ammesiah
Posts: 2
Joined: Tue Dec 07, 2010 11:50 am

Re: Question about dragging info from mysql

Post by ammesiah »

We created the data source using the data input method we made.
We created the graph on the server based on the data source.
But the graph is empty, and nothing is displayed on it.
Attachments
Graph
Graph
01.gif (90 KiB) Viewed 360 times
Data source
Data source
02.gif (61.53 KiB) Viewed 360 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Question about dragging info from mysql

Post by gandalf »

Please use 2nd link of my sig to narrow this doen
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests