Reporting
Reporting
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?
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?
Re: Reporting
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: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.
Yep. Go to --> XI --> Home --> Performance Graphs --> Host Graphs.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?
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.
"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.
Re: Reporting
Is there any specific tool that we can download and use?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.
I dont see an option to download all these graphs...!!!Yep. Go to --> XI --> Home --> Performance Graphs --> Host Graphs.
Re: Reporting
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.
"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.
Re: Reporting
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'Is there an option to download the PDF on the console it self rather than asking it to send an email
Re: Reporting
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.
"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.
Re: Reporting
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'
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
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
Also, can you return the output of the following commands
Code: Select all
ls -ld /usr/local/nagiosxi/tmp
ls -ld /usr/local/nagiosxiRe: Reporting
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
Re: Reporting
Please upgrade to 2012r2.2:
http://assets.nagios.com/downloads/nagi ... ctions.pdf
http://assets.nagios.com/downloads/nagi ... ctions.pdf
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.
"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.