Integrated Dell Remote Access Controller 9 RACADM CLI Guide

PDF

eventfilters

Table 1. Details of eventfiltersThe following table provides details about the eventfilters subcommand:
eventfilters
Description Displays the list of event filter settings. To use this subcommand with the set and test option, you must have the Administrator privilege.
Synopsis
racadm eventfilters <eventfilters command type>
racadm eventfilters get -c <alert category>
racadm eventfilters set -c <alert category> -a <action> -n <notifications>
racadm eventfilters set -c <alert category> -a <action> -r <recurrence>
racadm eventfilters test -i <Message ID to test>
NOTE:The general format of an alert category:
idrac.alert.category.[subcategory].[severity]
where category is mandatory, but subcategory and severity are optional. A severity cannot precede a subcategory.
Valid Category values are:
  • All
  • System
  • Storage
  • Updates
  • Audit
  • Config
  • Worknotes
Definitions of the values are:
  • System Health—System Health category represents all the alerts that are related to hardware within the system chassis. Examples include temperature errors, voltage errors, and device errors.
  • Storage Health—Storage Health category represents alerts that are related to the storage subsystem. Examples include, controller errors, physical disk errors, and virtual disk errors.
  • Updates—Update category represents alerts that are generated when firmware/drivers are upgraded or downgraded.
    NOTE:This does not represent firmware inventory.
  • Audit—Audit category represents the audit log. Examples include, user login/logout information, password authentication failures, session info, and power states.
  • Configuration—Configuration category represents alerts that are related to hardware, firmware, and software configuration changes. Examples include, PCIe card added/removed, RAID configuration changed, iDRAC license changed.
  • Work notes—Work notes represents an entry in the Lifecycle log. You can add a work note to the Lifecycle Log to record comments for your reference. You can enter comments such as scheduled downtime or changes that are made by administrators who work in different shifts for the later reference.
NOTE:idrac.all.all is not a valid sub category.
Valid Severity values are:
  • Critical
  • Warning
  • Info
Valid examples of alert queries are:
  • idrac.alert.all
  • idrac.alert.audit
  • idrac.alert.audit.lic
  • idrac.alert.audit.warning
  • idrac.alert.audit.lic.critical
This command does not support setting the proxy parameters if the share location (-l) is HTTP/HTTPS. For more information, see Proxy parameter section.
Input
  • get—Displays the list of eventfilter settings
  • set—Configures the actions and notifications for a given eventfilter configuration
  • -i—Message ID for which the simulation is needed
  • -c—Alert category of the specific event filter
  • -a—The action that must be invoked when the event occurs. Valid values are none, powercycle, power off, or systemreset
  • -n—The notification is sent when the event occurs. Valid values are all, snmp, ipmi, ws-events, redfish-events, oslog, email, remotesyslog, or none. You can append multiple notifications that are separated by a comma. You cannot enter the values all or none with other notifications. If incorrect notification is specified along with other valid notifications, the valid and invalid notification set is failed.
  • -r—Event generation interval. This option is applicable only to the temperature statistics subcategory tmps. You can use this option as a stand-alone or with -n and -a.
NOTE: If both event generation interval and notifications are configured and there is an error while configuring the notifications, the event generation interval is not set. The valid values are 0–365. 0 disables the event generation.
Example
  • Display all available event filter configurations.
    racadm eventfilters get -c idrac.alert.all
  • Display eventfilter configurations for a specific category. For example, audit
    racadm eventfilters get -c idrac.alert.audit
  • Display eventfilter configurations for a specific subcategory. For example, licensing under the audit category
    racadm eventfilters get -c idrac.alert.audit.lic
  • Display eventfilter configurations for a specific severity. For example, warning under the audit category
    racadm eventfilters get -c idrac.alert.audit.warning
  • Display eventfilter configurations for a specific severity and subcategory. For example, a severity of warning in the subcategory licensing under audit category
    racadm eventfilters get -c idrac.alert.audit.lic.warning
  • Clear all available alert settings.
    racadm eventfilters set -c idrac.alert.all -a none -n none
  • Configure using severity as a parameter. For example, all informational events in storage category are assigned power off as action, and email and SNMP as notifications.
    racadm eventfilters set -c idrac.alert.storage.info -a poweroff -n email,snmp
  • Configure using subcategory as a parameter. For example, all configurations under the licensing subcategory in the audit category are assigned power off as action and all notifications are enabled.
    racadm eventfilters set -c idrac.alert.audit.lic -a poweroff -n all
    
  • Configure using subcategory and severity as parameters. For example, all information events under the licensing subcategory in the audit category are assigned power off as action and all notifications are disabled:
    racadm eventfilters set -c idrac.alert.audit.lic.info -a poweroff -n none
    
  • Configure the event generation interval for temperature statistics.
    racadm eventfilters set -c idrac.alert.system.tmps.warning -r 10
  • Configure the event generation interval and notifications for temperature statistics.
    racadm eventfilters set -c idrac.alert.system.tmps -r 5 -a none -n snmp
  • Send a test alert for the fan event.
    racadm eventfilters test -i FAN0001
  • To configure the proxy parameter.
    racadm set lifecyclecontroller.lcattributes.UserProxyUsername admin1
  • To remove the proxy parameter.
    racadm set lifecyclecontroller.lcattributes.UserProxyUsername
  • To view the list of proxy attributes.
    racadm get lifecycleController.lcAttributes

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\