Services and scheduled downtimes¶
Services with their elements, and the scheduled downtimes that cover agents and modules.
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 |
|---|---|---|---|
service |
services |
10 | Services |
scheduled-downtime |
scheduled-downtimes, downtime, downtimes |
5 | Scheduled downtimes |
scheduled-downtime-agent |
scheduled-downtime-agents |
5 | Agents included in a scheduled downtime |
scheduled-downtime-module |
scheduled-downtime-modules |
4 | Modules included in a scheduled downtime |
service¶
Services
Aliases: services
| Command | Method | Path |
|---|---|---|
service list |
POST | /service/list |
service get <idService> |
GET | /service/{idService} |
service create |
POST | /service |
service update <idService> |
PUT | /service/{idService} |
service delete <idService> |
DELETE | /service/{idService} |
service element list <idService> |
POST | /service/{idService}/element/list |
service element get <idService> <idServiceElement> |
GET | /service/{idService}/element/{idServiceElement} |
service element add <idService> |
POST | /service/{idService}/element |
service element update <idService> <idServiceElement> |
PUT | /service/{idService}/element/{idServiceElement} |
service element remove <idService> <idServiceElement> |
DELETE | /service/{idService}/element/{idServiceElement} |
Fields for --where, --fields and --in: asynchronous, autoCalculate, cascadeProtection, cpsInhibit, critical, description, evaluateSla, idGroup, idService, isFavourite, name, quiet, serviceInterval, slaInterval, status, unknownAsCritical, utimestamp, warning
--filter additionally accepts every other field of the entity (38 in total).
service element add— --set does not parse object or array literals: --set rules='{"agentGroup":2}' is sent as a string. An element with rules needs --from-file. Plain array fields use a repeated --set key=value.
scheduled-downtime¶
Scheduled downtimes
Aliases: scheduled-downtimes, downtime, downtimes
| Command | Method | Path |
|---|---|---|
scheduled-downtime list |
POST | /scheduledDowntime/list |
scheduled-downtime get <idScheduledDowntime> |
GET | /scheduledDowntime/{idScheduledDowntime} |
scheduled-downtime create |
POST | /scheduledDowntime |
scheduled-downtime update <idScheduledDowntime> |
PUT | /scheduledDowntime/{idScheduledDowntime} |
scheduled-downtime delete <idScheduledDowntime> |
DELETE | /scheduledDowntime/{idScheduledDowntime} |
Fields for --where, --fields and --in: creationDate, cronIntervalFrom, cronIntervalTo, dateFrom, dateTo, description, executed, expirationDate, friday, idGroup, idScheduledDowntime, idUser, monday, name, onlyAlerts, periodicallyDayFrom, periodicallyDayTo, periodicallyTimeFrom, periodicallyTimeTo, saturday, sunday, thursday, tuesday, typeDowntime, typeExecution, typePeriodicity, wednesday
--filter additionally accepts every other field of the entity (36 in total).
scheduled-downtime-agent¶
Agents included in a scheduled downtime
Aliases: scheduled-downtime-agents
| Command | Method | Path |
|---|---|---|
scheduled-downtime-agent list <idScheduledDowntime> |
POST | /scheduledDowntime/{idScheduledDowntime}/agent/list |
scheduled-downtime-agent get <idScheduledDowntime> <idScheduledDowntimeAgent> |
GET | /scheduledDowntime/{idScheduledDowntime}/agent/{idScheduledDowntimeAgent} |
scheduled-downtime-agent create <idScheduledDowntime> |
POST | /scheduledDowntime/{idScheduledDowntime}/agent |
scheduled-downtime-agent update <idScheduledDowntime> <idScheduledDowntimeAgent> |
PUT | /scheduledDowntime/{idScheduledDowntime}/agent/{idScheduledDowntimeAgent} |
scheduled-downtime-agent delete <idScheduledDowntime> <idScheduledDowntimeAgent> |
DELETE | /scheduledDowntime/{idScheduledDowntime}/agent/{idScheduledDowntimeAgent} |
Fields for --where, --fields and --in: allModules, idAgent, idScheduledDowntime, idScheduledDowntimeAgent, manuallyDisabled
--filter additionally accepts every other field of the entity (10 in total).
scheduled-downtime-module¶
Modules included in a scheduled downtime
Aliases: scheduled-downtime-modules
| Command | Method | Path |
|---|---|---|
scheduled-downtime-module list <idScheduledDowntime> |
POST | /scheduledDowntime/{idScheduledDowntime}/module/list |
scheduled-downtime-module get <idScheduledDowntime> <idScheduledDowntimeModule> |
GET | /scheduledDowntime/{idScheduledDowntime}/module/{idScheduledDowntimeModule} |
scheduled-downtime-module create <idScheduledDowntime> |
POST | /scheduledDowntime/{idScheduledDowntime}/module |
scheduled-downtime-module delete <idScheduledDowntime> <idScheduledDowntimeModule> |
DELETE | /scheduledDowntime/{idScheduledDowntime}/module/{idScheduledDowntimeModule} |
Fields for --where, --fields and --in: idAgent, idAgentModule, idScheduledDowntime, idScheduledDowntimeModule
--filter additionally accepts every other field of the entity (9 in total).