cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1116
Views
0
Helpful
0
Replies

NX-OS EEM help - syslog event not working

Hnacifcisco2011
Beginner
Beginner

Hello everybody ! 

 

I need help to understand why my applet does not work. It is simple as it should be as below (for testing purposes, later on if it works I am planning to go deep on that) :

 

event manager applet test
event syslog pattern "Ethernet1/46"
action 1.1 event-default
action 1.2 syslog priority critical msg "Circuitdown!"

I am running NXOS 7.x

SW2(config-if)# sh ver | i ver
the GNU General Public License (GPL) version 2.0 or the GNU
BIOS: version 3.1.0
kickstart: version 7.2(0)D1(1)
system: version 7.2(0)D1(1)
Reason: Reset triggered due to Switchover Request by User
System version: 7.2(0)D1(1)

 

I have evmed enabled. This is what I see from the logs :

 

2018 Oct 25 14:44:29 SW2 %ETHPORT-5-IF_ADMIN_UP: Interface Ethernet1/46 is admin up .
2018 Oct 25 14:44:30.348203 evmc: - found data in FU_PSEL_Q_CAT_MTS queue, fd(8), usr_q_info(4)
2018 Oct 25 14:44:30.348381 evmc: fu_priority_select_select_queue: round credit(83)
2018 Oct 25 14:44:30.348389 evmc: curr_q - FU_PSEL_Q_CAT_CQ, usr_q_info(1), priority(7), credit(7), empty
2018 Oct 25 14:44:30.348396 evmc: fu_priority_select: returning FU_PSEL_Q_CAT_MTS queue, fd(8), usr_q_info(4)
2018 Oct 25 14:44:30.348423 evmc: evmc_get_data_from_queue(775): dequeued mts msg (-352726565), MTS_OPC_EEM_CORRELATED_EVENT_FWD
2018 Oct 25 14:44:30.348437 evmc: fu_fsm_handle_sysmgr_msg: Not sysmgr mts Q.
2018 Oct 25 14:44:30.348448 evmc: fu_sdb_publisher_invoke_app_callback:App is not a publisher;Bail-out.
2018 Oct 25 14:44:30.348465 evmc: fsrv_sdb_process_msg(1459): vdc-id[4] mts_opc[1765][MTS_OPC_EEM_CORRELATED_EVENT_FWD] 0x8a8b0d8 0xf2e2f494 692
2018 Oct 25 14:44:30.348478 evmc: fu_fsm_engine: fsrv_sdb_process_msg ret 0x0
2018 Oct 25 14:44:30.348492 evmc: fu_fsm_engine: fsrv_sdb_process_msg continue ret 0x0
2018 Oct 25 14:44:30.348507 evmc: fu_sync_pss_to_standby_apply:Set of checks failed
2018 Oct 25 14:44:30.348527 evmc: fu_sdb_handle_update: validation FAILED, fu_is_state_active() = TRUE, fu_is_sync_pss_to_standby_enabled() = FALSE, mts_sync_event_get(...) = 0
2018 Oct 25 14:44:30.348584 evmc: fu_mts_drop ref 0xfff778ef opc 1766
2018 Oct 25 14:44:30.348626 evmc: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
2018 Oct 25 14:44:30.348641 evmc: fu_fsm_execute_all: null fsm_event_list
2018 Oct 25 14:44:30.348656 evmc: fu_fsm_engine_post_event_processing
2018 Oct 25 14:44:30.348672 evmc: fu_mts_drop ref 0x8a8b0d8 opc 1765
2018 Oct 25 14:44:30.348694 evmc: fu_fsm_engine_post_event_processing: mts msg MTS_OPC_EEM_CORRELATED_EVENT_FWD(msg_id -352726565) dropped
2018 Oct 25 14:44:30.348709 evmc: end of while in fu_fsm_engine
2018 Oct 25 14:44:30.348720 evmc: fu_handle_process_hot_plugin_msg: Entered the function line 137
2018 Oct 25 14:44:30.348733 evmc: begin fu_fsm_engine: line[2668]
2018 Oct 25 14:44:30.348747 evmc: - setting fd[8] for select call
2018 Oct 25 14:44:30.348761 evmc: - setting fd[10] for select call
2018 Oct 25 14:44:30.348778 evmc: - found data in FU_PSEL_Q_CAT_MTS queue, fd(10), usr_q_info(4)
2018 Oct 25 14:44:30.348793 evmc: fu_priority_select_select_queue: round credit(81)
2018 Oct 25 14:44:30.348805 evmc: curr_q - FU_PSEL_Q_CAT_MTS, usr_q_info(4), fd(10), priority(7), credit(6), contains data
2018 Oct 25 14:44:30.348819 evmc: fu_priority_select: returning FU_PSEL_Q_CAT_MTS queue, fd(10), usr_q_info(4)
2018 Oct 25 14:44:30.348844 evmc: evmc_get_data_from_queue(775): dequeued mts msg (-352726564), MTS_OPC_EEM_EV_PUBLISH
2018 Oct 25 14:44:30.348863 evmc: fu_sdb_publisher_invoke_app_callback:App is not a publisher;Bail-out.
2018 Oct 25 14:44:30.348884 evmc: fsrv_sdb_process_msg(1459): vdc-id[4] mts_opc[1680][MTS_OPC_EEM_EV_PUBLISH] 0x8a8b0d8 0xf2e28694 117
2018 Oct 25 14:44:30.348900 evmc: fu_fsm_engine: fsrv_sdb_process_msg ret 0x0
2018 Oct 25 14:44:30.348911 evmc: fu_fsm_engine: fsrv_sdb_process_msg continue ret 0x0
2018 Oct 25 14:44:30.348926 evmc: fu_sync_pss_to_standby_apply:Set of checks failed
2018 Oct 25 14:44:30.348944 evmc: fu_sdb_handle_update: validation FAILED, fu_is_state_active() = TRUE, fu_is_sync_pss_to_standby_enabled() = FALSE, mts_sync_event_get(...) = 0
2018 Oct 25 14:44:30.348962 evmc: evmc_start_eh: evmc_start_eh: rid = 0x216b40
2018 Oct 25 14:44:30.348979 evmc: avl_ev_type_info_cmp_func: Found ev_type:8449 name:cli
2018 Oct 25 14:44:30.348993 evmc: evmc_create_eh_ctxt: rid = 0x216b40
2018 Oct 25 14:44:30.349445 evmc: avl_ev_type_info_cmp_func: Found ev_type:8449 name:cli
2018 Oct 25 14:44:30.349461 evmc: evmc_policy_get_policy_info_by_id: Trying to find policy with id:1287251456
2018 Oct 25 14:44:30.349540 evmc: Malloc in fu_hashtable_insert@../utils/fsmutils/hashtable.c[190]-ty[11]0x8b2802c[16]
2018 Oct 25 14:44:30.349638 evmc: evmc_policy_get_policy_info_by_id: Trying to find policy with id:1287251456
2018 Oct 25 14:44:30.349647 evmc: evmc_enqueue_actions: Starting with policy test
2018 Oct 25 14:44:30.349686 evmc: evmc_policy_get_policy_info_by_id: Trying to find policy with id:1287251456
2018 Oct 25 14:44:30.349700 evmc: avl_ev_type_info_cmp_func: Found ev_type:8449 name:cli
2018 Oct 25 14:44:30.349708 evmc: evmc_event_pub_pd: Starting with policy test
2018 Oct 25 14:44:30.349791 evmc: fu_fsm_context_set_out_flag: Setting Context flags: ^IFU_FSM_CONTEXT_FLAG_DONT_DROP_MTS_MSG
2018 Oct 25 14:44:30.349807 evmc: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
2018 Oct 25 14:44:30.349814 evmc: fu_fsm_execute_all: null fsm_event_list
2018 Oct 25 14:44:30.349823 evmc: fu_fsm_engine_post_event_processing
2018 Oct 25 14:44:30.349832 evmc: end of while in fu_fsm_engine
2018 Oct 25 14:44:30.349839 evmc: fu_handle_process_hot_plugin_msg: Entered the function line 137
2018 Oct 25 14:44:30.349847 evmc: begin fu_fsm_engine: line[2668]
2018 Oct 25 14:44:30.349856 evmc: - setting fd[8] for select call
2018 Oct 25 14:44:30.349863 evmc: - setting fd[10] for select call

 

IOS works like a charm but I am not sure what's going on with NX-OS. Please help

 

Thanks in advance !

 

Hugo

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: