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
Latency Reporting on Nagios XI
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Latency Reporting on Nagios XI
I'm assuming that latency is the performance metric for a service you're wanting to compare for the entire hostgroup?
-
- Posts: 5
- Joined: Mon May 16, 2011 9:20 am
Re: Latency Reporting on Nagios XI
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
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Latency Reporting on Nagios XI
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Latency Reporting on Nagios XI
Also, our standard host checks create performance graphs on this metric, and the performance graph calculates the average for the time period
You do not have the required permissions to view the files attached to this post.