diff --git a/hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/cmd/AbstractResourcePathCommand.java b/hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/cmd/AbstractResourcePathCommand.java
index <HASH>..<HASH> 100644
--- a/hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/cmd/AbstractResourcePathCommand.java
+++ b/hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/cmd/AbstractResourcePathCommand.java
@@ -114,7 +114,7 @@ RESP extends ResourcePathResponse> implements Command<REQ, RESP> {
             if (endpointService == null) {
                 throw new IllegalArgumentException(String.format(
                         "Cannot perform [%s] on a [%s] given by inventory path [%s]: unknown managed server [%s]",
-                        this.getOperationName(envelope), entityType, managedServerName));
+                        this.getOperationName(envelope), entityType, resourceId, managedServerName));
             }
 
             validate(envelope, endpointService.getMonitoredEndpoint());
forgot to pass argument for %s