feat: Report whether a managed host is waiting on a reboot
This commit is contained in:
@@ -28,6 +28,7 @@ func StoreInventory(serverID string, r *pb.InventoryReport) error {
|
||||
set["inventory.static_at"] = now
|
||||
set["inventory.swap_total_bytes"] = r.SwapTotal
|
||||
set["inventory.kernel"] = r.Kernel
|
||||
set["inventory.reboot_required"] = r.RebootRequired
|
||||
if r.CPU != nil {
|
||||
set["inventory.cpu.model"] = r.CPU.Model
|
||||
set["inventory.cpu.cores"] = r.CPU.Cores
|
||||
|
||||
Reference in New Issue
Block a user