Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/network/nsd3 | ||
|---|---|---|
| 15 | 15 |
(http://nlnetlabs.nl/projects/nsd/) |
| 16 | 16 |
|
| 17 | 17 |
=head1 CONFIGURATION |
| 18 |
|
|
| 18 |
|
|
| 19 | 19 |
The plugin needs access to the nsd logfile and the nsd pid file to |
| 20 | 20 |
force the running nsd process to write the current statistics. |
| 21 | 21 |
|
| 22 |
Tip: To see if it's already set up correctly, just run this plugin
|
|
| 22 |
Tip: To see if it's already set up correctly, just run this plugin |
|
| 23 | 23 |
with the parameter "autoconf". If you get a "yes", everything should |
| 24 | 24 |
work like a charm already. |
| 25 | 25 |
|
| 26 | 26 |
This configuration section shows the defaults of the plugin: |
| 27 | 27 |
|
| 28 |
The stats line is a set of space-separated values that you wish to
|
|
| 28 |
The stats line is a set of space-separated values that you wish to |
|
| 29 | 29 |
retrieve from NSD. The format is VALUE=Caption. For spaces in a |
| 30 | 30 |
caption value, replace them with an underscore (_). |
| 31 | 31 |
|
| ... | ... | |
| 34 | 34 |
env.pidfile /var/run/nsd3/nsd.pid |
| 35 | 35 |
env.stats "A=A AAAA=AAAA MX=MX PTR=PTR TYPE252=AXFR SNXD=NXDOMAIN RQ=Total_Successful" |
| 36 | 36 |
|
| 37 |
If you need to set a user for the logfile to be readable, and most
|
|
| 37 |
If you need to set a user for the logfile to be readable, and most |
|
| 38 | 38 |
importantly, the process to receive the signal, you may specify it. |
| 39 | 39 |
For example: |
| 40 | 40 |
|
| ... | ... | |
| 42 | 42 |
user nsd |
| 43 | 43 |
|
| 44 | 44 |
=head1 INTERPRETATION |
| 45 |
|
|
| 46 |
The plugin shows the number of queries that nsd has received,
|
|
| 45 |
|
|
| 46 |
The plugin shows the number of queries that nsd has received, |
|
| 47 | 47 |
averaged over a period to gain the number of queries per second. |
| 48 | 48 |
For most servers, these values will be very low. In the event |
| 49 | 49 |
of a misconfiguration, the plugin will return undefined values. |
| 50 | 50 |
|
| 51 | 51 |
=head1 MAGIC MARKERS |
| 52 |
|
|
| 52 |
|
|
| 53 | 53 |
#%# family=auto |
| 54 | 54 |
#%# capabilities=autoconf |
| 55 | 55 |
|
| 56 | 56 |
=head1 VERSION |
| 57 | 57 |
|
| 58 | 58 |
v1.0.1 |
| 59 |
|
|
| 59 |
|
|
| 60 | 60 |
=head1 AUTHOR |
| 61 | 61 |
|
| 62 | 62 |
J.T.Sage <jtsage@gmail.com> |
| 63 |
|
|
| 63 |
|
|
| 64 | 64 |
=head1 LICENSE |
| 65 |
|
|
| 65 |
|
|
| 66 | 66 |
GPLv2 |
| 67 |
|
|
| 67 |
|
|
| 68 | 68 |
=cut |
| 69 | 69 |
""" |
| 70 | 70 |
|
Formats disponibles : Unified diff