Is there a program for linux to check the health an SSD drive?
SSD Life is a good software, but for Windows only :( As said liori above, you can use any SMART control software and look for attribute value, what corresponds to drive health. For example, for Intel SSDs it's a E9 - media wearout indicator, it's value is a drive health (100 = 100%).
You can try new software - SSDlife
Freeware version basic enough and support all major SSD drives and controllers.