snmp-check external monitor
Are there any prerequisites?
I implemented the monitor, but it continues to timeout.
Log indicates:
[0][14302] 2020-03-17 14:25:27.290399: ID 100 :(_do_ping): time to ping, now=[1584473130.290513][2020-03-17 14:25:30], status=UNKNOWN [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxx-apm01_current_active_sessions fd=-1 pend=0 #conn=0 up_intvl=5 dn_intvl=5 timeout=16 time_until_up=0 immed=0 next_ping=[1584473130.256451][2020-03-17 14:25:30] last_ping=[1584473125.262704][2020-03-17 14:25:25] deadline=[1584473130.358088][2020-03-17 14:25:30] on_service_list=True snd_cnt=4 rcv_cnt=0 ]
[0][14302] 2020-03-17 14:25:27.290447: ID 100 :(_spawn_external_pinger): /config/filestore/files_d/Common_d/external_monitor_d/:Common:snmp-check_62638_1 [ addr=::ffff:xxx.xxx.xxx.xxx:161 ]
[0][14302] 2020-03-17 14:25:27.290857: ID 100 :(_spawn_external_pinger): spawned EAV pid=19475 [ addr=::ffff:xxx.xxx.xxx.xxx:161 fd=13 ]
[0][14302] 2020-03-17 14:25:27.290885: ID 100 :(_do_ping): post ping, status=UNKNOWN [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxxxxx-apm01_current_active_sessions fd=13 pend=0 #conn=0 up_intvl=5 dn_intvl=5 timeout=16 time_until_up=0 immed=0 next_ping=[1584473135.256451][2020-03-17 14:25:35] last_ping=[1584473130.290513][2020-03-17 14:25:30] deadline=[1584473130.358088][2020-03-17 14:25:30] on_service_list=True snd_cnt=5 rcv_cnt=0 ]
[0][14302] 2020-03-17 14:25:27.291532: ID 100 :(spawn_external_pinger): EAV execve: No such file or directory
[0][14302] 2020-03-17 14:25:27.291998: ID 100 :(_main_loop): Service ready for read, now=[1584473130.292158][2020-03-17 14:25:30] [ addr=::ffff:xxx.xxx.xxx.xxx:161 srcaddr=::%0:0 fd=13 pend=0 #conn=0 ]
[0][14302] 2020-03-17 14:25:27.292029: ID 100 :(_recv_external_node_ping): reading [ addr=::ffff:xxx.xxx.xxx.xxx:161 ]
[0][14302] 2020-03-17 14:25:27.292039: ID 100 :(recv_external_node_ping): EAV failed [ addr=::ffff:xxx.xxx.xxx.xxx:161 ]
[0][14302] 2020-03-17 14:25:27.292045: ID 100 :(_kill_external_pinger): killing pid=19475 [ addr=::ffff:xxx.xxx.xxx.xxx:161 fd=13 ]
[0][14302] 2020-03-17 14:25:27.992132: ID 100 :(service_ping_timeout_message): timed out, status=DOWN, now=[1584473130.992221][2020-03-17 14:25:30] [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxxx-apm01_current_active_sessions fd=-1 pend=0 #conn=0 up_intvl=5 dn_intvl=5 timeout=16 time_until_up=0 immed=0 next_ping=[1584473135.256451][2020-03-17 14:25:35] last_ping=[1584473130.290513][2020-03-17 14:25:30] deadline=[1584473130.358088][2020-03-17 14:25:30] on_service_list=True snd_cnt=5 rcv_cnt=0 ]
[0][14302] 2020-03-17 14:25:27.992185: ID 100 :(_change_state_to_failure) [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxxx-apm01_current_active_sessions up_intvl=5 dn_intvl=5 timeout=16 time_until_up=0 immed=0 next_ping=[1584473135.256451][2020-03-17 14:25:35] last_ping=[1584473130.290513][2020-03-17 14:25:30] deadline=[1584473130.358088][2020-03-17 14:25:30] on_service_list=True ]
[0][14302] 2020-03-17 14:25:27.992222: ID 100 :(change_state_common) monitor test completed, result DOWN [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxxxx-apm01_current_active_sessions ]
[0][14302] 2020-03-17 14:25:27.992230: ID 100 :(_change_state_common): Node DOWN (was UNKNOWN) [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxxxxx-apm01_current_active_sessions up_intvl=5 dn_intvl=5 timeout=16 time_until_up=0 immed=0 next_ping=[1584473135.256451][2020-03-17 14:25:35] last_ping=[1584473130.290513][2020-03-17 14:25:30] deadline=[1584473130.358088][2020-03-17 14:25:30] on_service_list=True snd_cnt=5 rcv_cnt=0 ]
[0][14302] 2020-03-17 14:25:27.992248: ID 100 :(adjust_deadline): from [1584473130.358088][2020-03-17 14:25:30] to [1584473135.992221][2020-03-17 14:25:35] [ addr=::ffff:xxx.xxx.xxx.xxx:161 mon=/Common/snmp_monitor-xxxxxxxx-apm01_current_active_sessions fd=-1 pend=0 #conn=0 up_intvl=5 dn_intvl=5 timeout=16 time_until_up=0 immed=0 next_ping=[1584473135.256451][2020-03-17 14:25:35] last_ping=[1584473130.290513][2020-03-17 14:25:30] deadline=[1584473135.992221][2020-03-17 14:25:35] on_service_list=True snd_cnt=5 rcv_cnt=0 ]