Mark host as up or down before execute script, then script can use this information.

Submitted by: 	Jean Debogue <jean@wedebugyou.com>