api.mon.base
¶
/mon/template¶
-
api.mon.base.views.
mon_template_list
(*args, **kwargs)¶ Get (
GET
)-
GET
/mon/template
¶ DC-bound?: Permissions: Asynchronous?: Parameters: - data.full (boolean) – Return list of objects with all monitoring template details (default: false)
Status Codes: - 200 OK – SUCCESS
- 201 Created – PENDING
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
-
/mon/hostgroup¶
-
api.mon.base.views.
mon_hostgroup_list
(*args, **kwargs)¶ Get (
GET
)-
GET
/mon/hostgroup
¶ DC-bound?: Permissions: - Admin -
dc_bound=true
- SuperAdmin -
dc_bound=false
Asynchronous?: Parameters: - data.full (boolean) – Return list of objects with all monitoring hostgroup details (default: false)
- data.dc_bound (boolean) – If false, include information about “global” monitoring hostgroups that are not bound to a datacenter (requires SuperAdmin permission) (default: true)
Status Codes: - 200 OK – SUCCESS
- 201 Created – PENDING
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- Admin -
-
/mon/hostgroup/(hostgroup_name)¶
-
api.mon.base.views.
mon_hostgroup_manage
(*args, **kwargs)¶ Show (
GET
), create (POST
) or remove (DELETE
) a monitoring hostgroup.-
GET
/mon/hostgroup/
(hostgroup_name)¶ DC-bound?: Permissions: - Admin -
dc_bound=true
- SuperAdmin -
dc_bound=false
Asynchronous?: Parameters: - hostgroup_name (string) – required - Monitoring hostgroup name
- data.dc_bound (boolean) – If false, display a “global” monitoring hostgroup that is not bound to a datacenter (requires SuperAdmin permission) (default: true)
Status Codes: - 200 OK – SUCCESS
- 201 Created – PENDING
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- Admin -
-
POST
/mon/hostgroup/
(hostgroup_name)¶ DC-bound?: Permissions: - Admin -
dc_bound=true
- SuperAdmin -
dc_bound=false
Asynchronous?: Parameters: - hostgroup_name (string) – required - Monitoring hostgroup name
- data.dc_bound (boolean) – If false, create a “global” monitoring hostgroup that is not bound to a datacenter (requires SuperAdmin permission) (default: true)
Status Codes: - 200 OK – SUCCESS
- 201 Created – PENDING
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- Admin -
-
DELETE
/mon/hostgroup/
(hostgroup_name)¶ DC-bound?: Permissions: - Admin -
dc_bound=true
- SuperAdmin -
dc_bound=false
Asynchronous?: Parameters: - hostgroup_name (string) – required - Monitoring hostgroup name
- data.dc_bound (boolean) – If false, delete a “global” monitoring hostgroup that is not bound to a datacenter (requires SuperAdmin permission) (default: true)
Status Codes: - 200 OK – SUCCESS
- 201 Created – PENDING
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- Admin -
-