Skip to content
RackTraceDocs

Network monitoring

On this page

RackTrace monitors every network device that discovery finds — switches, routers, firewalls, gateways and access points — without anyone making a check. Open Monitoring for the workspace of the tenant: the network map in the middle, the chosen device in detail beside it and the alerts below, on one screen.

What is monitored#

A device is monitored because a discovery source reports it: a UniFi site, Meraki network, FortiGate, Auvik tenant or JSON feed linked to the tenant, or a scanner of the tenant. Monitoring starts at the next sync; nothing has to be set up.

  • Which devices: switches, routers, firewalls, gateways and access points. Servers, printers and cameras are not monitored (yet). A device you ignore under Discovery is not monitored either.
  • One device, several sources: a switch that UniFi and the scanner both report is one monitored device. Rows of several sources join when they are linked to the same documented device or report the same MAC address. Our own scanner measures it; the controller fills in (see Scanner first).
  • Leaving: a device a controller no longer lists, or one the scanner has not reached for 30 days, is no longer monitored. Its history and incidents stay; when it comes back, it is the same monitored device again.
  • Another tenant: a scope that is linked to another tenant (or to none) takes its monitoring with it at once.
  • Limits: at most 500 monitored devices per tenant (routers first, then switches, then access points) and 64 watched ports per device. The workspace says when a tenant reaches a limit.
  • Your plan: on racktrace.io your plan sets how many devices are monitored, in all tenants together (Team 100, MSP 1,000, Enterprise as agreed). A device that is monitored stays monitored, also when the plan's number is lowered. Above the number, a new device is documented but not monitored: the workspace says N devices not monitored — plan limit of your plan. When there is room again, the next discovery sync monitors them: routers first, then switches, then access points, then the device found first. From 80% of the number, the workspace warns administrators. Switching monitoring on for a tenant while every place is in use is refused. Your usage is under Administration → Billing.

Switch monitoring off for a tenant under Monitoring → Settings. Nothing of that tenant is then measured, and its open alerts are closed without a mail.

How a device is measured#

  • By a controller (UniFi, Meraki, FortiGate, Auvik, a JSON feed): what it reports is the measurement — online or offline, and every port up or down. That comes with every sync. UniFi and Meraki are also asked for the state of their devices every 2 minutes between their syncs (one call per account or organization), so an offline device is noticed within minutes. A device the controller has as offline gives no port measurement: its ports are as they were.
  • By the scanner (SNMP): every minute, one SNMP read per device of its system and its whole interface table (status, speed, traffic, errors and discards; at most 512 interfaces), and its uptime. Agent 1.7.2 or newer also reads when each interface last changed state and its duplex. A device that does not answer SNMP is pinged: if it answers, it is up and its SNMP problem is shown; if not, it is down. The interfaces need RackTrace Agent 1.4.0 or newer; with an older agent the device is unknown, with that reason. In the same SNMP read, every 5 minutes, agent 1.5.0 or newer also reads the device's health and the tenant's custom OIDs (see Load, errors and health).
  • By the scanner, by ping and SSH (agent 1.8.0 or newer): a network device without SNMP that the scanner reads over SSH — say a switch the UniFi controller knows — is pinged every minute: up or down. Its interfaces, neighbours and VLANs come from SSH, every few hours; its ports are not watched every minute.

SNMP credentials are those set under Credentials, or those of the tenant's SNMP scan: they are encrypted in RackTrace and only sent to that scanner — from agent 1.7.0 sealed for its own key. Prefer SNMPv3 with authentication and AES privacy, read-only.

Scanner first, integrations fill in#

Monitoring starts from your own scanner. Integrations that need a login (UniFi, Meraki, FortiGate, Auvik, NetBird, a JSON feed) add what the scanner cannot see. They never get the scanner's credentials.

  • The scanner measures every device it reads over SNMP: status, interfaces and health, every minute, from the customer's own network. A device that UniFi and the scanner both see is measured by the scanner.
  • The integration measures what the scanner cannot: a site without a scanner, a tenant without a scanner, and a device that gives no SNMP — most UniFi equipment by default, which the scanner only sees as a host on the network. Nothing changes for a tenant without a scanner. Once the scanner reads such a device over SSH, the scanner measures it after all (by ping): the order is SNMP, then SSH, then the integration.
  • What the integration still adds while the scanner measures: the links it reports (uplinks, LLDP) for the map and the watched ports, the documented cables found through its ports, and its own state of the device (online, offline, or another state such as upgrading). That state is shown in the device panel under Also reported by and on the incident page. Discovery keeps everything else it reports (clients, PoE, firmware).
  • When they disagree, the scanner decides. If the scanner cannot reach a switch that UniFi reports online, the switch is down and gets an alert. It works the same the other way round: a device the scanner reaches is up, even when the controller has it offline. Either way, the device panel and the incident page show what the other source reports. The scanner sees the network as the customer's own devices do, while a controller can still hear a device over another path or report late.
  • The source does not switch during an outage. The scanner only takes a device over when its last scan reached it. A device the scanner does not reach while UniFi has it online stays with UniFi. A device the scanner already measures stays with the scanner when a scan no longer reaches it: it is down by the scanner's own measurement.
  • When the scanner takes over (a scanner is added, or this order came into use): the device stays the same monitored device, with its history. An open alert goes along. If the scanner sees the failure too, it stays one alert, with no new mail. If the scanner finds the device or port up, the alert recovers. Whoever had the open mail gets the recovery mail, and it gives the reason: measurement handed over to the scanner, which sees it up. A watched port, site or alert that has no counterpart under the new measurement (an uplink the scanner does not see, a site that two scanners now cover, a load alert the controller cannot measure) is closed: its recovery mail says it is no longer watched this way, and why. Each alert gets one open mail and one recovery mail. The same happens the other way round when a scanner goes away.

Watched ports#

Not every port is watched: a client port that goes down when someone shuts a laptop is no alert. Watched are:

  • the links between two monitored devices — from LLDP/CDP, the uplinks a controller reports, and documented cables between two network devices; one side per link (the side of the device that comes first in the topology);
  • a device's own uplinks that lead to no monitored device (the internet, an unmanaged switch).

The device panel shows every interface; the watched ones come first, with what is behind them.

Load, errors and health#

The scanner measures more than up or down:

  • Load, errors and discards of every interface, every minute, from its counters (64-bit where the device has them): traffic in and out, the share of the link speed, errors and discards in and out. Now as a number per second (as a switch shows them); in the charts and the thresholds per minute, the interval they are measured in. Every interface that is up gets a chart; only the watched ports alert, so a client that fills its own port is no alert.
  • Health every 5 minutes: CPU, memory, temperature, fans, power supplies and the PoE budget. RackTrace reads the standard MIBs every vendor may have (HOST-RESOURCES, ENTITY-SENSOR, POWER-ETHERNET) and the vendor's own MIB for Cisco, HPE/Aruba, MikroTik and Fortinet. For fans, power supplies and temperatures the device's own judgement counts: a fan it reports failed, a sensor it reports too warm.

What a device does not report is shown as not reported by this device, greyed, without a check or an alert: a switch without ENTITY-SENSOR has no temperature, not a temperature problem. A value that could not be read this time (a lost packet, a time-out) is unknown, never down: its check and an open alert stay, and it is read again the next round. A value the device reported before and then returns empty is unknown the first time; empty again at the next reading, it counts as not reported: its check goes and an open alert on it is closed without a mail (about 10 to 15 minutes after the first empty reading). It is asked again after 6 hours; when the device reports it again, the check comes back. UniFi devices give over SNMP what the standard MIBs give; their health through the UniFi controller comes later.

RackTrace only reads from a device (GET, GETNEXT and GETBULK): the agent has no code that writes to a device.

An interface in detail#

Choose an interface in the device panel for everything about that port:

  • State and since when: up, down or switched off, and since when according to the device itself (ifLastChange; "since the restart" when it has not changed since). Speed and duplex (full or half, from the EtherLike-MIB). Both need agent 1.7.2; with an older agent the device panel says "from scanner 1.7.2" instead.
  • Traffic, errors and discards in and out, now, and as charts over 24 hours, 7 or 30 days (load, errors, discards) with the thresholds of a watched port. Errors and discards are kept per direction only for a port that has any, so a healthy port costs nothing extra; before this version only their sum was kept, shown as In + out.
  • VLANs: the untagged VLAN (PVID) and the tagged ones. Clients: the MAC addresses in the port's MAC table (and LLDP neighbours that are no network device), with their IP address from the ARP table, their name and their vendor (from the MAC address) where known. A port towards another switch has no clients: its MAC table holds a whole network.
  • VLANs and clients come from discovery, not from the minute's measurement: the device panel says from which scan and how long ago. Reading every MAC table every minute would cost thousands of rows per switch per minute.

The list of interfaces shows the same in short: errors and discards per second, the VLANs and the number of clients.

Per device the panel shows its uptime (sysUpTime) and its last restarts: an uptime that went back is a restart, marked in the strip of the last 24 hours and listed with how long the device had been up. The 32-bit uptime of SNMP starts again at zero after about 497 days without a restart; that is recognised and is no restart. A restart while the scanner could not reach the device is seen too: the device then started after the last measurement. The device's page shows its uptime and links to its interfaces.

One failure, one alert#

WhatAlert
A device does not answer (3 measurements by the scanner, or the first report of a controller)Critical, resolved after 2 good measurements
A watched port is down while the devices on both ends still answer (4 measurements, or one report)Warning: lost redundancy
At least 80% of at least 3 devices of one site go offline at onceOne critical alert for the site

RackTrace knows how the devices hang together (from LLDP, uplinks and documented cables) and uses that so one failure is one alert:

  • A device behind a device that is down gets no alert of its own: a switch fails, the access points behind it are shown hollow, as unreachable behind the switch. If one is still down once the switch is back, it gets its own alert then.
  • A port to a device that is down is no extra alert: a dead access point is one alert, not also the switch port it was on.
  • A site that goes dark (power, the line) is one alert for the site.
  • A scanner or controller that stops reporting makes its devices unknown, never down, and sends no mail.

Unknown means RackTrace has no recent measurement or no trustworthy conclusion: nothing measured in three intervals, an agent that is too old, a controller that reports a state other than online or offline. It is never counted as downtime and never opens or closes an alert.

The workspace#

Monitoring is one screen for the tenant chosen at the top, with the network map in the middle:

  • Above the map: the sites of the tenant as buttons, each with the colour of its worst device (the map shows one site; it starts with the one that needs most attention), the counts (up, warning, down, unknown, not monitored — click one for the list of those devices), how fresh each scanner is, and Discovery and Settings. Under it the layers L1 Physical, L2 VLANs and L3 IP, the switches Load, End devices and Alerts, and Map | List.
  • The map, laid out by itself as a tree from the routers: each network device a tile with the icon of its role, in the colour of its status (a red glow when it is down, dashed when it is behind a device that is down or not monitored), its name and model under it, and a red count of its open alerts. Each link as thick as its speed (an aggregated link thicker, with a line through it) and coloured by how full it is — green below 50%, orange from 50%, red from the tenant's load threshold (90% by default), with the percentage from 50% — red and dashed when it is down, dotted when it is inferred from a MAC table or a controller's uplink, blue and dashed when only a documented cable says so, faded when only an old report shows it. The ports appear on the links of the device or link you chose. Links come from LLDP / CDP — also when the neighbour was found by another scan job — from the uplinks a controller reports and the MAC tables, and from documented cables. Drag to move; scroll, pinch on a touchpad or use the buttons to zoom; the map keeps where you were per site while it refreshes.
  • End devices: per network device one closed bundle beside it that says what is behind it (30 end devices · 20 PCs · 6 phones · 4 printers; behind an access point its Wi-Fi clients per VLAN). A click opens it into a block of at most 24, with the port of each; the panel lists them all. A map carries at most 5,000 end devices and says how many it left out.
  • L2 VLANs: the same map with on each link what it carries — U1 · T 10,20,30 (untagged 1, tagged 10, 20 and 30); ≠ when its two sides do not carry the same, VLANs unknown when no source reported them for that port (never "none"). Above the map a chip per VLAN of the site, with its name from the IP plan. Choose one to follow it: the links that carry it turn its colour, the rest and the devices without it dim, and each bundle counts only its members (6 on VLAN 30). Typing vlan 30 in the search field does the same. The VLANs come from what the sources report per port (the scanner over SNMP or SSH, UniFi, Meraki, FortiSwitch); an end device is in its own VLAN, else in the untagged VLAN of its port.
  • L3 IP: another layout. The internet on top (over the WAN link or default route a source reports), the gateways under it, and under each gateway its subnets as blocks — name, CIDR, VLAN, gateway and the number of hosts — in the colour of their VLAN. A subnet the sources report and the IP plan has is a plain block; one only the IP plan has is dashed and says not seen (documented, not seen); one the plan lacks says not in plan. A gateway no source names — RackTrace takes the only router of the source that reports the subnet — is drawn dotted and called inferred, with why; it is never shown as a fact. Another site that a route or a VPN reaches is a block on the right with its state; click it for that site. A VPN is drawn only where a source reports one (a FortiGate, UniFi or Meraki site-to-site tunnel), dashed and configured: no source measures whether a tunnel is up. Click a subnet for its panel: its hosts with where each is connected (switch and port, or Wi-Fi behind an access point) and Open in the IP plan.
  • Not on the map yet: a device that no source places — no link is known — is never drawn loose. It is in this tray at the top right of the map, with one line why (No LLDP read, Controller not linked, Only ping answers, Discovery no longer reports it …). Click it: the tab Sources says per reason what was tried, what came back and what fixes it — enable LLDP, link the controller, add credentials and test them, link it to its documented device. The overview of the site says how complete the map is (7 of 9 network devices placed).
  • The panel on the right shows what you chose, without leaving the page. A device has six tabs: Overview (its open alerts, 24 hours of availability, its health as tiles with a chart each, what it is connected to, its end devices, its checks, where it is documented, its facts), Interfaces (the front of the device, one square per port — up, down, not in use, towards a network device, overloaded; click a port for its state, speed, VLANs, neighbour, documented cable, clients and charts — then the busiest and every interface), Alerts (its open alerts with who they are assigned to, Acknowledge, Assign, Create ticket, Measure now and the incident page, its last incidents, Override for this device, Maintenance), Config (the configuration backup), Access (how RackTrace logs in: credentials, Test, the SSH host key, Fetch now) and Sources (who measures it and how fresh, what each source gave in its last scan — SNMP, LLDP and CDP neighbours, the MAC table, what SSH read, a port it shares with another network device; for a UniFi device which API answered (the Network API, only the official API — which has no LLDP — or only Site Manager) with its LLDP lines, uplink and wired clients — what other sources report of it, and why it is not on the map). Its head has Documentation, What if this fails (the simulation), Changes (the change log of discovery), Measure now and Maintenance. A link shows both sides with their ports, speed, load, VLANs (each side when they differ, and who would report them when they are unknown), how it is known and how fresh; an end device its addresses, VLAN and the port it is behind. With nothing chosen, the panel is the overview of the site: the counts, what needs attention, how complete the map is, and every source with its freshness and its silence mails.
  • The alerts in the drawer below, of every site of the tenant, the shown site first and newest first: severity, device, what, since when, state and who it is assigned to, Acknowledge, Assign, Ticket, Show on map (chooses the device and opens the tab of what the alert is about, a port on its port) and the incident page. Filter by site, by severity and by state — Open, Acknowledged, Assigned to me or Resolved (the alerts of the past); the filters are in the address too. Tick alerts (or all shown) to Acknowledge or Assign them at once. Fold the drawer to one line with the counts; on a laptop screen it starts folded. It lists up to 500 alerts and says when there are more.
  • Assign an alert to someone who takes care of it: everyone with access to the tenant can be chosen, and it is noted in the history (nobody gets a mail about it). Ticket makes a ticket in the ticket system with the alert, the link to it and its device (else its site) in it, the priority from the severity; you edit it before it is sent. It takes the tickets right and a tenant linked to a client.
  • Search: the field in the top bar (Ctrl K). On this page it searches the map while you type — by name, IP or MAC address (any notation), vendor or model, a kind (printers, access point), or vlan 30 (which also follows VLAN 30 on L2) — marks what it found, dims the rest and opens only the bundles with a match; the list under the field groups the network devices and end devices it found on this map (an end device with its switch and port, or Wi-Fi and its access point), those on the other sites, and those of the other tenants you have access to — monitored devices and end devices by name, IP or MAC address, vendor or kind. A hit in another tenant opens that tenant, its site and the device or end device on the map. Enter takes the first. At most 25 devices and 50 end devices are listed per search; type more to narrow it down. Elsewhere it searches the documentation as before, and lists Monitored devices and End devices of every tenant you have access to, each opened on the map of its tenant.
  • List instead of the map: every device of the site with its status and why, role, address, model, source, whether it is on the map and when it was measured; filter by status or source, and the search field filters it too.

Everything you chose is in the address (#/monitoring?t=…&site=…&layer=l2&vlan=30&sel=…&tab=interfaces&port=…&asite=…&asev=critical&astate=mine, on L3 layer=l3&subnet=…): a link in a mail or a ticket opens the same view, and a reload keeps it. The older #/monitoring?device=<id> still works. The page refreshes itself every 30 seconds.

The side menu folds into a rail of icons with the button at its bottom: the workspaces (this page and the rack and floor plan editors) start folded, other pages with the full menu, and RackTrace remembers your choice for each.

A device that is not linked to a documented device yet is monitored too; link it under Discovery to see its rack and cables in the panel and to use What if this fails.

Notifications#

Under Monitoring → Settings → Who gets a mail, a notification policy mails its recipients when an alert opens and when it is resolved, for alerts of at least its minimum severity (warning and critical, critical only, or everything), optionally only for one site. Each recipient gets at most one open and one recovery mail per alert. A waiting time delays the open mail; if the alert is resolved within it, neither mail is sent. When a warning escalates to critical, a policy that only takes critical alerts gets the open mail at that moment.

Without a policy nobody is mailed; the workspace then says No notification policy.

A silent scanner. When a scanner that measured for a tenant goes silent (none of the tenant's checks on it — its device checks included — has a sample in its last three intervals, the rule that shows Silent next to the scanner at the top of the workspace), the policies of that tenant mail Scanner silent once; when it measures again, they mail Scanner measuring again once. This is not an incident: the network may be fine, RackTrace just cannot see it, and its devices are unknown. The monitoring worker looks every minute, so the mail follows within about a minute. Next to the scanner the workspace says whether it was e-mailed (counting only the mails the mail server accepted), that no policy mails it, or that maintenance holds it back. How a policy applies:

  • Every enabled policy that mails openings gets the silent mail, whatever its minimum severity: a silent scanner leaves it without any incident at all. A policy for one site only gets it when one of the scanner's checks of the tenant is at that site.
  • The back mail goes only to the recipients that had the silent mail, if their policy mails recoveries.
  • A waiting time delays the silent mail; if the scanner measures again within it, neither mail is sent.
  • A scanner that serves several tenants is mailed to each tenant about itself only. A scanner that never measured for the tenant is not mailed.
  • A controller (UniFi, Meraki, FortiGate, Auvik) whose sync is late gets no such mail: its devices become unknown.

Maintenance#

A maintenance window covers the whole tenant, one site, one device or one scanner (Monitoring → Settings → Maintenance, which lists the active and planned windows; Maintenance in the device panel or on an alert; Maintenance… next to a scanner at the top of the workspace). While it lasts, failures are still measured and alerts recorded, but nobody is mailed. A window on a device covers its checks made by hand too. A window on a scanner only holds back the mails about that scanner falling silent and measuring again; alerts of its devices and checks still mail. A window on the tenant holds back both. When a window ends while the scanner is still silent, the silent mail is sent then. A window can be ended early.

Thresholds#

When a value becomes an alert is set in the profile. The standard profile, every alert a warning:

ValueAlertResolved
Load of a watched portabove 90% for 10 minutesbelow 80% for 5 minutes
Errors of a watched portabove 10 a minute for 15 minutesbelow 2 a minute for 10 minutes
Discards of a watched portabove 100 a minute for 15 minutesbelow 20 a minute for 10 minutes
CPUabove 90% for 15 minutesbelow 75% for 10 minutes
Memoryabove 95% for 30 minutesbelow 90% for 10 minutes
PoE budgetabove 90% for 15 minutesbelow 80% for 10 minutes
Fans, power suppliesthe device reports one failedfor 10 minutes no more
Temperaturethe device reports a sensor too warm (no fixed degrees: what is normal differs per sensor; a profile can add a number)for 10 minutes no more

Discards have a higher threshold than errors: quality of service drops some packets on purpose, so only a port that keeps dropping is an alert, never one burst.

Monitoring → Settings → Thresholds changes them for the whole organization (administrators), for the tenant or for a site; Thresholds… in the device panel for one device. Each field you leave empty inherits from the level above: device, then site, tenant, organization, the standard profile. Reset removes what a level sets.

An alert needs the value above its threshold for the set minutes, so a short peak is none. Once it is open, a value between the resolved below value and the threshold keeps it open: a value around the threshold is one alert, not a flapping one. One open and one recovery mail per alert, as for every alert. A device that is down is one alert: its load, errors and health have none of their own meanwhile.

Custom OIDs#

Monitoring → Settings → Custom OIDs reads a value the standard health does not cover — a UPS battery, a vendor counter — from every device of the tenant, from the switches, routers or access points, or from one device. Give a numeric OID under 1.3.6.1 and read it as one value (GET) or as a column of up to 64 rows (WALK, kept as the highest, lowest, sum or average); a counter becomes a rate per second. The scanner reads it with the device's health, so its value appears in the device panel within 5 minutes (there is no test button: the scanner only connects outward); give it a threshold to alert on it. Changing the OID, the way it is read or combined starts a counter again.

Only numbers are kept: a text, an address or an OID is not a measurement, so no configuration or secret ends up in RackTrace. OIDs under 1.3.6.1.6 (SNMP's own management: users, access, engine) are refused. At most 20 per tenant and 10 per device.

Credentials#

What the scanner logs in to a device with: SNMPv1/v2c (a community), SNMPv3 (user, authentication and privacy), SSH with a password or SSH with a key (both optionally with an enable password). Monitoring → Settings → Credentials holds a standard for the whole tenant and one per site; a device's panel, under Logging in, shows what it would log in with and holds a deviation for that one device.

  • The closest level wins, per protocol: the device's deviation, then its site, then the tenant, then the credentials of the scan job that found it. An SSH deviation on a switch leaves the site's SNMP standard in force. A deviation replaces the standard; it is not added to it.
  • A short list, in order: at most 5 per level and protocol, tried first to last (↑ ↓ change the order). What works on a device is remembered: from then on only that one is used, until someone lets go of it, or until three measurements in a row find the device answering a ping but not SNMP with it — then the list is tried again.
  • Only where the scanner itself looked: credentials go only to an address one of the tenant's scan jobs found itself, inside that job's address ranges, as a network device. A device that only a controller, a push source, a JSON source or NetBird reports — also a switch with a public address — a check with a target of its own, and a host the sweep found get none. The device panel says why.
  • SSH standards only on network equipment (switches, routers, firewalls, gateways, access points): fewer failed logins at the customer. A deviation for one device is used on that device whatever it is.
  • One exception for SSH: a host the sweep of a scan job found, at an address inside the job's ranges, whose MAC address another source of the same tenant reports as network equipment (a UniFi switch without SNMP) may get the SSH credentials of its level — never SNMP ones. The same MAC address in another tenant gives nothing.
  • SSH keys: paste one (OpenSSH, PEM or PKCS#8; ed25519, ECDSA P-256/P-384 or RSA of at least 2048 bits) or let RackTrace make an ed25519 key and put its public key on the devices. A PEM or PKCS#8 key may be protected with a passphrase: RackTrace uses it once to read the key and never keeps it. An OpenSSH key with a passphrase is refused; convert it first: ssh-keygen -p -m PKCS8 -f <key file> keeps the passphrase. Keys are recommended: an SSH password goes to the device as it is.
  • Nobody sees a value again, administrators neither: the screens say only that it is set. Leave a field empty to keep it; type a new one to replace it. Values are stored encrypted, each bound to its organization and tenant, and never appear in exports, mail, the history or what the scanner sends back — RackTrace masks every value a scanner was given (also one changed or deleted in the last 24 hours, of a scan job too) as •••• in everything the scanner sends back before it is stored — details, the names, descriptions and aliases of interfaces, the vendor and sensor names, test results — a value of 1 to 3 characters only where it stands on its own, not inside another word, so ordinary text stays readable. Use longer values.
  • SSH keys with a passphrase: RackTrace opens at most 1,000,000 PBKDF2 rounds (or scrypt with N × r × p up to 262,144); a key stretched further is refused before it is opened.
  • Who: an administrator, or a user with the right Credentials on the tenant (given through a group — an editor does not get it by role) sets, changes, orders and deletes them. Anyone with the right Monitoring sees which there are and tests them. An API token reads and tests them, never sets them. Every change is in the history, without the value.
  • Unreadable after a copy: a value copied into another organization (a restore or a copy of the data) does not open there. The credential says so; delete it and enter it again.
  • Scan jobs: the SNMP credentials of a scan job stay the lowest level. The key button of an SNMP job under Integrations → Scanner makes them the standard of the job's site.

Delivered sealed for the scanner's own key#

The agent (version 1.7.0 and newer) makes a key pair of its own at its first start (agent-key.pem next to agent.json) and names the public key whenever it contacts RackTrace. RackTrace pins the first key a scanner presents, and from then on seals every credential it sends that scanner for that key — those set here and those of its scan jobs (an SNMP community, a FortiGate token) — bound to that scanner, so a proxy that opens HTTPS reads none of them. The agent keeps them in memory only and cleans what it sends back of them too. The other way is not sealed: configuration backups go to RackTrace over HTTPS, and a proxy that opens TLS can read them.

  • Compare the fingerprint: Integrations → Scanner shows the fingerprint of the pinned key; the agent shows the same on its own page (port 8095) and in its log. Compare them and tick I compared the fingerprint (in the history): the key is pinned at first contact, and only the comparison shows that it is the agent's own.
  • Scanner key changed: another key afterwards — the agent installed anew, or someone with the scanner's token — or no key at all (an older agent, whatever version it states) pauses the scanner: no scan jobs, no SNMP measurements and no credentials at all, also not those of its scan jobs. Its checks over SNMP are shown as unknown with the reason scanner key changed, waiting for acceptance — not as down. Its tenants get the security alert Scanner key changed. An administrator accepts exactly the fingerprint shown under Integrations → Scanner (in the history); then it measures again. Accepting no key forgets the pinned key: the next key the agent presents is pinned again as at its first contact, and the fingerprint is to be compared again. Did nobody reinstall it? Make a new token for the scanner instead.
  • An agent without a key of its own (older than 1.7.0) gets only the credentials of its scan jobs, as before. The screens say Update the agent, and a device whose credentials are set here is shown as unknown with that reason, not as down.
  • Test (next to each credential, and per credential in a device's panel): the scanner tries that one credential on one device of its own level — a site standard on a device of that site, a tenant standard on a device of the tenant, a deviation on its own device — at its next contact, within a minute. The test runs in the background: close the window or go on working, also on another page or after a reload; the outcome comes as a message and stays with the credential and the device as its last test. When the scanner does not answer within three minutes, the message says so. Outcomes: SNMPv3 ok: sw-core-01, …, wrong authentication password, unknown user name, or no answer on UDP 161. What works becomes the device's binding at once. Each failed test is a failed login at the customer, so: one test per 2 minutes of a credential on a device, at most 10 per hour per person or API token and 30 per hour per tenant. Every test, also a refused one, is in the history. An SSH test (scanner 1.8.0 and newer) says what the host key is, the prompt, what the device was recognised as and whether enable worked — SSH key ok: host key ssh-ed25519 SHA256:…, prompt sw-core-01#, recognised as Cisco IOS / IOS-XE, enable: yes — or why not: password refused, TCP 22 refused, Host key not confirmed yet — not logged in, the host key changed, only older algorithms. A password test on a device whose host key nobody confirmed only reads the host key: the password does not go.

SSH in the scanner#

From agent 1.8.0 the scanner logs in to the network devices it found over SSH, with fixed read-only commands per vendor, and reads what SNMP gives poorly or not at all: version, model and serial, the inventory, the interfaces with their VLANs (access, trunk, native, tagged), LLDP and CDP neighbours and the MAC table. That goes into discovery with the next scan of the job that found the device, where SNMP gave nothing: the ports, the map and the clients per port. A scanner older than 1.8.0 gets no SSH credentials at all; the screens say SSH works from scanner 1.8.0 on.

  • Vendors: Cisco IOS / IOS-XE, Aruba AOS-S (ProCurve) and AOS-CX, FortiGate and MikroTik RouterOS. The vendor is recognised from what RackTrace knows of the device, the SSH banner and one version command per candidate; what is not recognised gets no command at all (SSH ok, vendor unknown).
  • Only reading, only these commands: Cisco terminal length 0, show version, show inventory, show interfaces status, show interfaces trunk, show vlan brief, show lldp neighbors detail, show cdp neighbors detail, show mac address-table; AOS-S no page, show system, show interfaces brief, show vlans, show lldp info remote-device, show mac-address; AOS-CX no page, show version, show system, show interface brief, show vlan, show lldp neighbor-info, show mac-address-table; FortiGate get system status, get system interface physical; MikroTik (as <user>+ct) /system resource print, /system routerboard print, /system identity print, and print terse of /interface, /ip neighbor, /interface bridge vlan and /interface bridge host. They are in the agent itself: RackTrace cannot send another one. A command the device refuses (% Invalid input, Permission denied) is shown as too few rights, never as an empty table.
  • A read-only account: Cisco IOS needs privilege 15 (or a parser view) for some show commands — give the account an enable password if it logs in at a lower level (like the SSH password, it goes only to a confirmed host key); AOS-CX the role auditors; FortiGate an administrator profile with read access only; MikroTik the group read.
  • When: every 4 hours per device (set 1 to 24 hours under Monitoring → Settings → Credentials), at once with Fetch now in the device panel, and right after a Cisco reports over SNMP that its configuration changed. Each login is in the logs of the device. Without a credential that worked on a device, its list is tried at most once an hour; one that is refused three rounds in a row is let go of.
  • Limits per session: 60 seconds and 4 MB of output; one session per device and at most 8 at a time per scanner.
  • Algorithms: only current ones (curve25519, ECDH, group14-sha256; ed25519, ECDSA, RSA with SHA-2; AES-GCM and AES-CTR). An old device that offers nothing else needs Allow older algorithms on its credential; the test says so.
  • The client: ssh2 1.17.0 (MIT), bundled in the one agent file and signed with it. Its optional native parts are left out; it uses its JavaScript implementations.

Host keys#

The scanner checks a device's SSH host key before it logs in: before a password or a signature goes. RackTrace keeps per device the key it met and how far it is trusted — the device panel, under SSH, shows it:

  • Seen: met, but trusted for nothing (a key login that failed, or a password that waits).
  • Pinned: at the first contact with an SSH key the scanner may log in (a key only signs this one session) and the host key is pinned. A pinned key counts for keys only, never for a password.
  • Confirmed: by someone with the right Credentials, after comparing it with the device itself (the device panel shows how: show ip ssh, show crypto key mypubkey, show ssh host-key, or ssh-keyscan <address> | ssh-keygen -lf - from a computer in that network). Only then may an SSH password or an enable password go — never at a first contact, never to a key that is only pinned; with a key that is not confirmed the scanner reads with the rights the account has (enable: no). A confirmation counts at the address it was given for: the same key met at another address (cloned virtual machines and devices with a default host key share keys) is pinned again until it is confirmed there. You can also fill in the fingerprint beforehand.
  • Host key changed: another key than the trusted one, whatever its trust, stops the scanner before it logs in, and the tenant gets the security alert SSH host key changed. Nothing goes to that device until someone with the right Credentials accepts the new key — in the device panel or at the alert — which makes it confirmed. A replaced switch? Compare first. Not a change you know of? Do not accept it.
  • The list per site (Monitoring → Settings → Credentials, SSH host keys under the site) confirms many at once: one row per device, address and fingerprint, with whether the device is linked to a documented device, since when the scanner sees it, and category and MAC as the host itself reports them. New and undocumented rows are not ticked beforehand.
  • Always the pair you were shown: a confirmation or acceptance sends the device, address and fingerprint you saw. If the key changed in between — also at the very same moment — nothing is confirmed: The host key changed since you saw it — look at it again. A host that appeared after you opened the list is never confirmed with it. Every confirmation, acceptance and refusal is in the history, one line per pair. An API token confirms or accepts nothing.
  • What is left: someone who confirms a fingerprint without comparing it gives that host the SSH password and the enable password. With a key at the first contact a fake device gets no secret, but can send false data until someone notices.

Configuration backup#

From agent 1.9.0 the scanner also backs up the configuration of every device it may log in to over SSH, in the same session as its SSH round: the running configuration and, where the device has one, the startup configuration. RackTrace keeps a new version only when something changed, and shows what changed between any two versions. It never writes anything back to a device: to restore, download a version and put it back by hand.

  • What is read, with the fixed read-only commands: Cisco IOS / IOS-XE show running-config and show startup-config; Aruba AOS-CX show running-config and show startup-config; Aruba AOS-S show running-config and show config; FortiGate show (what differs from the defaults); MikroTik /export terse (RouterOS 7 leaves secrets out itself).
  • Only from a confirmed host key: a configuration is backed up only from a device whose host key someone with the right Credentials confirmed at that address — also with an SSH key, and for every vendor. A host key that is only pinned would let something that pretends to be the switch put a false configuration in the history. Until it is confirmed the backup says Host key not confirmed, the scanner reads no configuration and no version is made.
  • Rights: Cisco and AOS-S show their configuration only in privileged mode — privilege 15, or an enable password (which also goes only to a confirmed host key). Without it the backup ends with No rights to read the configuration, and nothing is read.
  • When: once a day per device (set 1 to 24 hours, or daily, in Monitoring → Settings → Configuration backups), at once with Fetch now under SSH in the device panel, and right after a Cisco reports over SNMP that its configuration changed. A failed backup is tried again with the next SSH round.
  • Only a change is a version: lines that change at every read are left out before comparing — the size and time in the header, Last configuration change, ntp clock-period, the time of a RouterOS export. A read without a change only updates last checked.
  • The difference: tick two versions under Configuration in the device panel (also running against startup), or Changes next to a version: line by line, with the section each change falls in (interface GigabitEthernet1/0/5, vlan 30, config system interface › edit port1).
  • Secrets are masked everywhere RackTrace shows a configuration — the screen, the difference, notices, their e-mail, the change log of discovery and the timeline of an incident: lines with a password, secret, key, community, pre-shared key and the like show ••••, and so does every value of a credential RackTrace gave the scanner — also one changed in the last 24 hours — wherever it stands. A secret that changed shows as a changed line, without its value. This is done when the version comes in, so a value deleted later stays masked.
  • The download holds the configuration as the device gave it, secrets included. Only someone with the right Credentials may download (in the history); an API token never.
  • Kept: every version a year, and always the last 20 of a device, however old. A device no longer monitored keeps them until it has been retired for 90 days (it is retired after 30 days away). Older versions are deleted for good. Versions are stored compressed and encrypted, bound to the device; they are not in the exports, not in the MCP tools and not in a snapshot of the organization. So a restore of one organization (from its nightly backup or a snapshot) does not bring back the configuration history; only a backup of the whole database holds it.
  • Notices (with the e-mail of the notification policies; only the device, the lines added and removed and the sections — never a line or a value of the configuration): Configuration changed; Running configuration not saved (Cisco and Aruba: running differs from startup for more than 24 hours, so a restart would undo it); Configuration backup failed (three times in a row). Each can be switched off per tenant under Notice settings in All tenants, as the notices of discovery. Monitoring → Settings → Configuration backups lists the last backup of every device per site; old (more than twice the interval), failed or never made stands out.
  • Limits: at most 2 MB per configuration, each read apart from the 4 MB a session may read otherwise; a larger one is a failed backup with the outcome larger than 2 MB.
  • A version that does not open (copied in from elsewhere, or encrypted with a key RackTrace no longer has): the next one is a new baseline, and says so — previous version unreadable — new baseline, in the notice Configuration changed and in the change log.
  • On the way: configuration backups go to RackTrace over HTTPS, as read; a proxy that opens TLS can read them. (Credentials go the other way sealed for the scanner's own key, see above; a configuration is not sealed that way yet.)

Other checks#

Checks of a website, a certificate, a DNS name or a TCP service — what a network device does not report itself — are made through the API (POST /api/tenants/{id}/monitoring/checks) and measured by a scanner:

  • ICMP: one ping; records reply time and packet loss.
  • TCP: opens a configured host:port.
  • HTTP/HTTPS: checks the response status and, optionally, required text. Responses are read up to 64 KiB and redirects are not followed.
  • DNS: resolves a host name and records lookup time.
  • TLS: reads certificate expiry from host:port; the default warning starts below 14 days.
  • SNMP device and SNMP port: uptime, and one port's state and counters.

A check made for a documented or discovered device is part of that device: it is listed under Checks in the device panel, a failure counts on the device in the list and on the map, its alert is an alert of that device, and maintenance of the device covers it. Such a check opens an incident after three failed observations and resolves it after two good ones. Rules can turn a numeric metric into degraded (warning) or down (critical). A device page shows its measurements. The checks of device monitoring itself cannot be changed or deleted by hand: they follow discovery and the profile.

A check can also depend on a parent check of the same tenant (depends_on_check_id in the API). While the parent is down or degraded, a failure of the child opens no incident of its own (one failure, one alert); it opens one at its next failure once the parent is back. Only a parent that measures counts: a parent without a sample in its last three intervals, or one that was never measured, is unknown, not down, and the child alerts as if it had no parent. A check made by hand without a parent hangs on the device check of its device, and only when that device is down: a device that is degraded leaves the check its own alert.

The incident page — the link in every mail, and Open on an alert — is the incident as a workplace: what is wrong, where, since when, how sure, and what it affects, on one screen. Anyone with access to the tenant can read it; acting on it (acknowledge, Measure now, Maintenance) needs the monitoring permission. A link from a mail opens in the tenant the incident belongs to; without access to that tenant you see no data.

  • Now — at the top, the status of the check now and how fresh it is (measured 2 min ago by which scanner, or unknown with no measurement since …), and how many items of evidence are missing or stale, or that none are. If another source of the device reports it otherwise (UniFi has it online while the scanner cannot reach it), that is said here too: the status follows the measurement.
  • Evidence timeline — from two hours before the incident opened to its recovery (or now). Every item names its source and time: the measurements as runs of one status, with the stretches where the scanner sent nothing as silences; the incident opening, escalating, being handed over from one measurement to another, being acknowledged and recovering (or being closed, with why), and its mails; the scanner's errors and last contact; the last discovery of the device's scope and what it saw of the device and its port; open security alerts of the tenant; and changes to the documentation of the device, its ports and cables, the check and the incident. Each source has a limit, so a long or flapping incident stays fast: what a limit leaves out is counted.
  • Where — the device and its location, the port with its cable trace, the VLANs as documented and as discovery last saw them, and the IP addresses.
  • Sources — when the scanner last measured and whether it is silent, and when each discovery scope last synced and saw the device, including the other sources that see it.
  • Impact — the checks that depend on this one, with their state, and What if this fails: the simulation with a new scenario in which the device (or, for a port with a documented cable, the link) fails.
  • Missing or stale evidence — named at the top: a check not linked to a device, a port without a documented one, no cable, a device no discovery knows, a silent scanner, a check never measured.
  • Actions — what was measured on request, and the maintenance that covers the check now.

Measure now asks the scanner to measure the incident's check at once, through the same route as its regular measurements; for a port, load or health incident of a device it asks the SNMP read of that device, which measures them all. The scanner fetches its checks every minute: the new measurement appears on the page as soon as it arrives, and the page waits for it up to 3 minutes. If the scanner has not fetched the request by then, the page says so, with its last contact: it may be silent, and no new measurement is no evidence that all is well. A check is measured on request at most once every 2 minutes — whoever asks, from the incident or with Run on the check; a second request is refused with the time to wait. Only what is monitored already can be measured: a device or site a controller reports has no Measure now (RackTrace reads it at the controller's next status poll).

Maintenance pauses the mails of the incident's device (all its checks) or of only its check, for 1, 4, 8 or 24 hours, with a reason. It is the same maintenance as under Monitoring → Settings → Maintenance, and can be ended there.

Every request to measure and every maintenance started from an incident is in the audit log and on the incident's evidence timeline, with who did it.

Report opens the incident as a report to hand over to a colleague or a customer: the incident, the status now with its age, missing or stale evidence, where it is (with the trace), its impact, the timeline with the source of every item, the sources and what was done from the incident. Print makes a PDF (choose Save as PDF); Copy as Markdown puts the same report on the clipboard for a ticket or a mail. Times in the report are in UTC. The report is not shared as a link: send the PDF or the text.

An open alert of a check that no longer measures says so on its row in the workspace: Unknown · no measurement since ….

Ports, counters and gaps#

The first sample of a port establishes a counter baseline, so it has no traffic rate. RackTrace also leaves rates empty after a reboot, a counter-width change, a gap over one hour, an impossible value, or a discontinuity it cannot safely interpret. These empty points prevent a false traffic spike. Two more cases: a device whose counters of one interface were reset without a restart ("clear counters", seen from ifCounterDiscontinuityTime, agent 1.5.0), and a device with only 32-bit counters on a link faster than about 570 Mbit/s, where a counter can wrap more than once a minute — its load is unknown, never shown too low.

Availability, history and capacity#

Availability is 100 × (up + degraded) / (up + degraded + down); unknown samples and missing intervals are left out. Raw observations are kept for 30 days by default, hourly roll-ups for 13 months, resolved incidents for 24 months.

A device measured by the scanner gives 1,440 samples a day; a watched port that stays up is stored once every 5 minutes (at most 288 a day), and every minute while it is down. A load, error or health alert that stays below its threshold is stored once every 15 minutes (96 a day), and every measurement while it is above. A device reported by a controller gives one sample per sync and status poll.

The charts come from one row per device per 5 minutes, all its interfaces and its health together (288 a day), kept 8 days; and one row per hour, kept 90 days. The monitoring load report of the management portal counts these rows per day.

Targets and limits#

A check measures the customer's own network: private addresses (10/8, 172.16/12, 192.168/16, IPv6 ULA), public addresses, and services on the scanner itself (loopback) are all allowed. Never allowed, with no exceptions:

  • Link-local addresses: 169.254.0.0/16 and fe80::/10, also when written inside IPv6 (::ffff:169.254.169.254). Cloud metadata services live there; give a device that only has such an address a routable one first.
  • Cloud metadata services by name or address: metadata.google.internal, metadata.goog, metadata, instance-data, fd00:ec2::254 (AWS) and 100.100.100.200 (Alibaba Cloud).

RackTrace checks the target when the check is created. The agent (1.3.2 or newer) checks it again after DNS, because a host name can point anywhere: when any address of the name is refused, the check is unknown with the reason and no connection is made. Otherwise the agent connects only to the addresses it checked.

KindTargetSettings (config)
ICMP, DNShost name or IP addressnone
TCPhost:port, IPv6 as [address]:portnone
TLShost:portwarn_days (0–365)
HTTPhttp:// or https:// URLexpect_status (100–599), body_match (1–256 characters), verify_tls (true/false)
SNMP devicehost name or IP addressport
SNMP porthost name or IP addressif_index (required), port

A target never holds a user name or password. Limits for the checks made through the API: the timeout is at most the interval; a scanner has at most 1,000 checks and a tenant at most 2,000 (the checks of device monitoring do not count). A scanner may push at most 60 monitoring batches a minute (per address 120).

Troubleshooting#

  • A device is not in the workspace: is it a switch, router, firewall, gateway or access point, linked to this tenant through its scope, and not ignored under Discovery? A device found by the scanner needs an IP address.
  • Unknown, "agent older than 1.4.0": update the scanner's agent; it updates itself when signed updates are on.
  • Silent source: check the agent's console and log, outbound HTTPS, the scanner token, its clock and its route to the devices; for a controller, its last sync under Integrations.
  • Up, "answers a ping, not SNMP": check UDP 161 from the agent, the SNMP version and credentials of the tenant's SNMP scan.
  • No mail: is there a notification policy for the severity, and no maintenance window? Is the alert behind a device that is down (then that device has the alert)? Acknowledging an alert does not resolve it. For a silent scanner, the workspace says next to it whether it was e-mailed, that no policy mails it, or that maintenance holds it back.
  • Traffic rate is empty: wait for a second valid sample; then check for a restart, a long gap or a counter reset.
  • Health "agent 1.5.0 or newer": the scanner's agent measures interfaces but not health; update it.
  • A health value "not reported by this device": the device has no MIB for it (or it is switched off). Check under Custom OIDs whether a vendor OID gives it.
  • Load unknown, "32-bit counters": the device offers only 32-bit counters on a fast link; enable SNMPv2c or v3 (64-bit counters) on it.

Upgrade and rollback#

Device monitoring starts on its own after the upgrade: every tenant with a discovery source is monitored from its next sync, and a tenant with a notification policy gets mails about its network devices. Checks made earlier with "Enable proposed monitoring" keep working; Monitoring → Settings offers to switch them off, since device monitoring measures the same devices.

Health and custom OIDs need agent 1.5.0; load, errors, discards and their charts already work with 1.4.0; since when an interface changed and its duplex need 1.7.2. Signed agent updates are downloaded automatically where enabled. For a rollback, deploy the previous application image and leave the monitoring tables in place: history and open incidents must remain when the new image returns.

Something missing or not right? Let us know.