BigBoot / AutoKuma

AutoKuma is a utility that automates the creation of Uptime Kuma monitors based on Docker container labels. With AutoKuma, you can eliminate the need for manual monitor creation in the Uptime Kuma UI.
MIT License
307 stars 15 forks source link

Feature request: 'kuma monitor add' support collection and multiple files #74

Closed artivis closed 3 months ago

artivis commented 3 months ago

At the moment it seems that the kuma monitor add command expects a single file containing a single monitor. I wish I could feed it a file containing multiple monitors e.g.

[
  {
    "name": "Static Json Example",
    "type": "http",
    "url": "https://example.com"
  },
  {
    "name": "Static Json Example 2",
    "type": "http",
    "url": "https://example.com"
  }
]

as well as feeding it multiple files at once: kuma monitor add monitors-lab.json monitors-prod.toml.