Ticket 47538 - repl-monitor.pl not displaying correct color code for lag time
Bug Description: The tool was not correctly picking the correct
color code in the html report.
Fix Description: Correct the logic for picking the color. Also
found an issue where if the agmtmaxcsn contains
"unavailable" for the supplier maxcsn the tool
did not know how to properly handle it.
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 7ada2e2f1bdaab24f39d197b1569f9d418059534)