Hello I need to do ping test to mikrotik , in the absence of answers about 10 minutes - to send an e-mail indicating the ip address
Implementation is through ping, and not through the api package mikrotik
			
			
			
				Ping subagent should help - https://www.netxms.org/documentation/adminguide/icmp-ping.html (https://www.netxms.org/documentation/adminguide/icmp-ping.html). Alternatively, you can just add Mikrotik device to NetXMS as node and set required poll count for status change to 10 on all interfaces or globally - then node will be marked as down if 10 consecutive polls will fail.
Best regards,
Victor
			
			
			
				Also if you dont require advanced ICMP statistics (provided by Ping Subagent) a simple "Internal" type DCI "PingTime" will allow you to collect and graph ping response time.