Report generation in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajiv30299
Posts: 9
Joined: Mon Jul 18, 2016 4:12 am

Report generation in Nagios XI

Post by rajiv30299 »

Hi,

Can somenone help me to understand, How Nagios Xi server pulls performance reports.

Whether we need to have RRD to plugged in with Xi.

whats is the concept and how its working.

i just found this link : https://assets.nagios.com/downloads/nag ... fdata.html.

But couldn't understand anything from this.

Can someone help me on this.

Regards
Rajiv
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Report generation in Nagios XI

Post by bwallace »

All of the performance data for graphs is stored in RRD files here:

/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd

It is not stored any other place.
One thing you might take a look at is using the performance data tool component to look at how the code is interacting with the RRD files:

https://exchange.nagios.org/directory/A ... ol/details

Is this what you're looking for?
Be sure to check out the Knowledgebase for helpful articles and solutions!
rajiv30299
Posts: 9
Joined: Mon Jul 18, 2016 4:12 am

Re: Report generation in Nagios XI

Post by rajiv30299 »

Thanks Bro .

We are getting the performance details in the below location.

how can we populate those details into meaningful graphs.

Any idea.

My requirement is create performance charts/graphs out of the data collected by Nagios.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Report generation in Nagios XI

Post by rkennedy »

Nagios XI already has graphs included with it, called Performance Graphs. When you're on the service detail page, there will be a tab specifically for 'Performance Graphs' where you can see them.

The data is populated into the RRD's when a check runs, by looking at the values returned after a |. For example -

Code: Select all

[root@localhost libexec]# ./check_http -H nagios.com
HTTP OK: HTTP/1.1 301 Moved Permanently - 553 bytes in 0.089 second response time |time=0.089424s;;;0.000000 size=553B;;;0
The data time=0.089424s;;;0.000000 size=553B;;;0 is passed as two variables to performance data.
Former Nagios Employee
rajiv30299
Posts: 9
Joined: Mon Jul 18, 2016 4:12 am

Re: Report generation in Nagios XI

Post by rajiv30299 »

Hi Bro,

can you be more elaborate on the below area :

The data is populated into the RRD's when a check runs, by looking at the values returned after a |. For example -
CODE: SELECT ALL
[root@localhost libexec]# ./check_http -H nagios.com
HTTP OK: HTTP/1.1 301 Moved Permanently - 553 bytes in 0.089 second response time |time=0.089424s;;;0.000000 size=553B;;;0


The data time=0.089424s;;;0.000000 size=553B;;;0 is passed as two variables to performance data.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Report generation in Nagios XI

Post by rkennedy »

rajiv30299 wrote:Hi Bro,

can you be more elaborate on the below area :

The data is populated into the RRD's when a check runs, by looking at the values returned after a |. For example -
CODE: SELECT ALL
[root@localhost libexec]# ./check_http -H nagios.com
HTTP OK: HTTP/1.1 301 Moved Permanently - 553 bytes in 0.089 second response time |time=0.089424s;;;0.000000 size=553B;;;0


The data time=0.089424s;;;0.000000 size=553B;;;0 is passed as two variables to performance data.
Sure.

All performance data that is put into the RRD files, is returned after the | from a plugin. For example, with check_ssh, the performance data will be time=0.106197s as seen below -

Code: Select all

[root@localhost libexec]# ./check_ssh nagios.com
SSH OK - OpenSSH_5.3 (protocol 2.0) | time=0.106197s;;;0.000000;10.000000
This link outlines the exact technicalities that are in play - https://nagios-plugins.org/doc/guidelines.html#AEN200
Former Nagios Employee
Locked