Help setting up snmptrap for Dell Server

HI,

I am trying to get SNMP traps to work with Dell Servers.

Component Version
LibreNMS 1.59-58-g71ccb6a15
DB Schema 2019_12_05_164700_alerts_disable_on_update_current_timestamp (155)
PHP 7.2.24-0ubuntu0.18.04.2
MySQL 10.1.43-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================

I have made the following changes but not able to add the device. please let me know what I am missing.

  1. Sudo vim /etc/snmp/snmptrapd.conf
    Add
    disableAuthorization yes
    authCommunity log,execute,net “CommunityString”
    traphandle default /opt/librenms/snmptrap.php

Make the folder /etc/systemd/system/snmptrapd.service.d/ and edit the file /etc/systemd/system/snmptrapd.service.d/mibs.conf and add the following content.

[Service]
Environment=MIBDIRS=+/opt/librenms/mibs:/opt/librenms/mibs/dell
Environment=MIBS=+ALL
sudo systemctl daemon-reload
sudo systemctl enable snmptrapd
sudo systemctl restart snmptrapd

Error -

Could not connect to “10.2.25.20”, please check the snmp details and snmp reachability
SNMP v2c: No reply with community CommunityString

Kind Regards,