123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- '\" t
- .\" Title: b10-stats
- .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
- .\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
- .\" Date: June 20, 2012
- .\" Manual: BIND10
- .\" Source: BIND10
- .\" Language: English
- .\"
- .TH "B10\-STATS" "8" "June 20, 2012" "BIND10" "BIND10"
- .\" -----------------------------------------------------------------
- .\" * Define some portability stuff
- .\" -----------------------------------------------------------------
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .\" http://bugs.debian.org/507673
- .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .ie \n(.g .ds Aq \(aq
- .el .ds Aq '
- .\" -----------------------------------------------------------------
- .\" * set default formatting
- .\" -----------------------------------------------------------------
- .\" disable hyphenation
- .nh
- .\" disable justification (adjust text to left margin only)
- .ad l
- .\" -----------------------------------------------------------------
- .\" * MAIN CONTENT STARTS HERE *
- .\" -----------------------------------------------------------------
- .SH "NAME"
- b10-stats \- BIND 10 statistics module
- .SH "SYNOPSIS"
- .HP \w'\fBb10\-stats\fR\ 'u
- \fBb10\-stats\fR [\fB\-v\fR] [\fB\-\-verbose\fR]
- .SH "DESCRIPTION"
- .PP
- The
- \fBb10\-stats\fR
- daemon collects statistics data from each BIND 10 module\&. Its statistics information may be reported via
- \fBbindctl\fR
- or
- \fBb10\-stats\-httpd\fR\&. It is started by
- \fBbind10\fR
- and communicates by using the Command Channel by
- \fBb10\-msgq\fR
- with other modules like
- \fBbind10\fR,
- \fBb10\-auth\fR
- and so on\&.
- \fBb10\-stats\fR
- periodically requests statistics data to each module and receives\&. The interval time can be configured via
- \fBbindctl\fR\&.
- \fBb10\-stats\fR
- cannot accept any command from other modules for updating statistics data\&. The stats module collects data and aggregates it\&.
- \fBb10\-stats\fR
- invokes an internal command for
- \fBbind10\fR
- after its initial starting to make sure it collects statistics data from
- \fBbind10\fR\&.
- .SH "OPTIONS"
- .PP
- The arguments are as follows:
- .PP
- \fB\-v\fR, \fB\-\-verbose\fR
- .RS 4
- This enables maximum debug logging\&.
- .RE
- .SH "CONFIGURATION AND COMMANDS"
- .PP
- The configurable setting in
- stats\&.spec
- is:
- .PP
- \fIpoll\-interval\fR
- .RS 4
- is a timer interval in seconds for
- \fBb10\-stats\fR
- to polling each module for its statistics data\&. The default is 60 second\&. Polling can be disabled by setting to 0\&. The type of the value should be an unsigned integer\&. Setting to a negative integer is ignored\&.
- .RE
- .PP
- The configuration commands are:
- .PP
- \fBshow\fR
- will send the statistics data in JSON format\&. By default, it outputs all the statistics data it has collected\&. An optional item name may be specified to receive individual output\&.
- .PP
- \fBshowschema\fR
- will send the schema of the statistics data in JSON format\&. The output is equivalent to the statistics part of
- stats\&.spec\&.
- .PP
- \fBshutdown\fR
- will shutdown the
- \fBb10\-stats\fR
- process\&. This has an optional
- \fIpid\fR
- argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
- .PP
- \fBstatus\fR
- simply indicates that the daemon is running\&.
- .SH "STATISTICS DATA"
- .PP
- The
- \fBb10\-stats\fR
- daemon contains these
- \(lqStats\(rq
- statistics:
- .PP
- boot_time
- .RS 4
- The date and time when this daemon was started in ISO 8601 format\&. This is a constant which can\*(Aqt be reset except by restarting
- \fBb10\-stats\fR\&.
- .RE
- .PP
- last_update_time
- .RS 4
- The date and time (in ISO 8601 format) when this daemon last received data from another component\&.
- .RE
- .PP
- lname
- .RS 4
- This is the name used for the
- \fBb10\-msgq\fR
- command\-control channel\&. (This is a constant which can\*(Aqt be reset except by restarting
- \fBb10\-stats\fR\&.)
- .RE
- .PP
- report_time
- .RS 4
- The latest report date and time in ISO 8601 format\&.
- .RE
- .PP
- start_time
- .RS 4
- This is the date and time (in ISO 8601 format) when this daemon started collecting data\&.
- .RE
- .PP
- timestamp
- .RS 4
- The current date and time represented in seconds since UNIX epoch (1970\-01\-01T00:00:00Z) with precision (delimited with a period) up to one hundred thousandth of second\&.
- .RE
- .PP
- See other manual pages for explanations for their statistics that are kept track by
- \fBb10\-stats\fR\&.
- .SH "FILES"
- .PP
- /usr/local/share/bind10\-devel/stats\&.spec
- \(em This is a spec file for
- \fBb10\-stats\fR\&. It contains commands for
- \fBb10\-stats\fR\&. They can be invoked via
- bindctl(1)\&.
- .SH "SEE ALSO"
- .PP
- \fBb10-stats-httpd\fR(8),
- \fBbind10\fR(8),
- \fBbindctl\fR(1),
- \fBb10-auth\fR(8),
- BIND 10 Guide\&.
- .SH "HISTORY"
- .PP
- The
- \fBb10\-stats\fR
- daemon was initially designed and implemented by Naoki Kambe of JPRS in October 2010\&.
- .SH "COPYRIGHT"
- .br
- Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
- .br
|