RMM¶
Remote monitoring and management: agents, scripts, resources, routines, schedules, batch jobs and their queues.
Generated automatically from pandora-cli docs (version 0.9.0, branch develop, commit 4f61789e07). Do not edit by hand; run make cli-ref.
Entities¶
| Entity | Aliases | Commands | Summary |
|---|---|---|---|
rmm |
— | 74 | Remote monitoring and management (RMM) agents, batch jobs and queues |
rmm¶
Remote monitoring and management (RMM) agents, batch jobs and queues
Every command is a grouped extra command: the entity has no id of its own. Groups are the API path segments in kebab-case. Lists are paginated and accept the filter body with --set or --from-file.
| Command | Method | Path |
|---|---|---|
rmm agent list |
POST | /rmm/agent/list |
rmm agent get <idAgentRmm> |
GET | /rmm/agent/{idAgentRmm} |
rmm agent update <idAgentRmm> |
PUT | /rmm/agent/{idAgentRmm} |
rmm agent delete <idAgentRmm> |
DELETE | /rmm/agent/{idAgentRmm} |
rmm batch list |
POST | /rmm/batch/list |
rmm batch get <idBatchJob> |
GET | /rmm/batch/{idBatchJob} |
rmm batch create |
POST | /rmm/batch |
rmm batch update <idBatchJob> |
PUT | /rmm/batch/{idBatchJob} |
rmm batch delete <idBatchJob> |
DELETE | /rmm/batch/{idBatchJob} |
rmm batch agent list <idBatchJob> |
POST | /rmm/batch/{idBatchJob}/agent/list |
rmm batch agent get <idBatchJob> <idBatchAgent> |
GET | /rmm/batch/{idBatchJob}/agent/{idBatchAgent} |
rmm batch agent add <idBatchJob> |
POST | /rmm/batch/{idBatchJob}/agent |
rmm batch agent remove <idBatchJob> <idBatchAgent> |
DELETE | /rmm/batch/{idBatchJob}/agent/{idBatchAgent} |
rmm batch queue list <idBatchJob> |
POST | /rmm/batch/{idBatchJob}/queue/list |
rmm batch queue get <idBatchJob> <idBatchQueue> |
GET | /rmm/batch/{idBatchJob}/queue/{idBatchQueue} |
rmm batch queue create <idBatchJob> |
POST | /rmm/batch/{idBatchJob}/queue |
rmm batch queue update <idBatchJob> <idBatchQueue> |
PUT | /rmm/batch/{idBatchJob}/queue/{idBatchQueue} |
rmm batch queue delete <idBatchJob> <idBatchQueue> |
DELETE | /rmm/batch/{idBatchJob}/queue/{idBatchQueue} |
rmm batch queue execute <idBatchJob> <idBatchQueue> |
POST | /rmm/batch/{idBatchJob}/queue/{idBatchQueue}/execute |
rmm batch rule list <idBatchJob> |
POST | /rmm/batch/{idBatchJob}/rule/list |
rmm batch rule get <idBatchJob> <idBatchRule> |
GET | /rmm/batch/{idBatchJob}/rule/{idBatchRule} |
rmm batch rule create <idBatchJob> |
POST | /rmm/batch/{idBatchJob}/rule |
rmm batch rule update <idBatchJob> <idBatchRule> |
PUT | /rmm/batch/{idBatchJob}/rule/{idBatchRule} |
rmm batch rule delete <idBatchJob> <idBatchRule> |
DELETE | /rmm/batch/{idBatchJob}/rule/{idBatchRule} |
rmm pending-software list |
POST | /rmm/pendingSoftware/list |
rmm pending-software agents-with-pending list |
POST | /rmm/pendingSoftware/agentsWithPending/list |
rmm queue list |
POST | /rmm/queue/list |
rmm queue get <id> |
GET | /rmm/queue/{id} |
rmm queue delete <id> |
DELETE | /rmm/queue/{id} |
rmm resource list |
POST | /rmm/resource/list |
rmm resource get <idResource> |
GET | /rmm/resource/{idResource} |
rmm resource exist <shortName> |
GET | /rmm/resource/exist/{shortName} |
rmm resource create |
POST | /rmm/resource |
rmm resource delete <idResource> |
DELETE | /rmm/resource/{idResource} |
rmm resource version list <idResource> |
POST | /rmm/resource/{idResource}/version/list |
rmm resource version get <idResource> <version> |
GET | /rmm/resource/{idResource}/version/{version} |
rmm resource version create <idResource> |
POST | /rmm/resource/{idResource}/version |
rmm resource version update <idResource> <version> |
PUT | /rmm/resource/{idResource}/version/{version} |
rmm resource version delete <idResource> <version> |
DELETE | /rmm/resource/{idResource}/version/{version} |
rmm resource version download <idResource> <version> |
GET | /rmm/resource/{idResource}/version/{version}/download |
rmm routine list |
POST | /rmm/routine/list |
rmm routine get <idRoutine> |
GET | /rmm/routine/{idRoutine} |
rmm routine create |
POST | /rmm/routine |
rmm routine update <idRoutine> |
PUT | /rmm/routine/{idRoutine} |
rmm routine delete <idRoutine> |
DELETE | /rmm/routine/{idRoutine} |
rmm routine agent list <idRoutine> |
POST | /rmm/routine/{idRoutine}/agent/list |
rmm routine agent get <idRoutine> <idRoutineAgent> |
GET | /rmm/routine/{idRoutine}/agent/{idRoutineAgent} |
rmm routine agent add <idRoutine> |
POST | /rmm/routine/{idRoutine}/agent |
rmm routine agent update <idRoutine> <idRoutineAgent> |
PUT | /rmm/routine/{idRoutine}/agent/{idRoutineAgent} |
rmm routine queue list <idRoutine> |
POST | /rmm/routine/{idRoutine}/queue/list |
rmm routine queue get <idRoutine> <idRoutineQueue> |
GET | /rmm/routine/{idRoutine}/queue/{idRoutineQueue} |
rmm routine queue create <idRoutine> |
POST | /rmm/routine/{idRoutine}/queue |
rmm routine queue update <idRoutine> <idRoutineQueue> |
PUT | /rmm/routine/{idRoutine}/queue/{idRoutineQueue} |
rmm routine queue delete <idRoutine> <idRoutineQueue> |
DELETE | /rmm/routine/{idRoutine}/queue/{idRoutineQueue} |
rmm routine queue execute <idRoutine> <idRoutineQueue> |
POST | /rmm/routine/{idRoutine}/queue/{idRoutineQueue}/execute |
rmm routine schedule list <idRoutine> |
POST | /rmm/routine/{idRoutine}/schedule/list |
rmm routine schedule get <idRoutine> <idRoutineSchedule> |
GET | /rmm/routine/{idRoutine}/schedule/{idRoutineSchedule} |
rmm routine schedule create <idRoutine> |
POST | /rmm/routine/{idRoutine}/schedule |
rmm routine schedule update <idRoutine> <idRoutineSchedule> |
PUT | /rmm/routine/{idRoutine}/schedule/{idRoutineSchedule} |
rmm rule execute |
POST | /rmm/rule/execute |
rmm schedule list |
POST | /rmm/schedule/list |
rmm schedule get <id> |
GET | /rmm/schedule/{id} |
rmm schedule create |
POST | /rmm/schedule |
rmm schedule update <id> |
PUT | /rmm/schedule/{id} |
rmm schedule delete <id> |
DELETE | /rmm/schedule/{id} |
rmm script list |
POST | /rmm/script/list |
rmm script get <idScriptRmm> |
GET | /rmm/script/{idScriptRmm} |
rmm script create |
POST | /rmm/script |
rmm script update <idScriptRmm> |
PUT | /rmm/script/{idScriptRmm} |
rmm script delete <idScriptRmm> |
DELETE | /rmm/script/{idScriptRmm} |
rmm settings list |
POST | /rmm/settings/list |
rmm settings get <id> |
GET | /rmm/settings/{id} |
rmm settings create |
POST | /rmm/settings |
rmm settings update <id> |
PUT | /rmm/settings/{id} |
rmm agent update— Writable fields: agentName, lastContact, interval and enabled. The specification marks idAgentRmm, status and Agent as read only.
rmm batch create— Writable fields: name, description and idGroup. The specification marks idBatchJob, lastExecutionUtimestamp and numAgents as read only.
rmm batch agent add— Writable fields: idAgentRmm and idBatchJob. The specification marks idBatchAgent and agent as read only.
rmm batch queue create— Writable fields: idBatchJob, progress (array), error, queueUtimestamp and dataUtimestamp. The specification marks idBatchQueue and status as read only.
rmm batch queue execute— The body is optional. id_agents_rmm (array of RMM agent ids) narrows the run; when it is empty the agents assigned to the batch job are used.
rmm batch rule create— Writable fields: idBatchJob, idScriptRmm, name and inputs (array, use --from-file -). The specification marks idBatchRule and script as read only.
rmm resource create— Sends multipart/form-data. Pass the file with --file(or --file = ); --shortName is required and is a flag, not a --set field (without it the API answers 400 "Short name cannot be generated"); --set supplies the text form field name (the name of the first version).
rmm resource version create— Sends multipart/form-data. Pass the file with --file(or --file = ); --set supplies the text form fields: name (the name of the version) and current.
rmm resource version update— Only name and current can be changed.
rmm resource version download— The response is raw bytes, so --output-fileis required (use --output-file - to write to stdout). An existing file is only replaced with --force. -o/--output still selects the output format.
rmm routine create— Writable fields: name, description, idGroup and applied. The specification marks idRoutine and numAgents as read only.
rmm routine agent add— Writable fields: idAgentRmm and pendingDelete. The specification marks idRoutineAgent, idRoutine, routineApplied, lastApplyUtimestamp and agent as read only.
rmm routine agent update— The API declares no delete for this relation; pendingDelete=true flags it for removal.
rmm routine queue create— Writable fields: progress (array), error, status, queueUtimestamp and dataUtimestamp. The specification marks idRoutineQueue and idRoutine as read only.
rmm routine queue execute— The body is optional. force_all_agents=true runs the entry over every agent of the routine instead of only the pending ones.
rmm routine schedule create— Writable fields: idScriptRmm, name, inputs (array, use --from-file -), schedule, enabled and pendingDelete. The specification marks idRoutineSchedule, idRoutine, script and description as read only.
rmm routine schedule update— The API declares no delete for this resource; pendingDelete=true flags it for removal.
rmm rule execute— Fields: idScriptRmm, idAgentsRmm (array of RMM agent ids), name and inputs (array). Arrays need --from-file.
rmm schedule create— Writable fields: idAgentRmm, idScriptRmm, name, inputs (array, use --from-file -), schedule, enabled, idScheduleRoutine and routineLinked. The specification marks id, script, description, agentName, agentAlias and agentRmmId as read only.
rmm script create— Writable fields: idGroup, name, description, idOs, osVersion, inputs (array, use --from-file -), notifyBeforeRun, eventResponse, the precondition, script and postcondition* groups (Enabled, Parameters, Interpreter, Extension and Code). The specification marks idScriptRmm, nameOs, idInternal and Queue as read only.
rmm settings create— Writable fields: allowList and denyList. The specification marks id as read only.
rmm resource create uploads files as multipart/form-data: pass --file <path> (or --file <field>=<path>, repeatable) and optional text form fields with --set field=value. It has no --from-file.
rmm resource version create uploads files as multipart/form-data: pass --file <path> (or --file <field>=<path>, repeatable) and optional text form fields with --set field=value. It has no --from-file.
rmm resource version download returns raw bytes: --output-file <file> is required (--output-file - writes to stdout), an existing file is replaced only with --force, and a failed download leaves no partial file. --output-file is the destination; -o/--output still selects the output format.