Skip to content

Sensors

The sensors command group manages Suricata sensor nodes, automated provisioning, metrics polling, and version upgrades.


ActionDescription
listShow all registered sensors and their active Suricata versions.
provisionProvision and configure Suricata on a remote sensor using Ansible.
metricsPoll instantaneous system and performance metrics from a sensor.
upgradeUpgrade Suricata on a sensor.
versionsList available Suricata versions and releases.

Terminal window
suricatavel sensors list

Displays a status table of all sensors, active configurations, Suricata engine versions, and connectivity states.


The provision command automates Suricata installation and network interface tuning on a sensor host via Ansible.

  • target (required): Sensor name or hostname as registered in Suricatavel.
  • --ip: IPv4 address of the sensor.
  • --port: SSH management port (default: 22).
  • --password: SSH password (if not using SSH key authentication).
  • --force: Force reprovisioning even if the node is already configured.
Terminal window
# Provision localhost as a local sensor
suricatavel sensors provision localhost
# Provision a remote sensor with IP and custom SSH port
suricatavel sensors provision sensor-01 --ip=10.0.0.10 --port=2222

Fetch real-time CPU, memory, and packet capture counters:

Terminal window
# Poll a specific sensor
suricatavel sensors metrics sensor-01
# Poll all active sensors
suricatavel sensors metrics all

Upgrades Suricata to the target version configured for the sensor:

Terminal window
suricatavel sensors upgrade sensor-01

List supported Suricata releases available for deployment:

Terminal window
suricatavel sensors versions