gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using SNMP...


From: Gary E. Miller
Subject: Re: Using SNMP...
Date: Mon, 30 Jan 2023 11:52:44 -0800

Yo David!

On Mon, 30 Jan 2023 11:00:20 +0000
David Taylor <davidtaylor@writeme.com> wrote:

> This is the first time I have dealt with MIB files directly, so I was
> unaware of the need to edit /etc/snmp/snmp.conf.

You do not need to.  You need to do something, but there are a large
number of alternative ways to skin that cat.

> On the Raspberry Pi

Nothing to do with the Pi.  Everything to do with how your snmpd is
installed.

> this required removing an "mib :" entry, and adding a pointer to the
> GPS file:
> 
>    mibfile /usr/local/share/snmp/mibs/gpsd/GPSD-MIB

That is one way.

> On the RPi OS most MIB files are elsewhere.

Yes.  /usr/local/ is for local changes.  The system files will not
be there.  But there are many options on MIB placement.

> I was unaware of the need to add the pass command:
> 
>    pass .1.3.6.1.4.1.59054  /usr/local/bin/gpssnmp

Good thing it is in the man pages.  That is how snmpd knows to ask
gpssnmp for the gpsd data.

> Having done that, I was delighted to get the set of data:

And you are possibly the 2nd person, other than me, to do that.

> I'll be testing those out in due course.

Feedback appreciated.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpZo8f5QEA26.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]