Hi Yaan,
You should use the rrdtool_fetch_ds function in rrdtool.inc.php to fetch the
input and bandwidthin DSs so you can calculate the utilization.
Hope that helps.
Javier
Yann Algayon wrote:
Hello
I want to know the utilization percentage of an interface in a script.
I looked in the API (inter
Hello
I want to know the utilization percentage of an interface in a script.
I looked in the API (interface and rrd) but I didn't see a function
doing this.
Is there a function like interface_utilization($interface_id) that would
return this percentage?
Yann Algayon
-