


# Create alert file with the following fields: Then edit /etc/snmp/nf and add the following line:Ĥ- Develop a shell script, for instance named trap2scom.sh, for receiving trap data and creating alert files

This is made by placing the mib file into a certain path, normally /usr/local/share/snmp/mibs Once a file is processed it is removed or moved to other directory.ģ- Insert the MIB file into the LINUX system The data inside these files must follow a predefined format, such as:Īlert Severity | Alert Priority | Alert name | Alert description |. This MP can check, for instance, ~monuser/alerts/new and if there are any files then it inserts them into SCOM, as alerts. Ensure that the NET-SNMP package is installed.Įdit the file /etc/snmp/nf, bellow is my default conf: the received traps are always logged to /var/log/snmptrapd.logĢ- Create a management pack that reads alerts from files and inserts them into SCOM
