Skip to content
Detection & ResponseMarkdown

Detection & Response troubleshooting

What to check when a device shows no alerts, a sensor shows disconnected, a configuration hasn't reached a device, or a response failed.

API

Most problems come down to one question: is the device connected, and is its sensor reporting? Start with the device’s status in the sensors list:

Terminal window
curl https://foobar.cvyuh.com/api/v0/endpoint/dar/v1/agents \
-H "Cookie: x-cvyuh-token=$CVYUH_SESSION" \
-H "Content-Type: application/json" \
-d '{"page": 1, "pageSize": 20, "qbe": {"filter": {"field": "name", "op": "=", "value": "maya-laptop"}}}'
StatusWhat it means
activeConnected and reporting
disconnectedHas reported before, but isn’t connected now
pendingConnecting for the first time
neverRegistered at enrollment, but has never connected
  • Who: an administrator of the realm, in a group holding RealmOwner or RealmViewer on the realm or a realm above it. Fixes that act on a device (restart, configuration) need RealmOwner.
  • Where: the API.
CauseHow to tellFix
Nothing happenedThe device is active and its stats (GET .../agents/{agent}/stats) show events readNothing to fix: a quiet device raises nothing
The range is wrongAlerts appear when you widen itSet from and to; left out, the range is the last day
The device isn’t connectedStatus disconnected or neverSee the next section
The events match no ruleThe log is read (in its stats) but nothing is raisedExpected: only lines that match a rule become alerts; your own rules are planned
The alerts are older than 30 daysThey were deletedExport alerts you need to keep before 30 days
You’re calling another realmThe call went to a different realm’s host nameCall the device’s realm: each call answers for one realm
CauseHow to tellFix
The device is off or offlineHealth and actions says it isn’t connectedBring it back online; its waiting events are sent when it reconnects
The device is revokedIts record shows it revokedExpected; see Device revocation
The device client isn’t runningThe device is on the network but not connectedStart the device client on the device (see Device client)
The sensor was removedIt’s gone from the sensors listEnroll the device again
CauseHow to tellFix
The device is offlineStatus isn’t activeIt gets the configuration when it reconnects
It hasn’t reloaded yetUnder two minutes since the writeWait, then read its configuration/files or configuration/logs again
The folder didn’t exist when the sensor startedThe folder is in the configuration but reports only at scansCreate the folder, then restart the sensor (Sensor actions)
The write was refusedIt answered 400, 412 or 413See Group configuration

A response failed, or didn’t take effect

Section titled “A response failed, or didn’t take effect”
SymptomCauseFix
In failed, the sensor isn’t activeThe device is offline; nothing is queuedSend again once it’s active
In failed, not an agent of this realmThe id isn’t your realm’sCheck the id in the sensors list
400The response, argument or timeout isn’t one the realm takesSee Active response
done, but nothing changedThe device runs macOS, where responses have no effect; or the service ignores Deny a hostUse Block an IP address, on Linux devices
A response needs lifting earlyThere’s no early undoWait for its timeout

Upgrading a sensor from the realm isn’t working yet: the device refuses it. Install the new device package on the device instead (see Sensor actions).

  • 403: your session’s user doesn’t administer the realm. Ask for RealmOwner or RealmViewer on it (see Delegated administration).
  • 502: the security log couldn’t answer just then. Try again; if it persists, contact whoever runs your deployment.