---
title: "Understanding device states"
description: "What Up, Warning, Down and Unknown actually mean in NetSense, how to read each state during an incident, and the stale-data caveat on unreachable devices."
---

> Documentation Index
> Fetch the complete documentation index at: https://netsense-nms.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Understanding device states

Every monitored device carries a state: **Up**, **Warning**, **Down** or **Unknown**. The
state is not a guess, it's the combination of two independent checks the NetSense agent runs
continuously against the device: **ping** (ICMP reachability) and **SNMP** (management-plane
response).

![Up means ping and SNMP both answer; Warning means exactly one of the two is failing; Down means both ping and SNMP are failing](https://netsense-nms.com/docs/_nimbus/md/1uhzwpr/device-states.svg)

| State | Ping | SNMP | Meaning |
| --- | --- | --- | --- |
| Up | loss under 20% | answering | Fully reachable and polling normally. |
| Warning | see below | see below | Partially reachable, or sustained partial packet loss. |
| Down | loss 90% or more | no replies | Unreachable on both paths. |
| Unknown | no data | no data | NetSense has no state for the device yet, typically right after it is added. |

A device is **Warning** when:

- ping answers (loss under 90%) but SNMP gets no replies,
- SNMP answers but ping loss is 90% or more,
- packet loss is between 20% and 90% on two polls in a row, or
- only one of the two checks has reported so far.

A single poll with partial loss leaves the state as it was.

Generic devices have no SNMP, so their state comes from ping alone: Up at 20% loss or less,
Warning above 20%, Down at 90% or more.

The important subtlety: **Warning is a distinct diagnostic signal, not a milder shade of
Down.** A Warning device is usually answering on one path, and *which* path is still alive
tells you where to look.

## Reading a Warning

**Ping OK, SNMP failing** (the common case):

- The device is powered and the network path works, but the management plane isn't
  answering: an SNMP ACL not permitting the agent's IP ([the most common onboarding
  issue](https://netsense-nms.com/docs/troubleshooting/device-not-polling-snmp/)), a wrong community, a v3-only
  configuration, or an SNMP daemon that stopped responding.
- On Huawei switches under a broadcast/ARP storm, control-plane protection (CPCAR) throttles
  the switch's own SNMP responses while forwarding still works, so a whole group of switches
  going SNMP-dark simultaneously usually indicts the shared L2 segment, not the switches.
- High CPU on the device can starve SNMP too, check the CPU alarms.

**SNMP OK, ping failing** is rarer and usually means ICMP is being filtered or rate-limited
somewhere on the path while UDP still flows.

**Both answering, but with 20-90% packet loss** points at a lossy path or a congested or
rate-limited management VLAN. The **Packet Loss** alarm carries the loss figure.

## Reading a Down

Both checks failing means the agent cannot reach the device at all. Before concluding the
device itself died, remember a whole-site outage has two classic causes: **power and
fiber**, and both take everything behind them down together. Check whether neighboring
devices at the same site dropped at the same minute; a simultaneous cluster points at the
uplink, ring or site power rather than at any single box.

## The stale-data caveat

When a device is Down or SNMP-dark, everything NetSense shows for it beyond the state
itself is the **last known data** from before it went unreachable: port statuses, uptime,
temperatures, ONU lists. A port shown "Up" on a Down switch is not live information.

Only trust port states and readings on devices that are currently Up. During an incident,
work from the **active alarms and the last 24 hours of alarm history**: alarm timestamps
(when packet loss opened, when SNMP timed out) are the reliable timeline of what happened
and when.

## Timing expectations

- State follows the polling cycle: after a device dies or recovers, allow a couple of
  minutes for the state to reflect it, and a moment longer for dashboards to refresh.
- Alarms attached to state (device down, SNMP timeout, packet loss) additionally respect
  any [alarm delay you configured](https://netsense-nms.com/docs/guides/alarm-timing/), so a 5-minute delay means
  5 quiet minutes by design.
- The **uptime bar** under the device name shows the device's state history (green Up,
  amber Warning, red Down) for the last 24 hours, 7 days or 30 days. To tell the ping leg
  from the SNMP leg, use the latency and packet loss chart and the **Timeout (PING)** and
  **Timeout (SNMP)** alarms.

Source: https://netsense-nms.com/docs/guides/device-states/index.mdx
