PDA

View Full Version : SNMP for device



Widower2008
30-08-22, 15:29
Dear all,

I used to have a basic SNMP plugin which gave some useful information into my LibreNMS server for my GigaBlue UHD UE 4K but I cannot locate a where I got it from to reinstall it or an upto date version to be able to install. Anyone have any ideas or is it possible to do the equivalent of "apt install SNMP" and get the linux package downloaded?

Huevos
30-08-22, 16:10
https://github.com/E2OpenPlugins/e2openplugin-SnmpAgent/tree/python3

Widower2008
31-08-22, 13:26
Marvellous and how do I install it on my device please?
Please note I am using OpenViX if that makes any difference.

Widower2008
31-08-22, 16:03
Just done a quick search of files in the /usr directory with snmp in the name and find loads!
root@gbue4k:~# ls -R /usr | grep snmp
net-snmp-cert
snmp-bridge-mib
snmpbulkget
snmpbulkwalk
snmpcheck
snmpconf
snmpdelta
snmpdf
snmpget
snmpgetnext
snmpinform
snmpnetstat
snmpping
snmpset
snmpstatus
snmptable
snmptest
snmptranslate
snmptrap
snmpusm
snmpvacm
snmpwalk
libnetsnmp.so.40
libnetsnmp.so.40.1.0
libnetsnmpagent.so.40
libnetsnmpagent.so.40.1.0
libnetsnmphelpers.so.40
libnetsnmphelpers.so.40.1.0
libnetsnmpmibs.so.40
libnetsnmpmibs.so.40.1.0
snmp
/usr/share/snmp:
snmp_perl_trapd.pl
snmpconf-data
/usr/share/snmp/mib2c-data:
/usr/share/snmp/mibs:
/usr/share/snmp/snmpconf-data:
snmp-data
snmpd-data
snmptrapd-data
/usr/share/snmp/snmpconf-data/snmp-data:
snmpconf-config
/usr/share/snmp/snmpconf-data/snmpd-data:
snmpconf-config
/usr/share/snmp/snmpconf-data/snmptrapd-data:
snmpconf-config


So how can this be allowed to work?

Trial
01-09-22, 07:46
Hi,
this all looks more to be a snmp client which collects data from other server. Nothing looks like a daemon/server for me.

Ralf

Widower2008
01-09-22, 11:46
Yes I agree with you - having installed a load of perl modules to get most of it working looking at other devices - how can I get an snmp server setup on the Gigablue? Unsure how to install direct from a github link as shown by Huevos in their post above. Any help would be appreciated!

However there is the snmpconf which allows you to edit snmpd.conf which implies that the server deamon can be configured or at least its config file!

Widower2008
01-09-22, 12:12
Sorted - found the right file to download
opkg install net-snmp-server-snmpd
Then used snmpconf to edit the .conf file and away we go!