Applies To:

Zend Server
Monitoring Feature

Summary:

When you access the Zend Server UI with HTTPS://HOSTNAME:10082/ZendServer, you would probably like to have Monitor Event Emails link back to the HTTPS access (default port 10082) and not HTTP (default port 10081).

Configuration of the Zend Monitor GUI URL only allows you to set the Zend Server GUI HOSTNAME / IP address, which is then being automatically wrapped by HTTP://<HOSTNAME>:10081/ZendServer

Workaround:

Backup and edit this email template file>

Linux / Mac: /usr/local/zend/gui/data/email-templates/event.phtml

Windows: C:\Program Files (x86)\Zend\ZendServer\gui\data\email-templates\event.phtml

IBM i: /usr/local/zendsvr6/gui/data/email-templates/event.phtml

The original content uses this back link to the event details:
<a href='<?php echo $baseUrl . '/Issue?issueId=' . $eventGroup->getIssueId(); ?>'>

To make explicit URL prefix, add this line in the beginning of the template file:
<?php $baseUrl='https://<hostname>:10082/ZendServer'; ?>


Hint:  If you automate this change on all your Zend Server installation, you can grab the machine <hostname> using PHP, and make this line Generic.

Result:

This template modification will make the links in your Monitor Events notification emails point back to the correct HTTPS URL.

Note: A future fix is planned. 


  • No labels