Trigger dependencies
We now have one service being watched. There are some more being monitored, so now we can try to create a trigger for an HTTP server. Let's assume that our host runs software that is a bit weird. The web service is a web email front-end, and it goes down whenever the SMTP server is unavailable. This means that the web service depends on the SMTP service.
Go to Configuration
| Hosts
, click on Triggers
next to Another host
, and then click on Creat
e trigger
. Fill in the following values:
Name
:Web service is down
.Expression
: Click onAdd
, and then again onSelect
next to theItem
field. Make sure thatLinux servers
is selected in theGroup
drop-down andAnother host
in theHost
drop-down, and then click onWeb server status
in theName
column. Both the function and its parameter are fine, so click onInsert
:

This inserts the{Another Host:net.tcp.service[http,,80].last()}=0
expression.
Severity
: The value of this field should beAverage
.Description
: Trigger expressions can get...