Host and/or Service availability report
Justin Craig
jrcraig.email at gmail.com
Mon Jul 31 20:38:36 CEST 2006
perfect, since I didn't know how to to specify initial assumed state "OK", I
changed log_initial_states to 1 and now I'm graphing availability again.
thanks....
On 7/31/06, Marc Powell <marc at ena.com> wrote:
>
> Only if nagios can determine what the initial state was. Normally,
> nagios does not log the first check of a host or service, only when it
> changes state. As such, when you run reporting now, nagios is probably
> showing the states as undetermined because it doesn't have anything in
> the logs to use to determine initial state (unless your selected host or
> service has changed state since restart). That's why you need to specify
> an initial assumed state and what that state should be (OK).
> Alternately, enabling the 'log_initial_states' option in nagios.cfg and
> restarting will log the first check for everything and therefore provide
> you with that initial state from that time forward. This is the same
> behavior you would have seen when you first installed nagios.
>
> --
> Marc
>
> > -----Original Message-----
> > From: Justin Craig [mailto:jrcraig.email at gmail.com]
> > Sent: Monday, July 31, 2006 8:26 AM
> > To: Marc Powell
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Host and/or Service availability report
> >
> > Okay that's fine, but if I go to a host a view availability, shouldn't
> the
> > time from when nagios started to current time be refected here?
> >
> > Justin
> >
> >
> > On 7/31/06, Marc Powell <marc at ena.com> wrote:
> >
> > I indicated that the Axe approach would removed all history. --
> >
> > "Axe: stop nagios; remove nagios.log ; start nagios; remove
> > archives/*.
> > *******That will remove all history for all hosts and
> > services*******"
> >
> > You'll likely need to use Assumed States for your availability
> > reports
> > until the initial state data gets re-populated.
> >
> > --
> > Marc
> >
> > > -----Original Message-----
> > > From: Justin Craig [mailto:jrcraig.email at gmail.com]
> > > Sent: Monday, July 31, 2006 7:29 AM
> > > To: Marc Powell
> > > Subject: Re: [Nagios-users] Host and/or Service availability
> > report
> > >
> > > Thanks Marc, I cleared the logs and al lthe old data was
> purged.
> > I
> > > started Nagios again and now it's not reporting availablity on
> any
> > hosts?
> > >
> > > Justin
> > >
> > >
> > > On 7/28/06, Marc Powell <marc at ena.com> wrote:
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
>
--
- Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060731/c436d7c4/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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