mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Registering a monitor target #2101
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @confiar on GitHub (Apr 13, 2023).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
API
🔖 Feature description
It would be very convenient if monitor registration is possible through API.
✔️ Solution
It would be nice if the API had required and optional parameters, and a method that could register the monitor target through http request was applied.
❓ Alternatives
I would like to be able to upload a csv file or register multiple monitor targets in a csv format on the web in bulk.
📝 Additional Context
No response
@jonnymccullagh commented on GitHub (Apr 14, 2023):
I achieve this via Ansible with:
https://github.com/lucasheld/ansible-uptime-kuma
Ultimately I am defining each monitor in yaml e.g.
@confiar commented on GitHub (May 3, 2023):
thank you for the answer first
but it's not working.
please help me.
An error occurs when I enter the command below.
ansible-galaxy collection install git+https://github.com/lucasheld/ansible-uptime-kuma.git
ERROR! Invalid collection name 'git+https', name must be in the format .. Please make sure namespace and collection name contains characters from [a-zA-Z0-9_] only.
@jonnymccullagh commented on GitHub (May 4, 2023):
I had that issue too. That is related to the ansible version as far as I remember. Installing a collection from a git repo source was added in more recent version of ansible. I am using 2.14.3 if that helps.