setDescription(<<< MSG Foo Click there

Beer

    while(thirsty()) {
        drink(\$beer);
    }
Simple Text is also fine you can do some line brakes. Like this. MSG ); $alert->appendTag('foo')->appendTag('bar'); $request = new CreateAlertRequest($alert); $_ = $client->createAlert($request); var_dump( $_->isSuccessful(), $_->getStatusCode(), $_->getMessage(), $_->getRequestId() ); if (!$_->isSuccessful()) { exit; } $request = new GetAlertRequest('test-alert'); do { usleep(1000000); $alertResponse = $client->getAlert($request); $alert = $alertResponse->getAlert(); } while ($alert === null); echo "Waiting for escalation\n\n"; sleep(3); var_dump( $alert->getAlias(), $alert->getEntity(), $alert->getSource(), $alert->getPriority(), $alert->getMessage(), $alert->getTags(), $alert->getResponders(), $alert->getDescription() ); $request = new CloseAlertRequest($alert->getAlias()); $_ = $client->closeAlert($request); var_dump($_->isSuccessful()); $request = new CloseAlertRequest('gibt-es-nicht'); $_ = $client->closeAlert($request); var_dump($_->isSuccessful());