---
title: "How to add a service dependency"
description: "Service dependencies in OP5 allow you to link one service's status to another to avoid redundant alerts. You can configure dependencies by selecting the host and service, setting the dependency criteria, and saving the changes carefully."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020252973-op5-monitor-how-to-add-a-service-dependency/index.html"
---
## Why would you want to do this?

Sometimes you want to have dependencies on certain services. For example, some network traffic depends on that a certain port is up and configured correctly. Or maybe a shared disk you are monitoring depends on that the SAN is up and working. If the port is down, you probably only want a notification from the port status and not about the traffic as well. And you don't want a notification about the shared disk if the SAN is not working correctly.

## Choosing the service that is going to depend on another service

Go to Configure

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.23.54.png)

Choose the host on which the service is set on.

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.26.46.png)

And click Go

Go to services for host [host]

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.27.36.png)

Choose the service from the drop down menu and click "go"

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.30.48.png)

Click on Dependencies

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.32.22.png)

At the top bar you see the service, which will depend on another service.

At the New Servicedependency page, choose the service that you want to depend on.

Choose the dependency period.

You can edit what kind of failure criteria that is necessary for the dependency to work.

Click Submit.

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.36.14.png)

Now you see that the service you chose from the beginning depends on the service dependency you edited right now.

![OP5 Monitor - How to add a service dependency](https://docscdn.itrsgroup.com/faq/images/op5/360020252973-12190188-Screen-Shot-2014-12-02-at-09.38.44.png)

Save your work.

## Caveats

- Remember that adding a service dependency on a host group service will result in all hosts in that host group inherits the service dependency. The dependancy is added to all hosts in the same host group.
- Be very cautious when adding a service dependency. Be sure that it is the right service and the right hosts are involved. For example, in this how-to we wouldn't want the service "IF 2 eth0 Traffic" to depend on **another** switch's "IF 2 eth0 status".


