SNMP setup

Hi , need a help to setup snmp .

@Thevan Hi and welcome to the Forum :slight_smile:
In what way, is net-snmp installed etc? Is this for receiving or sending traps?

hello malcolmlewis,
just run the command zypper install net-SNMP, installed successfully and its just for receiving .
setup snmp.conf file as below

@Thevan Hi, so all good now? If not read the documentation indicated in EXAMPLE.conf should be good to go. Enable/start the service and ensure firewall ports are open.

HI , cant with below error

@Thevan Hi, did the following get installed?

libsensors4 libsnmp30 libwrap0 net-snmp perl-SNMP perl-Term-ReadKey snmp-mibs

I see;

:~ # systemctl status snmpd.service
? snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
     Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled)
     Active: inactive (dead)
:~ # systemctl status snmptrapd.service 
? snmptrapd.service - Simple Network Management Protocol (SNMP) Trap Daemon.
     Loaded: loaded (/usr/lib/systemd/system/snmptrapd.service; disabled; vendor preset: disabled)
     Active: inactive (dead)

all above installed

@Thevan Hi, what release of SLE is this?

cat /etc/os-release

Are there files in /usr/lib/systemd/system;

ls /usr/lib/systemd/system/snmp*

@malcolmlewis , sorry for the late response,
Herewith the details .

@Thevan Hi, can you force the re-install of net-snmp;

zypper in -f net-snmp

@malcolmlewis , Hi, good day , many thanks issue resolved . :slight_smile:

@malcolmlewis , Hello ,did the same steps for second server with same configuration, but failure.
kindly assist

.

Hi , any feedback ?

@Thevan Hi, very strange to me… are the systemd files present;

ls /usr/lib/systemd/system/snmp*

@malcolmlewis , herewith the result .

@Thevan Hi, way too strange, are you in a position to open a Support Request?

@malcolmlewis , thanks for the assistant, will proceed with raise support ticket .