Addon getting a graph & rrd id from cacti or DB

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
iggi
Cacti User
Posts: 61
Joined: Sat Feb 23, 2008 10:41 am
Location: Flint, Michigan
Contact:

Addon getting a graph & rrd id from cacti or DB

Post by iggi »

I'm attempting to write an addon (or more of an export data script) that uses the graph export script to export the graphs to another server and then on that other server I need to be able to pull up the graph and some information derived from the RRD file. I can specify the data_template_id, host_id, snmp_index, snmp_query_id, and the graph_template_id and in return I hope I can find a way to get the graph id and rrd id. I have confirmed a way via some MySQL queries to get the graph id, but I am having trouble finding the link from graph id to the rrd it uses. Can anyone offer some insight into how I can do this? either by MySQL queries or by cacti script would be excellent.
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Addon getting a graph & rrd id from cacti or DB

Post by noname »

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests