|
NAMEgpssnmp - SNMP helper client for gpsdSYNOPSISgpssnmp -hgpssnmp -g OID gpssnmp -V DESCRIPTIONgpssnmp is a gpsd client that works as an SNMP helper for MRTG.gpssnmp does not require root privileges. It will also run fine as root. OPTIONS-?, -h, --helpPrint a summary of options and then exit.
-g OID Get the specified OID. Supported OID values are:
.1.3.6.1.2.1.25.1.31 OID_VISIBLE, Number of visible GNSS satellites
.1.3.6.1.2.1.25.1.32 OID_USED, Number of GNSS satellites used.
.1.3.6.1.2.1.25.1.33 OID_SNR_AVG, Average of all used SNRs.
-V, --version Print the package version and exit.
EXAMPLES:To get OID_VISIBLE:$ gpssnmp -g .1.3.6.1.2.1.25.1.31 .1.3.6.1.2.1.25.1.31 gauge 13 To get OID_USED: $ gpssnmp -g .1.3.6.1.2.1.25.1.32 .1.3.6.1.2.1.25.1.32 gauge 4 To get OID_SNR_AVG: $ gpssnmp -g .1.3.6.1.2.1.25.1.33 .1.3.6.1.2.1.25.1.33 gauge 22.250000 RETURN VALUES0on success.
1 on failure
SEE ALSOcgps(1), gegps(1), gpsctl(1), gps(1), gpsprof*(1), gpsfake(1), gpscat(1), gpspipe(1), gpsmon(1), xgps*(1). xgpsspeed(1)libgps(3), libgpsmm(3) gpsd(8) RESOURCESProject web site: <https://gpsd.io/>COPYINGThis file is Copyright 2013 by the GPSD projectSPDX-License-Identifier: BSD-2-clause
Visit the GSP FreeBSD Man Page Interface. |