add more logs

This commit is contained in:
anthony 2011-11-01 19:34:39 -07:00
parent c44db2557d
commit 09d89b3dc3
1 changed files with 1 additions and 0 deletions

View File

@ -971,6 +971,7 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, Manager {
}
Status status = h.getStatus();
if (!status.equals(Status.Up) && !status.equals(Status.Connecting)) {
s_logger.debug("Can not send command " + cmd + " due to Host " + hostId + " is not up");
return null;
}
final Answer answer = send(hostId, cmd);