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
Creating Bandwidth Reports
Re: Creating Bandwidth Reports
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.