SNMP
- M0JPI
- Posts: 19
- Joined: Wed Jun 15, 2022 8:06 pm
- Location: Cumbria, UK
Re: SNMP
I think the problem is caused by the localhost names not being setup by default. I managed to get SNMP working using nano to set /etc/hosts to:
Where rp-f0XXXX is the MAC Address printed on the Red Pitaya Ethernet port.
The following commands then got SNMP working:
Service snmpd status generates a warning about defaultMonitors and linkUpDownNotifications, but that is a bug/feature of Ubuntu version 16.04 and the IETF. It is possible to fix, it looks like it was fixed in later versions by the IETF changing their licencing model for MIBs.
John M0JPI
Code: Select all
127.0.0.1 localhost localhost.local
127.0.0.1 rp-f0XXXX rp-f0XXXX.local
The following commands then got SNMP working:
Code: Select all
sudo apt-get update
sudo apt-get install snmpd snmp -y
nano /etc/snmp/snmpd.conf #Optional to set the configuration
sudo service snmpd restart
sudo service snmpd status
snmpget -c public -v 2c 127.0.0.1 .1.3.6.1.2.1.1.5.0
John M0JPI
-
- Posts: 11
- Joined: Fri Nov 20, 2015 10:01 pm
Re: SNMP
Hi John:
do you know where can I find the MIB file or list of OID's?
I would like to assign one of the Redpitaya GPIO pins to an OID in order to have an alarm thru snmp, if you have done it will be very appreciated your guidance.
Best regards
do you know where can I find the MIB file or list of OID's?
I would like to assign one of the Redpitaya GPIO pins to an OID in order to have an alarm thru snmp, if you have done it will be very appreciated your guidance.
Best regards
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 2 guests