Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
HashiCorp Consul operations
v0.2.7Deep Consul ops — agent self/metrics/host introspection, operator raft + autopilot + reload, catalog (services + nodes + datacenters), health (passing/warning/critical) with force-pass/fail/warn check mutators, KV (get/list/recursive), ACL tokens/policies/roles, Connect mesh (CA roots, intentions), sessions, prepared queries, snapshots (save/inspect/restore), and narrow operator actions (deregister, maintenance, raft remove-peer). Auth via CONSUL_HTTP_ADDR + CONSUL_HTTP_TOKEN env vars.
Install
emisar pack install
validates the pack and verifies its content hash before copying it into /etc/emisar/packs.
The --hash
below pins the
install to the exact bytes on this page — a tampered copy is rejected. After
install, reload the runner; it re-reads the catalog and advertises every action.
content hash: sha256:0aa33d8a7346c020d2b2954c0dc7690011244814103d0d60970f88394f5e4dca
sudo emisar pack install consul \ --hash sha256:0aa33d8a7346c020d2b2954c0dc7690011244814103d0d60970f88394f5e4dca \ --dest /etc/emisar/packs # Reload so the runner re-reads the catalog: sudo systemctl reload emisar
Actions 44 total
View on GitHub-
GET /v1/acl/token/self
-
GET /v1/agent/checks
-
GET /v1/agent/host
-
GET /v1/agent/metrics
-
GET /v1/agent/self
-
GET /v1/agent/services
-
GET /v1/operator/autopilot/state
-
GET /v1/catalog/datacenters
-
GET /v1/catalog/service/<name>
-
GET /v1/connect/ca/configuration
-
GET /v1/connect/ca/roots
-
consul services deregister
-
PUT /v1/session/destroy/<id>
-
PUT /v1/agent/check/fail/<check_id>
-
PUT /v1/agent/check/pass/<check_id>
-
PUT /v1/agent/check/warn/<check_id>
-
GET /v1/connect/intentions
-
GET /v1/connect/intentions/match (by destination)
-
consul kv get <key>
-
consul kv get -recurse <prefix>
-
consul kv get -keys <prefix>
-
GET /v1/status/leader
-
consul acl policy list
-
consul acl role list
-
consul acl token list
-
GET /v1/health/state/critical
-
GET /v1/health/state/warning
-
consul catalog nodes
-
consul catalog services
-
GET /v1/session/list
-
consul members
-
GET /v1/health/node/<node>
-
consul maint -enable
-
GET /v1/catalog/node-services/<node>
-
GET /v1/query
-
consul operator raft list-peers
-
consul operator raft remove-peer
-
consul reload
-
consul health service <name>
-
consul maint -enable -service <svc>
-
GET /v1/health/service/<name>?passing
-
consul snapshot inspect <path>
-
consul snapshot restore <path>
-
consul snapshot save <path>