46abrist wrote:perfdata may be backed up. What is the output of:Code: Select all
ls /usr/local/nagios/var/spool/checkresults/ | wc -l
Reporting
Re: Reporting
Re: Reporting
What is the output of the following commands?
Code: Select all
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -lBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Reporting
Code: Select all
ls /usr/local/nagios/var/spool/xidpe | wc -lCode: Select all
ls /usr/local/nagios/var/spool/perfdata | wc -lRe: Reporting
Well, nagios is reaping the checks, I assume the graphs are still blank? Maybe something is happening on the perfdata side:
Code: Select all
tail -50 /usr/local/nagios/var/perfdata.logFormer 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
There isn't any chnage the in the perdata log since 11th July.
You do not have the required permissions to view the files attached to this post.
Re: Reporting
hmmm. Maybe they are not even getting queued for perfdata processing. Try:
Code: Select all
ls /usr/local/nagios/var/spool/checkresults/ | wc -lFormer 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
I have tried running this command multiple times and the output is a numeric and it ranges between 32-90
Re: Reporting
Well, it looks like performance data is getting reaped, prepared, and written correctly. Have you tried to upgrade pnp4nagios (do not do this) or anything else related to performance data graphing?
Do you have a support contract? If so, send an email to [email protected] so we can setup a remote session.
Do you have a support contract? If so, send an email to [email protected] so we can setup a remote session.
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
Box293 wrote:Hi MSPk,
While this will not help you right now, I am currently developing a component for Nagios XI that will analyse the data in the rrd files and display them in a table format. I had not thought about being able to export this data to csv/excel format however this is a great idea so I'll look at incorporating the idea into the componment. This will be called the "Performance Data Tool" and analysing rrd files is just one part of the functionality it will provide.
I am aiming to release it at the Nagios World Conference 2013 as part of the presentation I will be giving titled "Performance Data and Graphs".
Enough talking about me. Here is an example of how to pull data from the rrd files.
On the CLI of the Nagios XI host:
This is the rrd file for the localhost's (Nagios XI host) host object. There are two datasources in this RRD file, Round Trip Time and Packet Loss.Code: Select all
rrdtool fetch /usr/local/nagios/share/perfdata/localhost/_HOST_.rrd MAX -r 900 -s -1h gives the output: 1 2 1372197300: 1.6577777778e-02 0.0000000000e+00 1372197600: 1.6960000000e-02 0.0000000000e+00 1372197900: 1.6960000000e-02 0.0000000000e+00 1372198200: 2.0400000000e-02 0.0000000000e+00 1372198500: 2.2020000000e-02 0.0000000000e+00 1372198800: 2.6422222222e-02 0.0000000000e+00 1372199100: 2.6422222222e-02 0.0000000000e+00 1372199400: 1.9300000000e-02 0.0000000000e+00 1372199700: 1.8360000000e-02 0.0000000000e+00 1372200000: 1.8786666667e-02 0.0000000000e+00 1372200300: 1.8786666667e-02 0.0000000000e+00 1372200600: nan nan 1372200900: nan nan
Information on the rrdtool.
This should be enough information to get you started.
Do we have this functionality available in the new version of nagios?
Re: Reporting
I don't know if we currently have plans to roll it into XI, though it will most definitely be available on the exchange as an XI component. How is the component coming Box? (sounds like you have some patient fans 
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.