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.
Question about php api to read in/out values
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Mon Jan 30, 2012 3:16 am
Re: Question about php api to read in/out values
There is not currently an API, but we are working on one for v1.3
-
- Posts: 3
- Joined: Mon Jan 30, 2012 3:16 am
Re: Question about php api to read in/out values
Shen do you release v1.3?
And for now how can i solve my issue?
And for now how can i solve my issue?
Re: Question about php api to read in/out values
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 4 guests