bizarre values in availability cgi

stucky stucky101 at gmail.com
Fri Mar 24 22:27:06 CET 2006


guys

I know a lot of questions have been asked about this but I have not found
any answers yet so I decided to drop another line.

I have had nagios 2.0 running for a year now and it's been great. One thing
that baffles me though is the availability reporting.

We had 2 production outages the other day (one scheduled and one
unscheduled). The scheduled one was about of about 37 minutes.
The unscheduled one about 7-10 minutes a couple of hours later. This was
after a few months of 100% uptime.
When I created an availability report over the last 7 days I got these
values.

Report period : last 7 days
Report time Period: 24x7
First Assumed Service State: Service OK

OK
Unscheduled     6d 23h 28m 37s           99.689%      99.689%
Total                  6d 23h 28m 37s           99.689%      99.689%

CRITICAL
Unscheduled     49710d 6h 22m 1s       -0.062%       -0.062%
Scheduled         0d 0h 37m 38s             0.373%         0.373%
Total                  0d 0h 31m 23s             0.311%         0.311%

Now the scheduled stuff seems about ok but the unscheduled stuff doesn't
make sense.
First of all negative percentages ??
Second, how can a box be down for 49710 days 6 hours and 22 mins in a 7 day
period ? The actual downtime was about 10 minutes
but I don't see that in the report at all.
I did a test after with another box. I created 2 outages.
1. Unscheduled for about 15 mins
2. scheduled for about 8 mins

The report I did after that looks much better:

OK
Unscheduled     6d 22h 43m 14s           99.238%      99.238%
Scheduled         0d 0h 55m 22s             0.549%        0.549
Total                  6d 23h 38m 36s           99.788%      99.788%

CRITICAL
Unscheduled      0d 0h 14m 21s             0.142%       0.142%
Scheduled          0d 0h 7m 3s                 0.070%       0.070%
Total                   0d 0h 21m 24s             0.212%       0.212%

According to that the reporting seems fine but over a long period of time
the reports seem to get funny as shown above.
I'm sorry if this has been discussed endlessly. If so could someone point me
to those threads please ?

Thx

--
stucky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060324/ea8888a5/attachment.html>


More information about the Users mailing list