Go to All Forums

How can i take backup of Configuration Rules in Site24x7

I have number of Configuration Rules in Site24x7 and wish to take a backup of those is they any way i can do that like GUI or CLI ?

How can i take backup of all Configuration Rules in Site24x7?

Like (2) Reply
Replies (2)

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

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

Was this post helpful?