Commit f5a92bef authored by Gavin Brown's avatar Gavin Brown

use a common POD layout for all scripts

parent 1ad97601
......@@ -4,8 +4,8 @@ DSD - A Simple DNS Statistics Collecting Daemon
# DESCRIPTION
dsd-db is a script which extracts data from the JSON files generated by the `dsd`
script and imports them into a database.
`dsd-db` is a script which extracts data from the JSON files generated by the
`dsd` script and imports them into a database.
# USAGE
......@@ -70,6 +70,16 @@ database:
`queries` INTEGER
);
# SEE ALSO
- `dsd`, the daemon which runs on a DNS server and generates statistical data.
- `dsd-cp`, which copies DSD data files from the DNS server to a remote server.
- `dsd-munin`, a Munin plugin for displaying graphs based on the DSD database.
- [https://www.centralnic.com/](https://www.centralnic.com/)
- [http://www.net-dns.org/](http://www.net-dns.org/)
- [http://dns.measurement-factory.com/tools/dsc/](http://dns.measurement-factory.com/tools/dsc/)
- [http://munin-monitoring.org/](http://munin-monitoring.org/)
# COPYRIGHT
dsd is Copyright 2014 CentralNic Ltd. All rights reserved. This program is free
......
......@@ -226,6 +226,12 @@ __END__
DSD - A Simple DNS Statistics Collecting Daemon
=head1 DESCRIPTION
C<dsd> is a daemon which runs on a DNS server and uses libpcap, L<Net::DNS> and
L<NetPacket> to analyse incoming DNS queries. It will periodically write data
files to disk.
=head1 USAGE
dsd [OPTIONS]
......
......@@ -39,8 +39,8 @@ my $fssth = $db->prepare("SELECT COUNT(1) FROM files WHERE (filename=?)");
my $fisth = $db->prepare("INSERT INTO files (filename, processed) VALUES (?, ?)");
my $disth = $db->prepare("INSERT INTO data
(host, start, end, zone, family, proto, rcode, queries)
VALUES (?, ?, ?, ?, ?, ?, ?, ?)");
(host, start, end, zone, family, proto, rcode, queries)
VALUES (?, ?, ?, ?, ?, ?, ?, ?)");
$db->do("BEGIN TRANSACTION");
......@@ -118,8 +118,8 @@ DSD - A Simple DNS Statistics Collecting Daemon
=head1 DESCRIPTION
dsd-db is a script which extracts data from the JSON files generated by the C<dsd>
script and imports them into a database.
C<dsd-db> is a script which extracts data from the JSON files generated by the
C<dsd> script and imports them into a database.
=head1 USAGE
......@@ -188,6 +188,26 @@ database:
`queries` INTEGER
);
=head1 SEE ALSO
=over
=item C<dsd>, the daemon which runs on a DNS server and generates statistical data.
=item C<dsd-cp>, which copies DSD data files from the DNS server to a remote server.
=item C<dsd-munin>, a Munin plugin for displaying graphs based on the DSD database.
=item L<https://www.centralnic.com/>
=item L<http://www.net-dns.org/>
=item L<http://dns.measurement-factory.com/tools/dsc/>
=item L<http://munin-monitoring.org/>
=back
=head1 COPYRIGHT
dsd is Copyright 2014 CentralNic Ltd. All rights reserved. This program is free
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment