Nagios-1.2 - Trending Issue

Marc Powell marc at ena.com
Fri May 27 16:44:04 CEST 2005



> -----Original Message-----
> From: Tom Brown [mailto:tom.brown at goodtechnology.com]
> Sent: Friday, May 27, 2005 3:53 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios-1.2 - Trending Issue
> 
> 
> > Is there a log entry prior to the WARNING state in that 7 day period
> > that shows the status as being OK? If not, you'll want to increase
your
> > backtracked archives to be high enough to include a log entry of
that
> > previous state _or_ assume initial states with a first assumed state
of
> > OK.
> 
> yes there is - there are log entries previous and after that warning
> event that htings were OK - I trended the same check just now using 7
> days and also 24 hours as the trend timescale and as that service is
OK
> it just says OK for 100% of the time weather it be the last 24 hours
or
> 7 days. For a reason i just can't work out trends only report the
> current state of the service. Nothing in any logs show any reason why
> this might be.
> 
> I'm starting to tear my hair out over this so if anyone has any other
> suggestions as to the cause of the issue then i'll be glad to hear it.
> Within the var directory of the nagios install what files are used to
> store the current state of the services and also the archived service
> data? Do i have to tell Nagios where to find these files?

>From nagios.cfg --

# This is where the current status of all monitored services and
# hosts is stored.  Its contents are read and processed by the CGIs.
# The contentsof the status file are deleted every time Nagios
#  restarts.

status_file=/usr/local/nagios/var/status.log 

Historical data is read from var/nagios.log and var/archives/*. Can your
web server user read those files? I've never had a problem with
availability reports in the 3 or 4 years I've been using netsaint/nagios
leading me to still believe that there is something specifically wrong
with your installation or configuration.

The cgi's read nagios.cfg to determine where those files are located
(log_file and log_archive_path) so they'll use the same location as the
nagios daemon.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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