X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgps.pod;h=3148299bde6fdd2f9b5254d547c821020ffca9bd;hb=f3b18c23c1ec9b844a84894ef6b3de804e4a840a;hp=e9d50146402e0998d89e00b9f9eb99cd5ea77eb7;hpb=26314b8c3fb08e1f0017ee9a6277b7fe370bf2a0;p=collectd.git diff --git a/src/gps.pod b/src/gps.pod index e9d50146..3148299b 100644 --- a/src/gps.pod +++ b/src/gps.pod @@ -6,35 +6,47 @@ gps - Documentation of collectd's C =head1 SYNOPSIS - # See collectd.conf(5) - LoadPlugin gps - - Host "localhost" - Port "2947" - Timeout 1000 - +LoadPlugin gps + + # Connect to localhost on gpsd regular port: + Host "127.0.0.1" + Port "2947" + # 15 seconds timeout + Timeout 15 + # Pause of 1 second between readings: + Pause 1 + + =head1 DESCRIPTION The C connects to gpsd on the host machine. -The port and the timeout are configurable. +The host, port, timeout and pause are configurable. + +This is useful if you run an NTP server using a GPS for source and you want to +monitor it. +Mind your GPS must send $--GSA for having the data reported! =head1 OPTIONS =over 4 -=item B +=item B I + +The host on which gpsd runs. Defaults to B. -The host on which gpsd runs. +=item B I -=item B +Port to connect to gpsd on the host machine. Defaults to B<2947>. -Port to connect to gpsd on the host machine. +=item B I -=item B +Timeout in seconds (default 15 sec). -Timeout in ms. +=item B I + +Pause to apply between readings in seconds (default 1 sec). =back @@ -42,21 +54,16 @@ Timeout in ms. =over 4 -=item B +=item B -Number of satelites in view. -0 means no GPS are visible. +Number of satellites used for fix (type instance "used") and in view (type +instance "visible"). 0 means no GPS satellites are visible. -=item B +=item B -Horizontal dilution. +Vertical and horizontal dilution. It should be between 0 and 3. -Look at the documentaiton of your GPS. - -=item B - -Vertical dilution. -Same as above. +Look at the documentaiton of your GPS to know more. =head1 SEE ALSO @@ -66,6 +73,6 @@ gpsd =head1 AUTHOR -Nicolas Jourden Enicolas.jourden@laposte.netE +Nicolas JOURDEN Enicolas.jourden at laposte.netE =cut