[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using SNMP...
From: |
David Taylor |
Subject: |
Re: Using SNMP... |
Date: |
Sun, 29 Jan 2023 06:38:55 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
On 28/01/2023 19:59, Gary E. Miller wrote:
Yo David!
On Sat, 28 Jan 2023 11:42:51 +0000
David Taylor<davidtaylor@writeme.com> wrote:
I just updated to 3.25.1 and tried the SNMP:
Never been a gpsd version called 3.25.1
snmpget -v 2c localhost -c public .1.3.6.1.4.1.59054.3.2.1.1
but got "No such object". Should this be working in 3.25-1?
How did you configure your snmpd?
Most of the GPSD-MIB is not implemented yet. Use snmpgetnext or
snmpwalk to see what is implemented.
Try this:
~ # snmpgetnext -v 2c localhost -c public .1.3.6.1.4.1.59054.3.2.1.1
GPSD-MIB::skyNumber = INTEGER: 1
Or these:
snmpwalk -v 2c localhost -c public gpsd
snmpwalk -On -v 2c localhost -c public gpsd
RGDS
GARY
Thanks, Gary.
Perhaps I should have written 3.25.1~dev, that's what cgps tells me.
cgps: 3.25.1~dev (revision release-3.23.1-897-gadcab3c2a)
I did no special configuration of snmpd - it does work with the regular Linux
OIDs and some I added with the "pass" command. What should I have done?
Here are the results from the tests you suggested:
pi@RasPi-23:~ $ snmpgetnext -v 2c localhost -c public .1.3.6.1.4.1.59054.3.2.1.1
iso.3.6.1.6.3.1.1.6.1.0 = INTEGER: 1952941162
pi@RasPi-23:~ $ snmpwalk -v 2c localhost -c public gpsd
gpsd: Unknown Object Identifier (Sub-id not found: (top) -> gpsd)
pi@RasPi-23:~ $ snmpwalk -On -v 2c localhost -c public gpsd
gpsd: Unknown Object Identifier (Sub-id not found: (top) -> gpsd)
Cheers,
David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: david-taylor@blueyonder.co.uk
Twitter: @gm8arv
- Using SNMP..., David Taylor, 2023/01/28
- Re: Using SNMP..., Gary E. Miller, 2023/01/28
- Re: Using SNMP...,
David Taylor <=
- Re: Using SNMP..., Gary E. Miller, 2023/01/29
- Re: Using SNMP..., David Taylor, 2023/01/30
- Re: Using SNMP..., Gary E. Miller, 2023/01/30
- Re: Using SNMP..., David Taylor, 2023/01/31
- Re: Using SNMP..., Gary E. Miller, 2023/01/31