Nagios-1.2 - Trending Issue
Marc Powell
marc at ena.com
Thu May 26 16:40:51 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Tom Brown
> Sent: Thursday, May 26, 2005 7:53 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios-1.2 - Trending Issue
>
> Hi
>
> I have my nagios setup fine and running. In the past i have used a db
> backend and i have never had an issue with the reporting/trending not
> working. I have this install configured to use files for its db and
its
> configuration is as follows
Nagios has always used flat files for reporting (nagios.log and
archives/*) regardless of the backend status data storage method. The
database only ever contains current data, not historical.
> ./configure --prefix=/opt/nagios-1.2 --with-nagios-user=nagios
> --with-nagios-grp=nagios --with-command-user=nagios
> --with-command-grp=nagios --with-init-d
> ir=/etc/rc.d/init.d --with-cgiurl=/cgi-bin --with-htmurl=
> --with-default-status --with-default-comments --with-default-extinfo
> --with-template-extinfo --with
> -default-retention --with-default-objects --with-template-objects
> --with-default-perfdata --with-file-perfdata --with-default-downtime
>
> The issue is that whenever i look at the reporting or trending for a
> host(s) i just get 100% availability even when i know a service has
not
> been available. Looking at the event log page this just tells me
things
> like..
This seems logical to me and is correct behavior. If the host itself
hasn't been down then the host has been available 100% of the time
irregardless of what services on that host are doing. I would expect an
availability report for the service to show the downtime for that
service. Under your assumption how would you represent the availability
of a host when one service has been up 100% of the time and another
service on the same host has been available 0% of the time. Would the
host availability be 50%? 0%? 100%? How about if there were 3 dozen
services on that host and only one has been down? Would that host be
considered unavailable?
> [26-05-2005 13:51:48] SERVICE;wss2;Disk
>
E:;OK;1/3;HARD;1117111894;1117112194;ACTIVE;1;1;1;1116178362;0;OK;929030
;0
> ;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1;e:\
> - total: 17.09 Gb - used: 13.63 Gb (80%) - free 3.46 Gb (20%)
>
> and only applied to every hour - Can anyone tell me where to start to
> debug this issue.
It seems to be just a bad assumption. If I'm reading your e-mail
incorrectly, please elaborate more specifically.
--
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