I am trying to configure eem on nexus Cisco 7k switch which will generate syslog msg when custom policy applied on interfaces kicks in and drops packets (one or more packets). here is the policer:
class-map type qos match-all GRID-NONLOCAL-DESTINATION
match access-group name GRID-NONLOCAL-DESTINATION
policy-map type qos GRID-NONLOCAL-DESTINATION-EGRESS-POLICE
police cir 1 gbps bc 200 ms conform set-dscp-transmit 0 violate drop
service-policy type qos input GRID-NONLOCAL-DESTINATION-EGRESS-POLICE
I appreciate your quick reply.
here is the examples for the EEM Scripts for Nexus
we have seen example of your config, we need to know how your Logs look like (do you hve any example already produced ? what kind of alert email ?
*** Rate All Helpful Responses ***
Yes, alert email with packet drop count and associated policer. high level is shown below (just need help with the details) or if there is a better approach.
event manager applet applet GRID-QoS-Monitor
event snmp oid xxxxx (I don't know what oid for this qos)
action 1.0 syslog msg GRID policer kicked in, Y number of packets dropped on interface Ex/y
where can I find similar document for NX-OS: