Reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Reporting

Post by MSPk »

Hi,

I'm trying to export the historical data for the parameters monitored on a server, however when we checked on nagios there is an option to export the graphs but not the actual data. The reports also show if the service is up or not but not the actual stats against the timelines. Is there an option to get the stats of the parameters(like cpu, memory) for a monitored host in an data file rather than on graphs.


Also, I see that the filter function in nagios will be appled for only 1 graph and when we click on another graph (even for the same host) we have to apply the filter again. Do we have an option to down all the graphs available for a host in one go for the set filter rather than downloading each one of them individually?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

MSPk wrote:Is there an option to get the stats of the parameters(like cpu, memory) for a monitored host in an data file rather than on graphs.
The values stored in RRDs are averages over certain periods of time. Do not expect them to be the exact value at the time recorded. This is done to save space as performance data can fill hard drives quickly. You can use rrdfetch to pull specific values from the rrds for certain times and dump them to stdout, just remember that these values are averaged.
MSPk wrote:Do we have an option to down all the graphs available for a host in one go for the set filter rather than downloading each one of them individually?
Yep. Go to --> XI --> Home --> Performance Graphs --> Host Graphs.
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.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

The values stored in RRDs are averages over certain periods of time. Do not expect them to be the exact value at the time recorded. This is done to save space as performance data can fill hard drives quickly. You can use rrdfetch to pull specific values from the rrds for certain times and dump them to stdout, just remember that these values are averaged.
Is there any specific tool that we can download and use?
Yep. Go to --> XI --> Home --> Performance Graphs --> Host Graphs.
I dont see an option to download all these graphs...!!!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

You would use the scheduled reporting features to turn the page into a pdf. The scheduled reporting feature can turn any XI page into a pdf. It is the clock/timer icon located in the upper right hand corner of the XI interface on the blue navigation bar.
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.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

Code: Select all

ERROR: Failed to render URL 'http://localhost/nagiosxi/perfgraphs/index.php?&host=localhost&service=Current Load&source=1&view=2&start=&end=&startdate=&enddate=&mode=2&service_id=129&username=nagiosadmin&ticket=o6u0qqdo' as '/usr/local/nagiosxi/tmp/scheduledreport-nagiosadmin-59ccfh-page.pdf'
This is the error we have in the email sent, when a scheduled report was created and sent as an email.

Is there an option to download the PDF on the console it self rather than asking it to send an email
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

Looks like there is a space in the url that should have been html encoded. Can you try another service without a space in the description for troubleshooting's sake?
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.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

It looks to be the same....!!!

ERROR: Failed to render URL 'http://localhost/nagiosxi/perfgraphs/?& ... t=o6u0qqdo' as '/usr/local/nagiosxi/tmp/scheduledreport-nagiosadmin-3no7tt-page.pdf'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Reporting

Post by scottwilkerson »

Can you verify what version of XI you are running as I believe there were some scheduled reporting bugs that were fixed recently.

Also, can you return the output of the following commands

Code: Select all

ls -ld /usr/local/nagiosxi/tmp
ls -ld /usr/local/nagiosxi
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

Version on Nagios - Nagios XI 2012R1.8

Code: Select all

[root@localhost ~]# ls -ld /usr/local/nagiosxi/tmp
drwsrwsr-x 2 apache nagios 4096 May 27 02:04 /usr/local/nagiosxi/tmp
[root@localhost ~]# ls -ld /usr/local/nagiosxi
drwxr-xr-x 10 nagios nagios 4096 May 10 06:14 /usr/local/nagiosxi
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

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.
Locked