fix status
This commit is contained in:
parent
dfbff8b44e
commit
6e49ef0208
@ -86,7 +86,8 @@ class UptimeRobotMonitorService extends UptimeRobotService
|
|||||||
'http_username' => $monitor->getHttpUsername(),
|
'http_username' => $monitor->getHttpUsername(),
|
||||||
'http_password' => $monitor->getHttpPassword(),
|
'http_password' => $monitor->getHttpPassword(),
|
||||||
'alert_contacts' => $alertContactsString,
|
'alert_contacts' => $alertContactsString,
|
||||||
'mwindows' => ''
|
'mwindows' => '',
|
||||||
|
'status' => $monitor->getStatus()
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} catch (\Vdhicts\UptimeRobot\Client\Exceptions\FailedRequestException $exception) {
|
} catch (\Vdhicts\UptimeRobot\Client\Exceptions\FailedRequestException $exception) {
|
||||||
@ -138,7 +139,8 @@ class UptimeRobotMonitorService extends UptimeRobotService
|
|||||||
'interval' => $monitor->getInterval(),
|
'interval' => $monitor->getInterval(),
|
||||||
'http_username' => $monitor->getHttpUsername(),
|
'http_username' => $monitor->getHttpUsername(),
|
||||||
'http_password' => $monitor->getHttpPassword(),
|
'http_password' => $monitor->getHttpPassword(),
|
||||||
'mwindows' => ''
|
'mwindows' => '',
|
||||||
|
'status' => $monitor->getStatus()
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!empty($alertContactsString)){
|
if (!empty($alertContactsString)){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user