Page 1 of 2

Availablity Report Specific Day Report

Posted: Fri May 16, 2014 10:06 am
by vnc786
Hi...

I am using Nagios XI 2012R2.9 60 days trail enabled 30 days past

No Configuration errors.

When i am trying to generate report from Legacy i get 100% undertermined gone through this http://support.nagios.com/knowledgebase ... wdesc=true

Problem is I cannot generate report for specific day where as i can see data (warning, critical,unknown) is there for that specific day in State History.

I am also having licenses server. where it work fine

If i have added a host/server, how much time it takes to come in report and state history because i have added 1 host / 3 services for last 5 hours all up but i cannot still see state history and report.

Is there any limitation in Trail 60 days period with regards to Report?
Also can u point to some document where i can read regarding legacy report explaination etc.

thanks...

Re: Availablity Report Specific Day Report

Posted: Fri May 16, 2014 12:29 pm
by slansing
With the actual XI Availability report you can set a custom date in the filter at the top, that will allow you to pull the information you are looking for I believe.

That report analyzes the nagios log, so as soon as you get results from checks against the target host/hostgroup/servicegroup returned, you should see them in the report.

Re: Availablity Report Specific Day Report

Posted: Sat May 17, 2014 3:19 am
by vnc786
thanks for reply slansing..

i know that i get custom date report..
That report analyzes the nagios log, so as soon as you get results from checks against the target host/hostgroup/servicegroup returned, you should see them in the report.
this is true but in my case i am not able to get report whereas in my one of production server i can get report as soon as i add new host / services in XI availability and nagios core and i am able to get report...

Is it due to TRAIL Period 60 days. ???


thanks...

Re: Availablity Report Specific Day Report

Posted: Mon May 19, 2014 1:40 pm
by slansing
The trial is fully open, you can do anything you would do with a production licensed XI server. It may be a problem with your report or how it is being used. Can you provide a screen shot of the host dropdown not showing a host you are currently actively monitoring? It should be displayed there once you add it.

Re: Availablity Report Specific Day Report

Posted: Sat May 31, 2014 12:22 pm
by vnc786
slansing wrote: Can you provide a screen shot of the host dropdown not showing a host you are currently actively monitoring? It should be displayed there once you add it.
Hi .. i have added a screenshot of state history in which you can see the host and service changed the state. Also i have added screenshot of Availability Report for which some unknown reasong shows 100%.

I have selected specific date the result will be same if i select Last month, yesterday, Quaterly etc. etc.

Also i have check with Nagios Core which gives same result ...

thanks..

Re: Availablity Report Specific Day Report

Posted: Mon Jun 02, 2014 1:12 pm
by lmiltchev
Also i have check with Nagios Core which gives same result ...
So when you run the Legacy Availability Report, you get the same output (UP 100%)? Do you have any errors in the apache error log? Start a running tail:

Code: Select all

tail -f /var/log/httpd/error_log
then go to the web UI and run the Availability Report (with your custom period). After you get the output on the page, go back to the CLI, copy and post the output.

Re: Availablity Report Specific Day Report

Posted: Fri Jun 06, 2014 5:21 am
by vnc786
i have attached httpd error log and Legacy Report Screenshot. There are php warning related to time which is always coming.

Re: Availablity Report Specific Day Report

Posted: Fri Jun 06, 2014 1:18 pm
by sreinhardt
In your first set of images, I noticed that almost all of your state changes within seconds of going down, they are back up. There are far too many seconds in a day (86400) for a few 10-30 second intervals to even make up 1% of time. I really feel that your report is as it should be, as 99.99 some percent of the time your host and services are in an up state. Just to mention, the difference between the core report and XI is likely due to the XI report assuming a base state of OK whereas your core report assumes UNIDENTFIED.

Re: Availablity Report Specific Day Report

Posted: Mon Jun 09, 2014 10:29 am
by vnc786
state changes within seconds of going down
what made it to change in seconds.

check, retry,max=1

2014-04-23 18:33:50 UP HARD 1 of 1 WARNING - 120.63.200.82: rta 76.993ms, lost 80% ## is it due to schedule immediate check because it should check after 1 minute.
2014-04-23 18:33:20 DOWN HARD 1 of 1 CRITICAL - 120.63.200.82: rta nan, lost 100%

Also I want to know how does report calculation(warning %, critical % , average etc) works

For example: If a host is checked by ping and check=5, retry=1, max=5

lets assume host is monitored from 12.00 to 15.00 and if host is down for 1 hour how does it calculate.

thanks

Re: Availablity Report Specific Day Report

Posted: Mon Jun 09, 2014 5:19 pm
by tmcdonald
I'm not entirely sure how the retry interval affects the first retry after a non-OK state. I believe it should respect that value. You didn't redefine the interval_length to 30 in nagios.cfg, did you?

And I believe the Core reports assume 24x7 monitoring, instead of tailoring each report based on the timeperiod assigned. The XI reports have some advanced options for tailoring what is included, but I don't believe Core makes the distinction.