You can use the ping -c4 $ip_address where the $ip_address is IP of your remote server and parse this output to capture these successful packets and/or failed packets and use mail -s to send each log via email.
Here is something to get started and you can build on it.
ping -c4 www.google.com | awk '/---/,0'
This will give the output like this -
[jaypal:~/Temp] ping -c4 www.google.com | awk '/---/,0'
--- www.l.google.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 36.638/36.870/37.159/0.196 ms
I checked this Solaris man-page for a ping. The output from ping on a Solaris box is different. Also, on Linux, you limit packets by stating -c and several packets. On Solaris, you would have to do -
ping -s www.google.com 2 4
/usr/sbin/ping -s [-l | -U] [-adlLnrRv] [-A addr_family]
[-c traffic_class] [-g gateway [ -g gateway...]] [-
F flow_label] [-I interval] [-i interface] [-P tos] [-
p port] [-t ttl] host [data_size] [npackets]
Unfortunately, I don't have the Solaris box handy to help you out with.
Want to be a Linux expert? Come and join this Linux course