fingerprint kernel architecture name (#13182)
This commit is contained in:
parent
0399b7e4c5
commit
6cb8c95534
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
fingerprint: add support for detecting kernel architecture of clients. (attribute: `kernel.arch`)
|
||||||
|
```
|
|
@ -30,6 +30,7 @@ func (f *HostFingerprint) Fingerprint(req *FingerprintRequest, resp *Fingerprint
|
||||||
resp.AddAttribute("os.version", hostInfo.PlatformVersion)
|
resp.AddAttribute("os.version", hostInfo.PlatformVersion)
|
||||||
|
|
||||||
resp.AddAttribute("kernel.name", runtime.GOOS)
|
resp.AddAttribute("kernel.name", runtime.GOOS)
|
||||||
|
resp.AddAttribute("kernel.arch", hostInfo.KernelArch)
|
||||||
resp.AddAttribute("kernel.version", hostInfo.KernelVersion)
|
resp.AddAttribute("kernel.version", hostInfo.KernelVersion)
|
||||||
|
|
||||||
resp.AddAttribute("unique.hostname", hostInfo.Hostname)
|
resp.AddAttribute("unique.hostname", hostInfo.Hostname)
|
||||||
|
|
|
@ -212,6 +212,14 @@ Below is a table documenting common node properties:
|
||||||
allocated
|
allocated
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<code>{'${attr.kernel.arch}'}</code>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
Kernel architecture of the client (e.g. <code>x86_64</code>, <code>aarch64</code>)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<code>{'${attr.kernel.name}'}</code>
|
<code>{'${attr.kernel.name}'}</code>
|
||||||
|
|
Loading…
Reference in New Issue