---
title: "How to detect if a named row is missing from a dataview"
description: "Detecting if a named row is missing from a dataview involves using the sampler's expectRows setting. This setting helps monitor row presence by marking absent rows in the Availability column and triggering alerts accordingly."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004021925-geneos-how-to-detect-if-a-named-row-is-missing-from-a-dataview/index.html"
---
## Expect Rows

This is done by configuring the sampler's [expectRows](https://docs.itrsgroup.com/docs/geneos/current/processing/configuration/gateway_samplers/index.html#Expect_Rows) setting and creating a rule that targets the *Availability* column.

## Use case

For example, there is this requirement:

1. To monitor if the servers are offline or online and
2. The number of servers needed to be monitored is 6. These servers are *lassie*, *lawin*, *pugo*, *pabo*, *maya*, and *agila*.

After configuring a sampler, it only extracted the status of 4 servers:

![No expect rows](https://docscdn.itrsgroup.com/faq/images/geneos/115004021925-inline-1-no_expect_rows.png)

However, the requirement is to monitor 6 servers. The *expectRows* setting adds another layer of monitoring by checking if a row is **present** or **absent**. By configuring this, the 2 other servers appear on the dataview but their *Availability* column has a value of **absent**:

![With expect rows](https://docscdn.itrsgroup.com/faq/images/geneos/115004021925-inline-2-with_expect_rows.png)

The user can now be alerted of the status of the servers and if the servers are being monitored (aka present).

## Reference

- [Sampler configuration](/faq/downloads/geneos/115004021925-inline-attachment-1-sampler.xml)
- [Rule that monitors the status column](/faq/downloads/geneos/115004021925-inline-attachment-2-monitor_status_column.xml)
- [Rule that monitors the Availability column](/faq/downloads/geneos/115004021925-inline-attachment-3-monitor_availability_column.xml)

## Related downloads

- [sampler.xml](/faq/downloads/geneos/115004021925-6871484791325-sampler.xml)
- [monitor_availability_column.xml](/faq/downloads/geneos/115004021925-6871508504477-monitor_availability_column.xml)
- [monitor_status_column.xml](/faq/downloads/geneos/115004021925-6871508506141-monitor_status_column.xml)


