Question on "First Assumed State"

Subhendu Ghosh sghosh at sghosh.org
Wed Oct 22 17:30:01 CEST 2003


On Wed, 22 Oct 2003, Ronald wrote:

> Hi all,
> 
> I've noticed, whilst viewing the availability report, 
> there's an option to specify the "First Assumed State". 
> If this is not specified, it associates a value 
> with "Insufficient Data".
> 
> Am I correct in assuming the first assumed state 
> value is used to prefill information if Nagios has not 
> been running for the amount of time the report is 
> being requested for ? eg: Report requested for 
> 30days, but Nagios has only been running for 7 days -
>  thus, the value of "First Assumed State" is used 
> instead?

not really...

Each Nagios log that is archived only contains status change information.  
(This will change with v2) So when running the reports with a certain 
timeperiod, Nagios only looks at the appropriate number of files (see 
backtrack).

But since the log files don't contain a known original state, they cannot 
determine state for the report - specially if there have not been any 
status changes.  If there have, then it picks up state from the first seen 
status info.  But the period beetween report start and first status change 
will still be indeterminate.

To avoid the inderminate state, set the initialization state through the 
"First Assumed State"

-- 
-sg



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
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