When One Box Fails: What Keeps Running and What Goes Dark

Key Takeaways
  • A PoE switch is a single point of failure that does two jobs at once, so when it fails you lose both the data path and the power to every device on it, and the whole site goes dark in one event.
  • Draw a failure map for the site: a sensor failure costs one measurement, while a switch, power supply, uplink or gateway failure is total, and the total failures are the ones that deserve redundancy or a spare.
  • Give the switch a second power path with a dual input or a UPS sized for the whole cabinet, run two uplinks on different physical paths, and test the failover deliberately on a quiet day.
  • Leave spare ports and at least a quarter of the PoE power budget unused, keep a pre-configured spare switch on site, and label every cable with a diagram on the cabinet door.
  • Run a failure drill once a year and after any cabinet change: pull the power, pull the uplink, restart the gateway, and record what actually happened.
Table of contents

    One box failed on a Tuesday afternoon. Everything went dark.

    The call came from a greenhouse complex an hour outside the city: the whole monitoring system had gone silent at once. The dashboard showed every sensor flatlined at the same minute — soil probes, weather station, CO2, the lot. The grower assumed the internet was down, then the power, then the gateway. It was none of those. The mains was fine, the gateway was fine, and the sensors were fine. What had failed was a single small box in a cabinet in the corner of the packing shed: the PoE switch that powered every camera and sensor on the site. One power supply inside that box had died, and with it went the power to every device on the network, the data from every sensor, the alarms, and the grower's ability to see what was happening in his own greenhouses. The switch cost a fraction of the sensor system it served. It took the whole system down with it, and it took a day to replace because nobody had a spare.

    That is a single point of failure: one component whose failure stops everything, and it is the most common structural weakness in sensor networks, because it is invisible while everything works. This article explains how to find the single points of failure in a sensor site, what keeps running and what goes dark when each one fails, and the cheap redundancy that turns a day-long outage into a ten-minute swap.

    What a single point of failure is — and why one box takes everything down

    A sensor network is a chain: sensors, cables, a switch, a gateway, a power supply, a network uplink. The chain is only as strong as its weakest link, and in most small installations the weakest link is not a sensor in the field but a shared piece of infrastructure in a cabinet. A PoE switch is a classic example, because it does two jobs at once: it carries the data between the sensors and the gateway, and it supplies the power to the sensors themselves. When it fails, you lose both the data path and the power path in a single event, which is why the dashboard flatlines completely rather than losing one sensor at a time.

    The way to think about it is to draw the failure map: for each component, ask what stops working if it fails, and how long the outage lasts. A sensor that fails costs you one measurement. A cable that fails costs you the devices beyond it. A switch that fails costs you everything on it. A power supply that fails costs you everything it feeds. The components whose failure is total are the ones that deserve redundancy, a spare, or at least a plan — and the plan costs far less than the outage.

    Choosing the switch and the power: what actually protects you

    The first decision is the switch itself. An unmanaged switch is simple and cheap, and for a small, fixed installation it is often enough — but it gives you no visibility: no per-port status, no warning when a port starts dropping packets, no way to power-cycle a single port remotely. A managed switch costs more, but it tells you what is happening: which ports are up, which are drawing power, which are erroring. That visibility is what turns a mysterious total outage into a diagnosis in minutes. For a site that matters — a greenhouse full of crop, a remote station a day's drive away — the managed switch pays for itself the first time it saves a site visit.

    The second decision is power redundancy. The most common failure in a switch is its power supply, and the cheapest protection is a second power path: a switch with a dual power input, or a small uninterruptible power supply in front of the cabinet, so a mains dip or a failed adapter does not kill the whole network. A UPS also buys you the minutes you need for a graceful response — an alarm out, a controlled shutdown — instead of a hard cut that can corrupt a gateway's configuration. Size the UPS for the real load: add up the power draw of everything in the cabinet, not just the switch, and leave headroom for the inrush when devices power back up.

    The third decision is the uplink. One cable from the switch to the router is a single point of failure, and it is also the cable most likely to be damaged — it runs through the building, past doors and machinery, and it is the one someone unplugs to charge a phone. Two uplinks, on different physical paths, with the switch and router configured to fail over, cost a second cable and a little configuration, and they remove the most accident-prone link in the whole installation. Where a second physical path is impossible, at least label the uplink clearly and protect it from casual interference.

    Installation pitfalls that create single points of failure

    The most common mistake is putting everything on one switch because it is tidy. One switch, one cabinet, one power supply, one uplink — it looks clean, and it fails cleanly too, all at once. Where the site allows it, split the load: critical sensors on one switch and the rest on another, or at least the most critical sensor — the one whose alarm matters most — on its own power path so that a switch failure does not also silence the alarm.

    The second mistake is the power chain. A UPS that protects the switch but not the gateway, or a gateway on a different mains circuit from the sensors, creates a partial outage that is harder to diagnose than a total one: the sensors are powered but the gateway is dark, or the gateway is up and the sensors are dead, and the dashboard shows a confusing half-picture. Power the whole chain — switch, gateway, and the sensors' power path — from the same protected supply, and test the whole chain on battery, not just the switch.

    The third mistake is heat. A small cabinet in a greenhouse or a packing shed gets hot, and heat is the slow killer of switch power supplies. A switch rated for an office that lives in a 40-degree cabinet will fail early, and it will fail in summer, when the crop needs the monitoring most. Check the temperature rating, ventilate the cabinet, keep it out of direct sun, and check the cabinet temperature on a hot afternoon rather than assuming it is fine.

    The fourth mistake is never testing the failure. A redundant power supply that has never been tested is a hope, not a redundancy. Pull the plug — on purpose, on a quiet day — and watch what happens: does the second supply take over, does the UPS hold, does the alarm reach you, does the gateway recover cleanly? The test takes ten minutes and it is the only way to know the redundancy works before the day it is needed.

    Verification: the failure drill

    Verification for resilience is a drill, not a reading. Once a year, and after any change to the cabinet, work through the failure map deliberately: unplug the switch's power supply and confirm the backup takes over; unplug the uplink and confirm the second path carries the traffic; power down the gateway and confirm it comes back with its configuration intact and its data flowing; pull one sensor's cable and confirm the rest of the network is unaffected. Record what happened, how long each recovery took, and what did not work — the drill that finds a dead UPS battery is worth far more than the UPS itself.

    Monitor the switch, not just the sensors. A managed switch reports port errors, power draw and temperature, and a rising error count on one port is an early warning of a failing cable or a dying device — the kind of warning that lets you replace a cable on a planned visit instead of losing a site on a weekend. Set an alert on the switch's own health, not only on the sensor data it carries, and check the cabinet on every site visit: temperature, dust, cable condition, the UPS battery's age. A UPS battery older than its rated life is a single point of failure wearing a disguise.

    Troubleshooting

    Symptom Likely cause How to check
    Every sensor flatlines at the same minute Shared infrastructure failed — switch, its power supply, or the uplink Check the switch's power and status lights first, then the uplink cable, then the gateway; work from the shared components inward
    One sensor drops out whenever a new device is added PoE power budget exhausted; the switch sheds the hungriest port Add up the power draw of all ports and compare with the switch's budget; leave at least a quarter of the budget unused
    Switch dies on hot afternoons and recovers at night Overheating in an unventilated cabinet, or a power supply derated by heat Measure the cabinet temperature on a hot afternoon; ventilate the cabinet and check the switch's temperature rating
    Network works but the gateway loses its configuration after a power cut Gateway on unprotected power, or a hard cut corrupting its storage Put the gateway on the same UPS as the switch; test a controlled power cut and confirm the configuration survives
    Redundant uplink does not take over when the primary is unplugged Failover never configured, or both uplinks share the same physical path and the same fault Test the failover deliberately on a quiet day; confirm the two uplinks take genuinely different routes
    Replacement switch takes a day because nobody has a spare or a configuration No spare held, no documented port plan, no backed-up configuration Keep a pre-configured spare on site, label every cable, and file the configuration with the cabinet diagram

    Checklist: removing the single points of failure

    • Draw the failure map: for each component, list what stops working if it fails, and how long the outage lasts.
    • Give the switch a second power path — a dual-input switch or a UPS — and size the UPS for the whole cabinet, not just the switch.
    • Run two uplinks on different physical paths, and test the failover by unplugging the primary on a quiet day.
    • Leave spare ports and at least a quarter of the PoE power budget unused.
    • Split the load where the site allows: keep the most critical sensor on its own power path.
    • Keep a pre-configured spare switch on site, and update its configuration whenever the live switch changes.
    • Label every cable, put a diagram on the cabinet door, and file a copy of the switch configuration away from the cabinet.
    • Ventilate the cabinet, keep it out of direct sun, and check its temperature on a hot afternoon.
    • Monitor the switch itself — port errors, power draw, temperature — and set alerts on its health, not just on the sensor data.
    • Run the failure drill once a year and after any cabinet change: pull the power, pull the uplink, restart the gateway, and record what actually happened.

    A sensor network does not fail one sensor at a time when its shared infrastructure goes. It fails all at once, silently, and usually on the day the data matters most — and the fix is rarely expensive: a second power path, a second uplink, a spare on the shelf, and a drill that proves they work. The switch at the centre of that cabinet, and of this article, is the Mini Industrial 10-Port Gigabit PoE Switch — 12–48 V DC Input, the kind of compact industrial switch that powers the sensor and camera networks described here.

    Need help choosing the right sensor?

    Our engineers can help you pick the right model, check compatibility, and get your installation right the first time.

    Mini Industrial 10-Port Gigabit PoE Switch 12–48V DC InputMini Industrial 10-Port Gigabit PoE Switch 12–48V DC InputView product →
    Email our engineers Contact us
    Back to blog

    Leave a comment

    Please note, comments need to be approved before they are published.