% Time Undetermined
Jason Gauthier
jgauthier at lastar.com
Fri May 23 19:52:47 CEST 2003
Sorry for the delayed response. I wanted to give it a few more hours to
answer these questions.
I ran a report for a service. I used the stock reports and select "Today".
The service has been up, and assume initial state is set to on. It returned
100% undetermined. I ran a custom report with today's dates in it, and
only 20% of the time was undetermined.
The other reports I was running were strictly hosts.
Regardless of report data, the host report always returns 100%.
Thanks for your ideas!
Jason
> -----Original Message-----
> From: Steve Rossen [mailto:Steve.Rossen at Parago.Com]
> Sent: Thursday, May 22, 2003 3:18 PM
> To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] % Time Undetermined
>
>
> What if you run a report for a service? Also what type of
> report are you
> trying to run? I will take a look at mine and see if anything jogs my
> memory.
>
> Steve
>
> -----Original Message-----
> From: Jason Gauthier [mailto:jgauthier at lastar.com]
> Sent: Thursday, May 22, 2003 8:01 AM
> To: Steve Rossen; Jason Gauthier; 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] % Time Undetermined
>
>
> Greetings-
>
> Thanks for your response. I changed log_initial_states to
> make sure the
> initial state was up. I deleted my logs and retention information, and
> started Nagios with fresh information.
>
> I waited 24 hours, and tried to run a report for just today.
> I get 100% undetermined time.
>
> I understand that if you try to go back farther than there is
> information
> this will occur. However, I'm trying to just read information
> from 1 day
> (Today), and have logs for 2.
>
> The time should be able to be determined. Unless I am
> completely missing
> something.
>
> Any other tips, are greatly welcomed.
>
>
> > -----Original Message-----
> > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com]
> > Sent: Wednesday, May 21, 2003 2:27 PM
> > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net'
> > Subject: RE: [Nagios-users] % Time Undetermined
> >
> >
> > What about nagios.cfg options? I believe the most relevant
> option is:
> >
> > log_initial_states=
> >
> >
> > You will need some info in the logs to be able to generate a
> > report. I don't
> > understand what you mean by you don't have backtracked
> > logged. Nagios will
> > let you do a report for any date, but it needs logs to make
> > that report
> > useful. So if you are wanting a year to date report but only
> > have last weeks
> > log Nagios will make a report from Jan to now just only the
> > last 7 days will
> > have info, the rest will be undetermined.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Jason Gauthier [mailto:jgauthier at lastar.com]
> > Sent: Wednesday, May 21, 2003 1:17 PM
> > To: Steve Rossen; 'nagios-users at lists.sourceforge.net'
> > Subject: RE: [Nagios-users] % Time Undetermined
> >
> >
> > Yes, you are correct. The FAQ entry is basically:
> >
> > "Description: When user generates host/service reports using
> > the trends and
> > availability CGIs, they get a percent of time reported as being
> > 'Undetermined'. Sometimes the report will show '100%
> > Undetermined' time.
> > What does this mean?
> >
> >
> > Solution: The trends and availability CGIs were designed to
> > not lie to you
> > (or your manager). They make the best attempt to give an
> > honest report of
> > the state of a host or service based on alert entries found
> in the log
> > files. If there are chunks of time in the reporting period
> > that the CGIs
> > cannot determine the state of a host/service for, those
> > chunks get counted
> > as undetermined.
> >
> > If you get 100% of the period being reported as undetermined,
> > the problem
> > lies with the fact that the CGIs could not determine the
> > initial/start state
> > of the host/service for that period. You can increase the
> > chances of the
> > CGIs finding an initial state for the host/service by
> > increasing the value
> > of the Backtracked Archives option. If this does not help and
> > you know what
> > the state of the host/service was at the start of the report
> > period, you can
> > tell the CGIs what that was by selecting it from the First
> > assumed state
> > dropdown box.
> >
> > If only a portion of the reporting period is being shown as
> > undetermined, it
> > may be due to two things:
> >
> >
> > Nagios was not running during the undetermined times. If this
> > is the case,
> > you're out of luck. The CGIs cannot be forced to report the
> state of a
> > host/service when Nagios was not running.
> > The Nagios process was restarted one or more times during the
> > reporting
> > period. If you have state retention enabled, set the Assume
> > state retention
> > option to yes. If you do not have state retention enabled,
> > you might try
> > setting the Assume initial states option to yes. "
> >
> >
> > The first solution is "Increase Backtracked Archives" which
> > is a moot point,
> > because I have none. The second solution is to force the
> > "Assumed initial
> > state", which my original emails states I have done. (I
> > forced the initial
> > status to be "UP")
> >
> > S, I appreciate you pointing me to the FAQ which I have covered.
> > Unfortunatly, in my case something else is wrong.
> >
> > I would be most thankful for any other suggestions.
> >
> > Thanks all,
> >
> > Jason
> >
> >
> > > -----Original Message-----
> > > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com]
> > > Sent: Wednesday, May 21, 2003 10:54 AM
> > > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net'
> > > Subject: RE: [Nagios-users] % Time Undetermined
> > >
> > >
> > > There is a FAQ on this. Do a search.
> > >
> > > -----Original Message-----
> > > From: Jason Gauthier [mailto:jgauthier at lastar.com]
> > > Sent: Wednesday, May 21, 2003 8:48 AM
> > > To: 'nagios-users at lists.sourceforge.net'
> > > Subject: [Nagios-users] % Time Undetermined
> > >
> > >
> > > Hey Folks-
> > >
> > >
> > > I've been using Nagios for quite a while. Recently, my
> CTO came to
> > > me and said he wants a way for me to measure our uptime.
> I thought,
> > > "Nagios has
> > > built in reporting, and should do the job nicely."
> > >
> > > I proceeded to clean out all my Nagios retention states,
> and start
> > > from a clean slate. After several days I'm back to
> running reports.
> > >
> > > Every report I run for every host always tells me that
> 100.000% of
> > > my time is undetermined. I cannot figure out why. (Even if I run
> > > the report on the
> > > last 24 hours, assume inital state is up, [and it is!], I
> > > always get this)
> > >
> > > I would really like to figure out how this works so I can
> fix it..
> > > and not have to build something else myself.
> > >
> > > Thanks!
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: ObjectStore.
> > > If flattening out C++ or Java code to make your application
> > fit in a
> > > relational database is painful, don't do it! Check out
> ObjectStore.
> > > Now part of Progress Software.
> > http://www.objectstore.net/sourceforge
> > > _______________________________________________
> > > Nagios-users mailing list Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS
> > > when reporting
> > > any issue.
> > > ::: Messages without supporting info will risk being sent
> > to /dev/null
> > >
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS
> when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list