Creating Bandwidth Reports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
atlantic
Posts: 45
Joined: Wed Feb 02, 2011 10:38 am

Creating Bandwidth Reports

Post by atlantic »

Good morning everyone,

Is anyone out there in Nagios-Land creating Bandwidth Reports. Not just pulling up interactive graphs, but utilizing a script or something to pull data from the rrd files in order to generate Daily/Weekly/Monthly Bandwidth report for switches/routers.

Thanks,

Mark

Atlantic Broadband
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Creating Bandwidth Reports

Post by mguthrie »

I had a user a while back request to turn rrd data into CSV for an external reporting tool. Not sure if it helps or not, but there's a quick script for it if you're interested.

Code: Select all

cd /usr/local/nagiosxi/tools
 ./rrd2csv.php

Nagios XI RRD To CSV Tool
Copyright (c) 2011 Nagios Enterprises, LLC

Usage: ./rrd2csv.php --host=<host> [--service='<service>'] [--start=<start>] [--end=<end>]

Options:
  <host>     = Host name [required]
  <service>  = Service description: Use single quotes if spaces in name
  <start>    = Start time. Defaults to 'today.' Accepts -12h, -3d, or YYYYMMDD format.
  <end>      = End time. Defaults to 'today.' Accepts -12h, -3d, or YYYYMMDD format.
Locked