Ping-Admin.Com
профессиональный
мониторинг работы
сайтов и серверов
Ping-Admin.Com профессиональный
мониторинг работы
сайтов и серверов

Tasks List

Request URI

All requests you must send using GET or POST to this URI:

https://ping-admin.com/?a=api&sa=tasks&[other parameters described below]

Request Parameters

api_key
Required: Yes.
Value: Your unique API key, which you can find in your profile.
Example:
https://ping-admin.com/?a=api&sa=tasks&api_key=6e59663b2ce62ac378be24bc30f48b95946
task_id
Required: no.
Value: ID of the tasks if you want to receive only information about selected tasks (not about all tasks).
Example:
https://ping-admin.com/?a=api&sa=tasks&task_id=3

Response

[{"last_data":"2010-04-29 12:00:04","log_data":"2010-04-29 11:15:07","log_status":1,"name":"ping-admin.com","nazv":"","period":2,"sb":0,"sb_log_data":null,"sb_log_status":1,"status":1,"tasks_ims_icq_list":[],"tasks_ims_jabber_list":[{"name":"demo@ping-admin.com"}],"tasks_mails_list":[{"name":"demo@ping-admin.com"}],"tasks_phones_list":[{"fio":"","name":"79871234567"}],"tid":1,"tip":"http (get)","uptime_nw":0,"uptime_w":2548780},{"last_data":"2010-04-29 12:00:05","log_data":"2010-04-29 11:16:18","log_status":1,"name":"sms-form.ru","nazv":"Сервис Email 2 SMS","period":5,"sb":0,"sb_log_data":null,"sb_log_status":1,"rk":0,"rk_ip":0,"rk_log_data":null,"rk_log_status":1,"status":1,"tasks_ims_icq_list":[{"name":"000000000"}],"tasks_ims_jabber_list":[],"tasks_mails_list":[{"name":"test@ping-admin.com"}],"tasks_phones_list":[{"fio":"","name":"79871234567"},{"fio":"","name":"79991112233"}],"tid":2,"tip":"http (head)","uptime_nw":0,"uptime_w":2548778},{"last_data":"2010-04-29 12:00:05","log_data":"2010-04-29 11:40:18","log_status":1,"name":"gmail.ru","nazv":"Mail","period":10,"sb":0,"sb_log_data":null,"sb_log_status":1,"status":1,"tasks_mails_list":[{"name":"demo@ping-admin.com"},{"name":"proverka@ping-admin.com"}],"tid":3,"tip":"http (head)","uptime_nw":5,"uptime_w":2548754}]

Response Parameters

tid
Type: integer.
Value: ID of task.
tip
Type: string.
Value: type of check.
name
Type: string.
Value: URL or IP of checked service without “http://”.
nazv
Type: string.
Value: name of task.
period
Type: integer.
Value: how often perform the checks (for example, 20 means every 20 minutes check).
log_status
Type: integer.
Value: 1 — checked service is online; 0 — checked service is down.
log_data
Type: date and time in format YYYY-MM-DD HH:MM:SS (using time zone from your profile).
Value: date and time of last “log_status” change.
sb
Type: integer.
Value: 1 — virus check is on; 0 — virus check is off.
sb_log_status
Type: integer.
Value: 1 — no viruses found at last check; 0 — virus found at last check (actual only if “sb” has value 1).
sb_log_data
Type: date and time in format YYYY-MM-DD HH:MM:SS (using time zone from your profile).
Value: date and time of last “sb_log_status” change.
rk
Type: integer.
Value: check the site in blacklists (Spamhaus, Roskomnzdzor, etc.): 0 — don't check, 1 — check; only for tasks with types HTTP, HTTPS, Ping.
rk_ip
Type: integer.
Value: 0 — search in Roskomnadzor blacklist IP, domain, path; 1 — search in Roskomnadzor blacklist only domain and path (don't search IP); only if parameter  “rk” has value 1.
rk_log_status
Type: integer.
Value: 1 — not found in blacklists at last check; 0 — found in Spamhouse, Roskomnadzor or other blacklists.
rk_log_data
Type: date and time in format YYYY-MM-DD HH:MM:SS (using time zone from your profile).
Value: date and time of last check in blacklists.
status
Type: integer.
Value: 1 — task is on; 0 — tasks is off, no checks.
last_data
Type: date and time in format YYYY-MM-DD HH:MM:SS (using time zone from your profile).
Value: date and time of last check.
tasks_mails_list
Type: array.
Value: array of emails which used to send alerts.
name
Type: string.
Value: email.
tasks_phones_list
Type: array.
Value: array of phones for SMS which used to send alers.
fio
Type: string.
Value: name of the phone owner.
name
Type: string.
Value: phone number in format [country code][city or area code][phone number] (for example: 79871234567).
tasks_gphones_list
Type: array.
Value: array of phones for calls which used to send alers.
fio
Type: string.
Value: name of the phone owner.
name
Type: string.
Value: phone number in format [country code][city or area code][phone number] (for example: 79871234567).
tasks_ims_telegram_list
Type: array.
Value: array of Telegram ID which used to send alerts.
name
Type: string.
Value: Telegram ID (you can find it in “Alerts / Telegram, Viber, Skype, etc.”).
tasks_ims_icq_list
Type: array.
Value: array of ICQ numbers which used to send alerts.
name
Type: string.
Value: ICQ number.
tasks_ims_skype_list
Type: array.
Value: array of Skype ID which used to send alerts.
name
Type: string.
Value: Skype ID (you can find it in “Alerts / Telegram, Viber, Skype, etc.”).
tasks_ims_jabber_list
Type: array.
Value: array of Jabber which used to send alerts.
name
Type: string.
Value: address in Jabber.
tasks_https_list
Type: array.
Value: array of URL to send alerts via HTTP.
name
Type: string.
Value: URL.
rss
Type: string.
Value: URL of RSS with last info about this task.
uptime_nw
Type: integer.
Value: total minutes this service was down.
uptime_w
Type: integer.
Value: total minutes this service was up.

← Back to API sections




Регистрация • Наши возможности • Наши точки мониторинга • Новости • Тарифы и способы оплаты • Акции и скидки

Бесплатные проверки: Детальная разовая проверка сайта • Ping • Traceroute • Проверка обратных ссылок • Проверка ИКС • Регулярная проверка сайта • Мой IP

Рейтинг хостингов • Рейтинг фотохостингов

Реклама на сайте • Партнёрская программа • Наши логотипы

Поддержка • Частые вопросы • Форум • API • Интеграции


© Ping-Admin.Com 2009–2024
Концепция, программирование и дизайн проекта — «Седжин»
Ping-Admin.Com — проверка работоспособности сайта