Page 1 of 2

how to get service details data for the graph

Posted: Thu Jan 24, 2013 4:59 pm
by ravish78
Hi Team,

We have configured the hosts and services successfully.We are getting graphs for hosts and services as well.

As per customer rewuirement we need to get the data of any service say LOAD for specific time period.

How can we get the data.Though it is shown in form of graphs we require the complete output of data

Thanks in advance

Re: how to get service details data for the graph

Posted: Thu Jan 24, 2013 5:07 pm
by abrist
The data is stored in rrds. These are strange beasts as they effectively get less granular with time. You could print the graphs from a few different places in XI (or send a pdf) if that meats your needs. You should even be able to specify a time frame. Have you looked at the reporting options in XI? Otherwise you could grep the old log files for each check for a given host.

Re: how to get service details data for the graph

Posted: Thu Jan 24, 2013 9:15 pm
by ravish78
Yes we have seen different option of graphs in XI but we need data values to be shown in graph or get atleast data values along with time .

Re: how to get service details data for the graph

Posted: Fri Jan 25, 2013 9:11 am
by scottwilkerson
ravish78 wrote:Yes we have seen different option of graphs in XI but we need data values to be shown in graph or get atleast data values along with time .
If you use the Graph Explorer the data value and time are displayed when you mouse over the graph

Re: how to get service details data for the graph

Posted: Mon Jan 28, 2013 4:37 pm
by ravish78
We are getting graphs for top alerts,host and service health .
We are not getting any graph for scalable performance graphs and time stacked performance graphs.


Actually our requirement is to get data values for load on one server a certain day for a period of one hrour where the load is very high.We are unable to give that data values.
Can you please provide a way where we can get that.

Re: how to get service details data for the graph

Posted: Mon Jan 28, 2013 4:57 pm
by slansing
When trying to access these graphs does anything drop into the error_log when attempting to use this function?

Code: Select all

tail -f /var/log/httpd/error_log

Re: how to get service details data for the graph

Posted: Mon Jan 28, 2013 5:02 pm
by abrist
Could you do a running tail on the httpd/error_log and then try to load those graph pages that are not working. Post the error_log.

Code: Select all

tail -f /var/log/httpd/error_log
Now open the graphs pages that are not working.

Post the tail output.

Re: how to get service details data for the graph

Posted: Tue Jan 29, 2013 11:09 am
by ravish78
[Tue Jan 29 11:08:29 2013] [error] [client 13.131.1.242] PHP Notice: Undefined variable: _SESSION in /usr/local/nagiosxi/html/includes/components/s3auth/s3auth.inc.php on line 49, referer: http://nagioswv.corp.xerox.com/nagiosxi ... hexplorer/
[Tue Jan 29 11:08:30 2013] [error] [client 13.131.1.242] PHP Notice: Undefined variable: startdate in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 133, referer: http://nagioswv.corp.xerox.com/nagiosxi ... hexplorer/
[Tue Jan 29 11:08:30 2013] [error] [client 13.131.1.242] PHP Notice: Undefined variable: enddate in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 133, referer: http://nagioswv.corp.xerox.com/nagiosxi ... hexplorer/

Re: how to get service details data for the graph

Posted: Tue Jan 29, 2013 11:12 am
by abrist
What browser are you using? Have you tried a different browser? If you use IE, try compatibility mode.

Re: how to get service details data for the graph

Posted: Tue Jan 29, 2013 11:32 am
by ravish78
Yet it is working firefox.Seems to be browser issue.
Thanks for support