File: availability-report.pod

package info (click to toggle)
remstats 1.00a4-8woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,576 kB
  • ctags: 1,020
  • sloc: perl: 11,706; ansic: 2,776; makefile: 944; sh: 869
file content (40 lines) | stat: -rw-r--r-- 1,299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
=cut

TITLE=availability-report
DESCRIPTION=show availability of various RRD variables
KEYWORDS=availability-report
DOCTOP=index
DOCPREV=misc
DOCNEXT=cleanup

=pod

=head1 availability-report

=head2 Usage:

=exec ../availability-report -h 2>&1

=head2 Description:

This is mainly intended to be called from 
L<availability-report.cgi|availability-report-cgi>.  It provided
a report on "availability" of specified RRD variables, by default, all
that have definitions in the L<availability|configfile-availability>
config-file.  Exactly what it means for a variable to be "available"
is up to you.  It's intended to give some measure of when a host or
service isn't useable, so, e.g. the default definition of availability
for the C<ping> RRD variable C<rcvd> (number of ping responses received)
is:

	ping rcvd MINIMUM > 0

In english, the C<rcvd> variable is considered unavailable if:

	- it is less than or equal to zero (I.E. it didn't respond to ping)
	- there is no data available for that time period

B<N.B.:> The interaction between rrd archive consolidation and the xff value,
(see rrdcreate), can result in longer periods of unavailability or conversely,
masking periods of unavailability.  Choose the consolidation function carefully
to make sure you're getting the best data possible.