Question about php api to read in/out values

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

Moderators: Developers, Moderators

Post Reply
blackmetal
Posts: 3
Joined: Mon Jan 30, 2012 3:16 am

Question about php api to read in/out values

Post by blackmetal »

Hello,
We need to connect to Cacti to read IN/OUT or Total Value for every switch port and show them in our portal, as i know these values are store in RRD files, so is there any APi that we can connect to it and read those values ?
for example call a api in cacti and enter period of time and switch port id and graph id , then we will be able to read IN/OUT/Total value of graph,
because we need to know how much GB or TB every dedicated server used.
THank you.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Question about php api to read in/out values

Post by cigamit »

There is not currently an API, but we are working on one for v1.3
blackmetal
Posts: 3
Joined: Mon Jan 30, 2012 3:16 am

Re: Question about php api to read in/out values

Post by blackmetal »

Shen do you release v1.3?
And for now how can i solve my issue?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Question about php api to read in/out values

Post by netniV »

You would need to make use of rrdtool and extract the data from the appropriate rrd file as cacti does.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests