Chapter 6: Using the Web Interface2283.Select "Numeric Sensor" to indicate the sensor is a numeric sensor.Note: A numeric sensor uses numeric values to indicate theenvironmental condition while a discrete (on/off) sensor usesalphabetical characters to indicate the sensor state.4.Select "" because we want to specify all eventsrelated to the sensor connected to sensor port #1, including thesensor's unavailable state and threshold-crossing events -- "Aboveupper critical, "Above upper warning," "Below lower warning," and"Below lower critical."5.Select "System SNMP Notification Action" as we want to send SNMPtraps to respond to the specified events when these events occur.Sample User-Activity-Level Event RuleIn this example, we want the EMX to record the user activity event in theinternal log when any user logs in or logs out. The event rule is set likethis:Event: User activity > Any user > User logged inTrigger condition: BothActions: System Event Log ActionTo create the above event rule:1.Select "User activity" in the Event field to indicate we are specifyingan event regarding the user activity.2.Select "" from the submenu because we want to recordthe activity of all users.3.Select "User logged in" to select the user login-related events.4.Select the Both radio button since we want both login and logoutactions to be recorded when either event occurs.5.Select "System Event Log Action" as we intend to record this eventin the internal log when the specified events occur.A Note about Infinite LoopYou should avoid building an infinite loop when creating event rules.The infinite loop refers to a condition where the EMX keeps busybecause the action or one of the actions taken for a certain event triggersan identical or similar event which will result in an action triggering oneevent again.