Intel AMT Features > Agent Presence > Use Cases > Get the Agent Watchdog Expiration Action
CollapseAll image

Get the Agent Watchdog Expiration Action

Retrieve the instance of IPS_WatchDogAction using its InstanceID, “Intel (r) AMT Watch Dog Action”. This class contains the following properties:

1.  uint32 HeciWatchDogExpirationAction (required): Indicates the action to be taken if the OS watchdog expires. 0 indicates no action should be taken; 1 triggers a system reboot.

2.  uint32 AgentPresenceWatchDogExpirationAction (required): Indicates the action to be taken if an Agent Presence watchdog expires. 0 indicates no action should be taken; 1 triggers a system reboot.

3.  uint32 Timeout: Indicates the amount of time, in seconds, before the selected action(s) are taken. The value entered here applies to both OS and Agent Presence watchdogs. Valid values are between 0 (the action occurs immediately) and 86400 (the action takes place after 24 hours). The default value is 30 seconds.

4.  bool ReArmReset: Arms the reset. If false, the system reboot is disabled; if true, the system reboot is enabled. This value defaults to true when the firmware first comes up, and is set to false immediately after a reboot. This prevents the system from entering an endless reboot cycle in cases of a major error that the reboot does not repair.

 

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

if($fwVersion.ToString() -ge "11.0")

{

  $watchDogActionRef =$wsmanConnectionObject.NewReference("SELECT * FROM IPS_WatchDogAction WHERE InstanceID='Intel (r) AMT Watch Dog Action'")

  $watchDogActionInstance =$watchDogActionRef.Get()

  $HeciWatchDogExpirationAction =$watchDogActionInstance.GetProperty("HeciWatchDogExpirationAction")

  $AgentPresenceWatchDogExpirationAction =$watchDogActionInstance.GetProperty("AgentPresenceWatchDogExpirationAction")

  $Timeout =$watchDogActionInstance.GetProperty("Timeout")

  $ReArmReset =$watchDogActionInstance.GetProperty("ReArmReset")

}

 

 

Classes Used in This Flow

IPS_WatchDogAction

See Also:

   Agent States

   Agent Watchdog Timers and Actions

   Set the Agent Watchdog Expiration Action

   Cancel a Pending Expiration-Triggered Reboot

Copyright © 2006-2022, Intel Corporation. All rights reserved.