Skip to content

Servers and system

Pandora FMS servers and their status, system values and counters, bulk operations, data translations, and the vulnerabilities and patches reported by agents.

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
server servers 3 Pandora FMS servers and their status
system — 2 Console system information
data-translation data-translations 5 Data translation definitions
bulk-draft bulk-drafts 4 Bulk operation drafts
bulk-queue bulk-queues 3 Bulk operation queue
security-vulnerability security-vulnerabilities 2 Security vulnerabilities reported by agents
windows-patch windows-patches 2 Windows patches reported by agents

server

Pandora FMS servers and their status

Aliases: servers

Command Method Path
server list POST /server/list
server get <idServer> GET /server/{idServer}
server summary GET /server/summary

Fields for --where, --fields and --in: description, disabled, execProxy, idGroup, idServer, ipAddress, keepalive, lagModules, lagTime, laststart, master, myModules, name, port, queuedModules, serverKeepalive, serverKeepaliveUtimestamp, serverType, statUtimestamp, status, threads, totalModulesRunning, version

--filter additionally accepts every other field of the entity (39 in total).

server summary — Counts only the servers in the groups the user can manage; a user without any gets a total of 0.

system

Console system information

Every command is a grouped extra command. Read-only values the console exposes about itself.

Command Method Path
system timezone GET /system/timezone
system self-monitoring-agent-name GET /system/selfMonitoringAgentName

data-translation

Data translation definitions

Aliases: data-translations

Command Method Path
data-translation list POST /dataTranslation/list
data-translation get <idDataTranslation> GET /dataTranslation/{idDataTranslation}
data-translation create POST /dataTranslation
data-translation update <idDataTranslation> PUT /dataTranslation/{idDataTranslation}
data-translation delete <idDataTranslation> DELETE /dataTranslation/{idDataTranslation}

Fields for --where, --fields and --in: idDataTranslation, name, values

--filter additionally accepts every other field of the entity (9 in total).

bulk-draft

Bulk operation drafts

Aliases: bulk-drafts

Command Method Path
bulk-draft list POST /bulkDraft/list
bulk-draft get <idBulkDraft> GET /bulkDraft/{idBulkDraft}
bulk-draft delete <idBulkDraft> DELETE /bulkDraft/{idBulkDraft}
bulk-draft delete-mine DELETE /bulkDraft/user

Fields for --where, --fields and --in: createdAt, data, idBulkDraft, operationType, target, updatedAt, userId

--filter additionally accepts every other field of the entity (10 in total).

bulk-draft delete-mine — A collection-level delete with no {id}, outside the convention.

bulk-queue

Bulk operation queue

Partial CRUD; queue entries are created by the console, not the API.

Aliases: bulk-queues

Command Method Path
bulk-queue list POST /bulkQueue/list
bulk-queue get <idBulkQueue> GET /bulkQueue/{idBulkQueue}
bulk-queue delete <idBulkQueue> DELETE /bulkQueue/{idBulkQueue}

Fields for --where, --fields and --in: createdAt, data, errorMessage, idBulkQueue, operationType, status, target, updatedAt, userId

--filter additionally accepts every other field of the entity (12 in total).

security-vulnerability

Security vulnerabilities reported by agents

Aliases: security-vulnerabilities

Command Method Path
security-vulnerability list POST /securityVulnerability/list
security-vulnerability get <idAgent> <hash> <utimestamp> GET /securityVulnerability/{idAgent}/{hash}/{utimestamp}

Fields for --where, --fields and --in: data, dataType, hash, idAgente, utimestamp

--filter additionally accepts every other field of the entity (11 in total).

security-vulnerability get — A vulnerability has a composite key: the agent id, the hash and the timestamp shown by security-vulnerability list.

windows-patch

Windows patches reported by agents

Aliases: windows-patches

Command Method Path
windows-patch list POST /windowsPatch/list
windows-patch get <idAgent> <kb> <utimestamp> GET /windowsPatch/{idAgent}/{kb}/{utimestamp}

Fields for --where, --fields and --in: description, idAgente, kb, utimestamp

--filter additionally accepts every other field of the entity (10 in total).

windows-patch get — A patch has a composite key: the agent id, the KB identifier and the timestamp shown by windows-patch list.