Add index() method to Alarm class for debug logs
Fix infinite loop on Cassandra connection failure
Add logs to communicationmonitor.cpp
Add logs to communicationmonitor.cpp