1GPSSNMP(1)                    GPSD Documentation                    GPSSNMP(1)
2
3
4

NAME

6       gpssnmp - SNMP helper client for gpsd
7

SYNOPSIS

9       gpssnmp -h
10
11       gpssnmp -g OID
12
13       gpssnmp -V
14

DESCRIPTION

16       gpssnmp is a gpsd client that works as an SNMP helper for MRTG.
17
18       gpssnmp does not require root privileges. It will also run fine as
19       root.
20

OPTIONS

22       -?, -h, --help
23           Print a summary of options and then exit.
24
25       -g OID
26           Get the specified OID. Supported OID values are:
27
28           .1.3.6.1.2.1.25.1.31
29               OID_VISIBLE, Number of visible GNSS satellites
30
31           .1.3.6.1.2.1.25.1.32
32               OID_USED, Number of GNSS satellites used.
33
34           .1.3.6.1.2.1.25.1.33
35               OID_SNR_AVG, Average of all used SNRs.
36
37       -V, --version
38           Print the package version and exit.
39

EXAMPLES:

41       To get OID_VISIBLE:
42
43              $ gpssnmp -g .1.3.6.1.2.1.25.1.31
44              .1.3.6.1.2.1.25.1.31
45              gauge
46              13
47
48       To get OID_USED:
49
50              $ gpssnmp -g .1.3.6.1.2.1.25.1.32
51              .1.3.6.1.2.1.25.1.32
52              gauge
53              4
54
55       To get OID_SNR_AVG:
56
57              $ gpssnmp -g .1.3.6.1.2.1.25.1.33
58              .1.3.6.1.2.1.25.1.33
59              gauge
60              22.250000
61

RETURN VALUES

63       0
64           on success.
65
66       1
67           on failure
68

SEE ALSO

70       cgps(1), gegps(1), gpsctl(1), gps(1), gpsprof*(1), gpsfake(1),
71       gpscat(1), gpspipe(1), gpsmon(1), xgps*(1). xgpsspeed(1)
72
73       libgps(3), libgpsmm(3)
74
75       gpsd(8)
76

RESOURCES

78       Project web site: https://gpsd.io/
79

COPYING

81       This file is Copyright 2013 by the GPSD project
82       SPDX-License-Identifier: BSD-2-clause
83
84
85
86GPSD Version 3.23.1               2021-09-03                        GPSSNMP(1)
Impressum