Page 1 of 1

[Nagios-devel] Host Availability Report

Posted: Mon Feb 17, 2003 1:33 pm
by Guest
I ran into the host availability reporting problem discussed on the
Nagios Users mailing list in the thread "Host Availability Report".

As I understand it, the given solutions were:
1) Increase the backtrack period.
2) Set the default host state manually.

I used #1 to solve my problem temporarily. However, I think there are
better ways to fix this...

1) Have Nagios record all host states in the log file during log
rotation. This would remove the need for backtracking entirely, as all
host states would be present at the start of each log file.

2) Have Nagios record all host states on a specified interval. Simply
ensure that the interval is less than or equal to the backtrack period.
That way, whenever you backtrack, you are guaranteed to find your
initial host states. In the case of daily log rotation, this interval
would need to be 4 days or less.

Unless I've missed something, I think that one of these solutions is
needed to ensure that Nagios can always find initial state for hosts.
Otherwise, given that hosts are up for long enough, Nagios won't be able
to find initial state in any reasonable backtracking period.

--

Matt Clay
Systems Administrator
Western States Electric
503-653-8619 (phone)
503-653-2279 (fax)








This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]