350-401 · Question #926
An EEM applet contains this command: event snmp oid 1.3.6.1.4.3.8.0.5.8.7.1.3 get-type next entry-op gt entry-val 80 poll-interval 8 What is the result of the command?
The correct answer is D. An SNMP variable is monitored and an action is triggered when the value exceeds 80%.. The EEM applet command monitors a specific SNMP OID and will trigger an action if the retrieved value for that OID exceeds 80.
Question
Options
- AAn SNMP event is generated when the value equals 80% for eight polling cycles.
- BAn SNMP event is generated when the value is greater than 80% for eight polling cycles.
- CAn SNMP event is generated when the value reaches 80%.
- DAn SNMP variable is monitored and an action is triggered when the value exceeds 80%.
How the community answered
(19 responses)- A5% (1)
- B5% (1)
- C16% (3)
- D74% (14)
Why each option
The EEM applet command monitors a specific SNMP OID and will trigger an action if the retrieved value for that OID exceeds 80.
The `entry-op gt` specifies "greater than", not "equals", and the `poll-interval 8` refers to the polling frequency, not the number of polling cycles for the condition to be met.
While `gt` means "greater than", the `poll-interval 8` specifies the polling frequency (every 8 units, typically seconds), not that the condition must persist for eight polling cycles before an event is generated.
The `entry-op gt` specifies "greater than", not "reaches" or "equals" 80.
This command defines an EEM event detector that monitors an SNMP OID. An action is triggered when the retrieved value for that OID (specified by `entry-val`) is `gt` (greater than) 80, indicating the value exceeds 80.
Concept tested: EEM SNMP event detection configuration
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/configuration/xe-3s/eem-xe-3s-book/eem-event-detector-snmp.html
Topics
Community Discussion
No community discussion yet for this question.