Its is openwrt but they are using a very old version kamikaze    I have not had any problems building the package on later versions ..and all the research I have done points to the issues of the atomic functions not being supported on the gcc version that's included with the kamikaze toolchain I believe 4.2.1 is the version of gcc that is included.
				
			 ... but i would like to create a script that could do that and then send the results back to netxms say 0=ok  and 1=down     and have it create and alarm and just like it would if netxms was doing the ICMP requests..  I have experimented with nxpush and it seems i can only provide 0 - 4   from Warning to Critical but never a sys_node_down event
 ... but i would like to create a script that could do that and then send the results back to netxms say 0=ok  and 1=down     and have it create and alarm and just like it would if netxms was doing the ICMP requests..  I have experimented with nxpush and it seems i can only provide 0 - 4   from Warning to Critical but never a sys_node_down event