mdsp agent-status Command¶
Syntax:
mdsp agent-status
Help:
mdsp agent-status --help
Alternative form:
mc agent-status
(The CLI was using mc
as default command name in older versions)
Description¶
displays the agent status and agent onboarding status *
Usage¶
Parameter list:
Usage: mdsp agent-status|as [options]
displays the agent status and agent onboarding status *
Options:
-c, --config config file with agent configuration
-a, --agentid agentid
-k, --passkey passkey
-r, --cert [privatekey] required for agents with RSA_3072 profile. create with: openssl genrsa -out private.key 3072
-y, --retry retry attempts before giving up (default: "3")
-v, --verbose verbose output
-h, --help display help for command
Examples¶
Here are some examples of how to use the mdsp agent-status
command:
Examples:
mdsp agent-status uses default agentconfig.json
mdsp agent-status --config agent.json uses specified configuration file
mdsp agent-status --cert private.key uses specified key for RSA_3072 profile
mdsp agent-status --passkey mypasskey displays also the online agent information
mdsp agent-status --passkey mypasskey --verbose displays additionally the mappings and configuration
See Insights Hub API documentation for more information about Insights Hub APIs.