SNMP Trap Severity
The default severity of SNMP traps can be modified with the snmptrap-severity-overrides configuration file.
Note: SNMP trap severity modification requires the ServiceLogin user name and password. Contact the system DXi Administrator for the password.
- Using a terminal emulation program that supports SSH (like PuTTY), connect to the DXi Node.
- Enter ServiceLogin for the user name and then enter the service password.
-
Edit the
snmptrap-severity-overridesfile at/etc/snmp/snmptrap-severity-overrides.conf.Severity overrides must be configured in the following format:
Severity | PERL RegExp
SeveritySeverity can be one of the following: Information, Warning, or Error. PERL RegExpPERL regular expression to match SNMP trap body. SNMP Trap Severity Override Examples:
Example - Ethernet/Fibre Channel Ports
Warning | (Ethernet|HBA) .*link is downExample - Virtual Tape Library
Warning | Virtual Drive .*(online|offline)Example - Replication
Warning | Replication service is (paused|resumed) to target
Warning | Synchronization .*Failed
Warning | Validation of file/dir.* replication for target .*failed
-
To apply changes to the
snmptrap-severity-overridesfile, restart the SNMP trap service:/etc/init.d/ras_snmptrap restart
Note: Errors parsing the file are logged to /usr/adic/util/logs/sl_noti_snmptrap_monitor.log by default.
