Bases: Cloud.Cloud
Update properties on an account.
Arguments: metaDict - metadata key-value pairs in form of python dictionary (Optional) token – webhook token (Optional)
Returns: status code
Returns account resource limits.
Arguments:
Returns: JSON results as python dict
Lists audits for this account.
Arguments:
From – query start date*
To – query end date*
reverse – enabled specifying that time sequenced data be returned in reverse order
marker – used to mark query when retrieving info in subsequent queries
limit – when not specifed in the endpoint actually defaults to 100
To convert a particular time to UTC, you can use the date +%s000 command or a website such as
If no ‘to’ or ‘from’ values are specified, then it will be treated as a query for the last 7 days of data.
Returns: JSON results as python dict
Lists the entities on the account.
Arguments:
From – query start date*
To – query end date*
reverse – enabled specifying that time sequenced data be returned in reverse order
marker – used to mark query when retrieving info in subsequent queries
limit – when not specifed in the endpoint actually defaults to 100
To convert a particular time to UTC, you can use the date +%s000 command or a website such as
If no ‘to’ or ‘from’ values are specified, then it will be treated as a query for the last 7 days of data.
Returns: JSON results as python dict, including ‘metadata’
Retrieves the current state of an entity.
Arguments: eId – entity id
Returns: JSON results as python dict
Creates a new entity.
Arguments: label – attrDict – python dictionary of arg options:
agent_id – (Optional) ip_addresses - ip’s in form of python dictionary (Optional) metadata - metadata key-value pairs in form of python dictionary (Optional)
Returns: status code
Updates an entity specified by the entityId (id).
Arguments: eId – entity id label – (Optional) attrDict – python dictionary of arg options:
agent_id – (Optional) ip_addresses - ip’s in form of python dictionary (Optional) metadata - metadata key-value pairs in form of python dictionary (Optional)
Returns: status code
Creates (or test creates) a new check associated with an entity.
Arguments: entityId – attrDict – python dictionary of options:
- type – remote.dns / remote.ssh / remote.smtp / remote.http /
- remote.tcp / remote.ping / remote.ftp-banner / remote.imap-banner / remote.pop3-banner / remote.smtp-banner / remote.postgresql-banner / remote.telnet-banner / remote.mysql-banner / remote.mssql-banner (Required)
details – (Optional) disabled – (Optional) label – (Optional) metadataDict – metadata python dict of key/value pairs (Optional) period – (Optional) timeout – (Optional) monitoringZonesPoll – (for remote checks) (Optional) targetAlias – (for remote checks) (Optional) targetHost – (for remote checks) (Optional) targetResolver – (for remote checks) (Optional)
testMode – true/false (default=True)
Returns: status code
Tests the creation of a new check associated with an entity.
Arguments: entityId – entity id attrDict – python dictionary:
- type – remote.dns / remote.ssh / remote.smtp / remote.http /
- remote.tcp / remote.ping / remote.ftp-banner / remote.imap-banner / remote.pop3-banner / remote.smtp-banner / remote.postgresql-banner / remote.telnet-banner / remote.mysql-banner / remote.mssql-banner
details – (Optional) disabled – (Optional) label – (Optional) metadataDict – metadata python dict of key/value pairs (Optional) period – (Optional) timeout – (Optional) monitoringZonesPoll – (for remote checks) (Optional) targetAlias – (for remote checks) (Optional) targetHost – (for remote checks) (Optional) targetResolver – (for remote checks) (Optional)
Returns: status code
Returns the specified check.
Arguments: entityId – checkId –
Returns: status code.
Lists checks associated with an entityId.
Arguments: entityId –
Returns: JSON results as python dict
Test a check inline.
Arguments: entityId – checkId –
Returns: status code.
Updates a check associated with an entity.
Arguments: entityId – attrDict – python dictionary or optional args:
- type – remote.dns / remote.ssh / remote.smtp / remote.http /
- remote.tcp / remote.ping / remote.ftp-banner / remote.imap-banner / remote.pop3-banner / remote.smtp-banner / remote.postgresql-banner / remote.telnet-banner / remote.mysql-banner / remote.mssql-banner (Required)
details – (Optional) disabled – (Optional) label – (Optional) metadata – metadata python dict of key/value pairs (Optional) period – (Optional) timeout – (Optional) monitoringZonePoll – (for remote checks) (Optional) targetAlias – (for remote checks) (Optional) targetHost – (for remote checks) (Optional) targetResolver – (for remote checks) (Optional)
Returns: status code
Deletes a check.
Arguments: entityId – checkId –
Returns: status code
Returns the specified check type.
Arguments: id – check type id
Returns: status code.
List available check types.
Arguments:
Returns: JSON results as python dict
Create (or test run the creation of) a(n) new alarm.
Arguments: entityId – checkId – The ID of the check to alert on. (string) planId – The ID of the notification plan to execute when the state changes. attrDict – python dict options:
criteria – (Optional) disabled – Disable processing and alerts on this alarm (Optional)(Boolean) label – (Optional) metadata – python dict of metadata key value pairs (Optional)
testMode – true/false (default=False)
Returns: status code
Test run the creation of an alarm.
Arguments: entityId – checkId – planId – notification plan id attrDict – python dict options:
criteria – (Optional) label – (Optional) metadataDict – python dict of metadata key value pairs (Optional)
Returns: status code
Returns the specified alarm.
Arguments: entityId – alarmId –
Returns: status code.
Lists alarms associated with an entityId.
Arguments: entityId –
Returns: JSON results as python dict
Update an alarm associated with an entity.
Update an alarm with the specified alarmId. Partial updates to an alarm are acceptable. You may specify only the parameters you would like to update.
Arguments: entityId – alarmId – attrDict – python dict options:
checkId – The ID of the check to alert on. planId – notification plan id (Optional) criteria – (Optional) label – (Optional) disabled – Disable processing and alerts on this alarm (Optional) (Boolean) metadataDict – python dict of metadata key value pairs (Optional)
Returns: status code
Deletes an alarm.
Arguments: entityId – alarmId –
Returns: status code
Creates a notification plan.
Arguments: label – attrDict – python dict options:
critical_state – ok_state – warning_state –
Returns: status code
Lists notification plans for current account.
Arguments:
Returns: JSON results as python dict
Returns the specified notification plan.
Arguments: nplanId –
Returns: status code.
Update a notification plan associated with an entity.
Arguments: nplanId – attrDict – python dict of option args:
label – critical_state – ok_state – warning_state –
Returns: status code
Deletes a notification plan.
Arguments: entityId – nplanId –
Returns: status code
Returns the specified monitoring zone.
Arguments: mzoneId –
Returns: status code.
Perform a traceroute from a collector in the specified monitoring zones.
Arguments: mzoneId – target – target ip or hostname attrDict – python dict options:
targetResolver – IPv6 / IPv6 (Optional)
Returns: status code.
List checks for which alarm notification history is available.
Arguments: entityId – alarmId –
Returns: JSON results as python dict
List checks for which alarm notification history is available – or if uuid is provided, retrieves a single alarm notification history item.
Arguments: entityId – alarmId – checkId – uuid – id of a single alarm notification history item (Optional)
Returns: JSON results as python dict
Create (or test the creation of ) a notification.
Arguments: label – type – webhook / email details – testMode – true/false (default=False)
Returns: status code
Tests the creation of a notification.
Arguments: label – type – webhook / email details –
Returns: status code
Returns the specified notification.
Arguments: noteId –
Returns: status code.
Test a notification inline.
Arguments: noteId –
Returns: status code.
Updates a notification.
Arguments: noteId – attrDict – python dict options:
details – label – type – webhook / email
Returns: status code
Deletes a notification.
Arguments: noteId –
Returns: status code
Returns the specified notification type.
Arguments: ntId – notification type id
Returns: status code.
List available notification types.
Arguments:
Returns: JSON results as python dict
Lists alarm changelogs for this account, filtered by a given entity ID
Returns: JSON results as python dict
Return list of alarm examples.
Arguments:
Returns: JSON results as python dict