A new checkbox in the annotation configuration form allows to prefix the hostname to the title used in the annotation. This option is relevant for people not stating the hostname in their triggers. Within Zabbix, the hostname would be shown redundantly everywhere, except in notifications.
43 lines
1.5 KiB
HTML
43 lines
1.5 KiB
HTML
<div class="editor-row">
|
|
<div class="section">
|
|
<h5>Zabbix trigger
|
|
</h5>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="editor-row">
|
|
<div class="editor-option">
|
|
<label class="small">Group</label>
|
|
<input type="text" class="input-medium" ng-model='currentAnnotation.group'></input>
|
|
</div>
|
|
<div class="editor-option">
|
|
<label class="small">Host</label>
|
|
<input type="text" class="input-medium" ng-model='currentAnnotation.host'></input>
|
|
</div>
|
|
<div class="editor-option">
|
|
<label class="small">Trigger
|
|
<tip>Trigger name for search. Wildcards are supports. Examples: Lack of free swap space, Lack of*.
|
|
</tip>
|
|
</label>
|
|
<input type="text" style="width: 25em" ng-model='currentAnnotation.trigger' placeholder="Trigger name"></input>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="editor-row">
|
|
<div class="section">
|
|
<h5>Options</h5>
|
|
<input type="checkbox" class="cr1" id="currentAnnotation.showOkEvents"
|
|
ng-model="currentAnnotation.showOkEvents"
|
|
ng-checked="currentAnnotation.showOkEvents">
|
|
<label for="currentAnnotation.showOkEvents" class="cr1">Show OK events
|
|
<tip>Show events, generated when trigger release to OK state</tip>
|
|
</label>
|
|
<input type="checkbox" class="cr1" id="currentAnnotation.showHostname"
|
|
ng-model="currentAnnotation.showHostname"
|
|
ng-checked="currentAnnotation.showHostname">
|
|
<label for="currentAnnotation.showHostname" class="cr1">Show hostname
|
|
<tip>Show the hostname the event belongs to</tip>
|
|
</label>
|
|
</div>
|
|
</div>
|