Skip to content

Instantly share code, notes, and snippets.

@noob-master147
Last active May 24, 2021 04:40
Show Gist options
  • Save noob-master147/bf27fce8ab6a0a01c2ba6f12fa9f9e71 to your computer and use it in GitHub Desktop.
Save noob-master147/bf27fce8ab6a0a01c2ba6f12fa9f9e71 to your computer and use it in GitHub Desktop.
uptime.com
{
data: {
service: { id: null },
account: {
id: 150043,
name: 'Spike.sh',
brand: 'uptime',
timezone: 'GMT',
site_url: 'https://uptime.com'
},
integration: {
id: 4049,
name: 'alert spike',
module: 'webhook',
module_verbose_name: 'Custom Postback URL (Webhook)',
is_enabled: true,
is_errored: false,
is_test_supported: true,
postback_url: 'https://hyperping.ngrok.io/test',
headers: '',
use_legacy_payload: false
},
date: '2021-05-21T07:15:04.468Z',
links: {}
},
event: 'test'
}
{
data: {
service: {
id: 884563,
name: 'spike',
device_id: 485632,
monitoring_service_type: 'HTTP',
is_paused: false,
msp_address: 'https://spikeee.sh',
msp_interval: 1,
msp_sensitivity: 2,
msp_num_retries: 2,
msp_url_scheme: 'https',
msp_url_path: '',
msp_port: null,
msp_protocol: '',
msp_username: '',
msp_proxy: '',
msp_dns_server: '',
msp_dns_record_type: '',
msp_send_string: '',
msp_expect_string: '',
msp_expect_string_type: 'STRING',
msp_encryption: '',
msp_threshold: 40,
msp_notes: '',
msp_include_in_global_metrics: true,
msp_use_ip_version: '',
msp_uptime_sla: '0.9900',
msp_response_time_sla: '2.200',
monitoring_service_type_display: 'HTTP(S)',
display_name: 'spike',
short_name: 'spike',
tags: []
},
account: {
id: 150043,
name: 'Spike.sh',
brand: 'uptime',
timezone: 'GMT',
site_url: 'https://uptime.com'
},
integration: {
id: 4049,
name: 'alert spike',
module: 'webhook',
module_verbose_name: 'Custom Postback URL (Webhook)',
is_enabled: true,
is_errored: false,
is_test_supported: true,
postback_url: 'https://hyperping.ngrok.io/test',
headers: '',
use_legacy_payload: false
},
date: '2021-05-21T07:45:04.153Z',
alert: {
id: 107247613,
created_at: '2021-05-21T07:45:04.153Z',
state: 'UNKNOWN',
output: 'check_http: Invalid hostname/address - spikeee.sh',
short_output: 'check_http: Invalid hostname/address - spikeee.sh',
is_up: false
},
global_alert_state: {
id: 107664494,
created_at: '2021-05-21T07:45:04.153Z',
num_locations_down: 2,
state_is_up: false,
state_has_changed: true,
ignored: false
},
device: {
id: 485632,
name: '',
address: 'spikeee.sh',
is_paused: false,
display_name: 'spikeee.sh'
},
locations: [ 'US Central', 'United Kingdom' ],
links: {
alert_details: 'https://uptime.com/accounts/em/37rv?next=/alerting/alert-history/107664494',
real_time_analysis: 'https://uptime.com/accounts/em/37rv?next=/devices/services/884563/analysis'
}
},
event: 'alert_raised'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment