add more logs

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

View File

@ -1483,6 +1483,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);