Use the CLI commands in this topic to set up the default configuration for SNMP notifications.
Enable the CLI configuration mode:
hostname > enablehostname # configure terminalEnable SNMP notifications:
hostname (config) # fenotify snmp enableSpecify that a notification is sent by default each time a malware object is detected:
hostname (config) # fenotify snmp default delivery per-eventSpecify the SNMP version used for notifications:
To use SNMP version 1, enter:
hostname (config) # fenotify snmp default version 1
To use SNMP version 2c, enter:
hostname (config) # fenotify snmp default version 2c
If you are going to download the MIB file, see the procedure for Microsoft Windows, Linux, or Apple devices. The MIB file is retrieved using a program that connects using port 22, which is normally used for tools like SSH, SCP, and PSCP. Because file-level access is denied by policy, the direct path to the MIB file needs to be specified.
Save the configuration:
hostname (config) # write memory
The file is copied to the \Temp\mibs directory that resides on your desktop.
Download the pscp.exe tool (available from PuTTY download page).
Navigate to a command prompt window.
Change to the directory in which you downloaded the pscp.exe tool:
cd DownloadsCopy the MIB file from the appliance:
pscp.exe -r -scp admin@<appliance_IP_address>:/usr/share/snmp/mibs \Temp\mibs\When prompted for the password, enter admin.
Change to the “mibs” directory:
cd C:\Temp\mibsLoad the MIB file into an SNMP browser or tool or open the MIB file with the following command:
FE-FIREEYE-MIB.txt
Using the OpenSSH client, copy the MIB file from the appliance:
scp -r admin@<appliance_IP_address>:/usr/share/snmp/mibs /usr/<user_directory_name>/When prompted for the password, enter admin.
The files are copied to the “mibs” directory that resides in the /usr/user_directory_name directory.
Change to the “mibs” directory:
cd mibsLoad the MIB file into an SNMP browser or tool or open the MIB file with the following command:
vi FE-FIREEYE-MIB.txt
Navigate to the terminal emulator.
Copy the MIB file from the appliance:
scp -r admin@<appliance_IP_address>:/usr/share/snmp/mibs ~/When prompted for the password, enter admin.
The files are copied to the “mibs” directory that resides in the user directory.
Load the MIB file into an SNMP browser or tool or open the MIB file with the following command:
vi ~/mibs/FE-FIREEYE-MIB.txt