Page 1 of 1
Report generation in Nagios XI
Posted: Mon Aug 01, 2016 4:55 am
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
Re: Report generation in Nagios XI
Posted: Mon Aug 01, 2016 9:57 am
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?
Re: Report generation in Nagios XI
Posted: Mon Aug 01, 2016 12:04 pm
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.
Re: Report generation in Nagios XI
Posted: Mon Aug 01, 2016 12:29 pm
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.
Re: Report generation in Nagios XI
Posted: Mon Aug 01, 2016 12:48 pm
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.
Re: Report generation in Nagios XI
Posted: Mon Aug 01, 2016 12:57 pm
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