Quick Start
In five minutes you preview and apply a Requisition named acme-prod with three nodes.
You need an installed onmsctl and a configured context.
onmsctl follows the kubectl pattern: one config file with named contexts, a single declarative apply -f mutation entrypoint, and read-only inspection verbs alongside it.
It is a single statically linked binary that bundles nine capabilities: eventconf (event-source / event), provisioning (requisition), IAM (iam), SNMP config (snmp), maintenance (maintenance), data collection (datacollection), BSM (business-service), thresholding (threshold), and GraphML topologies (graph).
Learn the core concepts
apply -fis the one mutation entrypoint. It reads each YAML document'skindand routes it to that kind's handler. One file or directory may mix kinds. The kind table lists every kind and links its page.- Plan, gate, execute. Every document is planned first. Any planning failure aborts the whole apply before a write. See Declarative apply.
--dry-runis always safe. It plans every document and issues no mutating request. Add--difffor field-level changes on the kinds that render one.- Read-only contexts refuse every write locally with exit
12. See Read-only contexts.
Take the five-minute tour
-
Check that your config and credentials work.
onmsctl iam whoamiExpected output:
adminThe output is the user name of the active context.
-
List the requisitions already on the server.
onmsctl requisition listExpected output:
poc-scaleselfmonitorYour server shows its own requisition names.
-
Download the example requisition.
curl -fsSLO https://raw.githubusercontent.com/no42-org/onmsctl/main/examples/requisition-acme-prod.yamlIt defines
acme-prodwith the nodesweb01,db01andcache01, plus a pinned foreign-source definition. -
Preview the change without touching the server.
onmsctl apply -f requisition-acme-prod.yaml --dry-runExpected output:
+-------------+-----------+--------+---------+-----------------------+| kind | name | action | status | message |+====================================================================+| Requisition | acme-prod | create | Skipped | dry-run: would create |+-------------+-----------+--------+---------+-----------------------+--dry-runprints the planned action per document to stdout and sends no mutating request.acme-proddoes not exist yet, so the action iscreate. -
Apply the requisition for real.
onmsctl apply -f requisition-acme-prod.yamlThis step writes to the server. Run
onmsctl requisition listagain to seeacme-prod.
Next steps
Each kind has its own reference page:
EventSource: event configuration sources.EventSourceOrder: event-source evaluation order (singleton).ThresholdGroup: threshold groups.ThreshdPackage: threshd packages.Requisition: provisioning requisitions.User: Horizon users and roles.SnmpConfig: SNMP agent and trap config (singleton).Maintenance: scheduled-outage maintenance windows.DataCollectionSource: SNMP data-collection sources.BusinessService: Business Service Monitoring (BSM).Graph: GraphML topologies for the topology UI.
See also:
- Migration: the full
provision.plmigration map. - Compatibility: server-compatibility notes.