Page 1 of 1

Latency Reporting on Nagios XI

Posted: Thu Sep 20, 2012 3:50 am
by gbolahan
Hi Guys,

I have a requirement to generate latency reports in excel format for a host group. Is there any Nagios XI functionality that can help me withe that?


Regards

Gbolahan

Re: Latency Reporting on Nagios XI

Posted: Thu Sep 20, 2012 9:32 am
by mguthrie
I'm assuming that latency is the performance metric for a service you're wanting to compare for the entire hostgroup?

Re: Latency Reporting on Nagios XI

Posted: Thu Sep 20, 2012 9:54 am
by gbolahan
Latency is the Round Trip Time performance metric fora host or service, I need to be able report the average value of this metric over any defined period of time

Re: Latency Reporting on Nagios XI

Posted: Thu Sep 20, 2012 10:00 am
by mguthrie
We don't have a nice "out of the box" solution for a report like that. We do have a script: /usr/local/nagiosxi/tools/rrd2csv.php that can be used to export any host or service rrd file into CSV. You'd probably have to look at writing a custom script that looped through the hostgroup list and grabbed all of the metrics that you need, and then incorporate this script.

Code: Select all

[root@DEV59 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.

This utility creates host and service definitions for use in testing.

Re: Latency Reporting on Nagios XI

Posted: Thu Sep 20, 2012 10:03 am
by scottwilkerson
Also, our standard host checks create performance graphs on this metric, and the performance graph calculates the average for the time period