Skip to content

Backend Device Status

The gateway device status can be shown or changed with:

oqtopus backend device-status show
oqtopus backend device-status active
oqtopus backend device-status inactive
oqtopus backend device-status maintenance

These commands operate on:

<env_root>/config/gateway/device_status

Show Current Status

oqtopus backend device-status show

This prints the current value.

Change Status

Set the device status to active:

oqtopus backend device-status active

Set the device status to inactive:

oqtopus backend device-status inactive

Set the device status to maintenance:

oqtopus backend device-status maintenance

Valid values are only:

  • active
  • inactive
  • maintenance

The command updates the local configuration file directly. It does not require gateway to be running.