-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import from Uptime Robot (CSV) #1190
Comments
Hi I had exactly the same issue. I managed to import all my monitors thanks to this little (unoptimized at all ^^) php script. First I used a csv to json converter somewhere online, then I stored my json in a variable (called $json in my script)
|
I was only able to get one to import at a time with this, couldn't explain why as it looked right, however I got there in the end, thanks. For anyone else trying this, you'll need to do an export from Kuma first and enter the output from this into the export, as it only includes the monitors. Also note that the array above uses a "keyword" monitor type rather than the default "http"; you may want to review the other settings too. |
I have also created a simple script which uses Socket.io to add monitors from a csv file. It's not an Uptime Robot csv, but I'm adding it here for anyone who may need such functionality. |
For anyone who need it now, there is a tool made 2 month ago: |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
I submitted a PR for your repo with some fixes for the Documentation and dockerized a fork of your suggestion on https://git.nixc.us/Nixius/UptimeRobot-Migrator I have no idea if any of this works yet but it made more sense to make it docker in my mind it makes it a touch easier to ensure there's no technical debt accrued once it works. |
🏷️ Feature Request Type
UI Feature
🔖 Feature description
Uptime Kuma imports and exports in CSV format, however Uptime Robot uses CSV. I'd like to be able to import an Uptime Robot CSV file so I can migrate quickly to Kuma, please.
✔️ Solution
Make CSV an accepted format for import, and add code to convert CSV to JSON before importing using the existing code. The UR CSV columns are,
ID | Type | Status | Friendly Name | URL/IP | Keyword Type | Keyword Value | Port
❓ Alternatives
I could probably do it manually, however it would take as long as adding the monitors manually. It seems logical to have it as a feature, so anyone can do it quickly, which should encourage migration.
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: