how to get service details data for the graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

how to get service details data for the graph

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: how to get service details data for the graph

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: how to get service details data for the graph

Post 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 .
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: how to get service details data for the graph

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: how to get service details data for the graph

Post 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.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: how to get service details data for the graph

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: how to get service details data for the graph

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: how to get service details data for the graph

Post 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/
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: how to get service details data for the graph

Post by abrist »

What browser are you using? Have you tried a different browser? If you use IE, try compatibility mode.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: how to get service details data for the graph

Post by ravish78 »

Yet it is working firefox.Seems to be browser issue.
Thanks for support