Replies (2)
by Jim Billi
Hi Rajesh,
We don't have a CLI option as of now but you can get the details of configuration rules in JSON format using the below REST API
curl "https://www.site24x7.com/api/rules" \
-X GET \
-H "Accept: application/json; version=2.0" \
-H "Authorization: Zoho-oauthtoken 1000.xxx"
Regards,
Jim
Like (0)
Reply
by Rajesh
Thanks Jim for the reply.
I still some issue, though i was able to export these details but they are in some not user friendly way.
Like if a monitor_group name is ABC in Config Rule its coming as some number "27597xxxxxx0213990.." would it have been with its original name it would have been much more helpful
"config": {
"rule_action": {
"threshold_profile": "2759700xxxxxx170001",
"notification_profile": "275970xxxxxxxx9445083",
"monitor_group": [
"27597xxxxxx021399057"
]
Thanks
Like (0)
Reply