Skip to content

Report Nethesis box hardware details to my.nethesis.itΒ #1790

Description

@cotosso

Description

When NethSecurity is installed on a physical Nethesis box, my.nethesis.it should report the following hardware information:

  • Manufacturer
  • Model
  • Hardware version

These values are available through DMI:

root@NethSec:~# cat /sys/class/dmi/id/board_vendor
Nethesis

root@NethSec:~# cat /sys/class/dmi/id/product_name
NethBox Z1+

root@NethSec:~# cat /sys/class/dmi/id/product_version
1.0

The hardware version is useful for tracking different revisions introduced during the lifecycle of the same appliance model.

Proposed solution

Read and send the following DMI fields to my.nethesis.it:

Information DMI field
Manufacturer /sys/class/dmi/id/board_vendor
Model /sys/class/dmi/id/product_name
Hardware version /sys/class/dmi/id/product_version

Display these values in the appliance details on the new my.nethesis.it.

Additional context

The hardware version identifies the physical revision of the appliance and must not be confused with the NethSecurity software version.
The information should be collected only when the corresponding DMI fields are available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions