Bulk creation of folders, rules and hosts
We have automated our setup completely. Now it does take a very long time to (re)create the whole structure of hosts, rules and folders.
We would prefer to feed the api not with just one folder, one host and one rule but with a whole list.
Comments: 7
-
04 Apr
Mohamed Saleh AdminDear Markus,
Thank you for posting your idea on our portal!
To help us better understand, could you provide more details about your use case or a sample of the list, for example is it a single list or a list for each object type.
Warm regards,
Your Checkmk team -
05 Apr
MarkusFor the folder I suggest something like this
{
"name": "[production,integration,test]",
"title": "[Production Hosts,Integration Hosts,Test Hosts]",
"parent": "/",
"attributes": {
"tag_criticality": "[prod,int,test]"
}
} -
08 Apr
Mohamed Saleh AdminThanks Markus,
You also mentioned bulk actions for rules. Could you provide more details about your use case here? -
12 Apr
MarkusI would like to have the possbility to post at once several "value_raw".
"value_raw[0]":
"value_raw[1]": -
17 Apr
Mohamed Saleh AdminHi Markus,
Thanks for the feedback.
We are curious about your use case for this idea. Do you want to recreate your setup because e.g., you are deploying a new site and want to keep everything the same? We also would like to know more about the business problem you want to solve with having the ability to do bulk action, e.g., is it to make the process faster? -
13 May
MarkusActually we rebuild our servers once a day. The idea behind is to do nothing at all by hand .
Yes it would make the deployment faster if we were able to send several similar commands with one single command. -
15 May
Niklas Pulina AdminHi Markus,
Thank you for your feedback. Do I understand you correctly in a sense that you rebuild your complete monitoring server every day—together with all its hosts, rules, etc.?
If so, could you please elaborate on the reason for this? That would help us understand your use case.
Many thanks in advance!
Best, Niklas