Need report on average bandwidth usage on certain graphs

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Moderators, Developers

Post Reply
Author
Message
coolcliff
Posts: 17
Joined: Wed Dec 20, 2017 3:51 am

Need report on average bandwidth usage on certain graphs

#1 Post by coolcliff » Sat Jan 06, 2018 5:51 am

Hi All,

I need to get reports for average bandwidth usage for several graphs during a specific time period
example: i need the daily bandwidth usage between 10:00PM to 1:00AM and then get the monthly average from that data

can someone guide me if can get this done

Regards
Clifford Dsouza


coolcliff
Posts: 17
Joined: Wed Dec 20, 2017 3:51 am

Re: Need report on average bandwidth usage on certain graphs

#3 Post by coolcliff » Sun Jan 07, 2018 11:48 pm

Hi netniV

Yes, I need to collect the daily average bandwidth usage (interface in/out statistics) for the Number of Intra network links having Bandwidth utilisation >90% during peak hours (TCBH) for multiple interfaces on a monthly and quarterly basis

i can do that manually every day, but that would be tedious.

if i can automatically do that via a script which i could run every month and every quarter and export the data to csv, that would be great.

the activities would be
1) specify interfaces that the data needs to be collected from
2) export the data to a file.

Regards.

Clifford Dsouza

netniV
Cacti Guru User
Posts: 2884
Joined: Sun Aug 27, 2017 12:05 am

Re: Need report on average bandwidth usage on certain graphs

#4 Post by netniV » Tue Jan 16, 2018 8:42 am

Steps to help you would be:
  1. Go to Graph View
  2. Bring up the graph you wish to export
  3. Set the 'from' and 'to' to be midnight to midnight.
  4. Click on the cog icon next to the graph (you'll see a list of all the data)
  5. Click on the tools icon next to the graph
This will give you the command used to generate the graph. You can modify that basic template but use the export or rrdxport command instead taking some of those parameters:
https://oss.oetiker.ch/rrdtool/doc/rrdxport.en.html

Post Reply