good, but needs some updates

I am testing this against a FreeNAS system, and find that in FreeNAS versions >= 9.10.x the repl_status success string has changed to ‘Up to date’

Also, the API URL seems to be hard coded to http … so I modified mine for https. It would be good to be able to have this handled dynamically to avoid sending the root credentials in cleartext.

diff check_truenas.py.sav check_truenas.py
45c45
self._ep = ‘https://%s/api/v1.0’ % hostname
76c76
if repl[‘repl_status’] != ‘Up to date’