action truesight_reinitialize {
label: "Sends a 'Reinitialize KM' command."
description: "Launches a 'Reinitialize KM' command for the following parameters:
- resetDiscoveryAndPollingIntervals
- resetAlertAfterNTimes
- resetAlertActions
- resetOtherA
- resetSettings
- resetDebugMode
- resetRemovedPausedObjectList
- resetReportSettings
- resetJavaSettings
- resetThresholds
You need to provide the Device ID to identify the device:
- Use the /hardware/devices service in the Device section to retrieve the Device ID of a device."
provider: truesight
method: POST
path: "/hardware/actions/{deviceId}/reinitialize"
encoding: json
input: {
type: "object"
properties: {
deviceId: {
type: "integer"
format: "int32"
}
resetAlertActions: {
type: "integer"
format: "int32"
description: "When set to 1, removes all manually set Alert Actions and reverts to basic default actions i.e. trigger a PATROL event and annotate a parameter graph."
enum: [0, 1]
}
resetAlertAfterNTimes: {
type: "integer"
format: "int32"
description: "When set to 1, resets the number of times thresholds can be breached before triggering an alert to their default values (1 time) for numeric, discrete, connector status and present parameters."
enum: [0, 1]
}
resetDebugMode: {
type: "integer"
format: "int32"
description: "When set to 1, deactivates the debug mode when it was manually enabled."
enum: [0, 1]
}
resetDiscoveryAndPollingIntervals: {
type: "integer"
format: "int32"
description: "When set to 1, removes all user-defined frequencies for discovery and polling processes to their default values (respectively 1 hour and 2 minutes)."
enum: [0, 1]
}
resetJavaSettings: {
type: "integer"
format: "int32"
description: "When set to 1, removes the custom Java settings (path and credentials). The KM will try to automatically find a suitable JRE."
enum: [0, 1]
}
resetOtherAlertSettings: {
type: "integer"
format: "int32"
description: "When set to 1, reverts any manually performed configuration changes to the default Hardware Sentry values."
enum: [0, 1]
}
resetRemovedPausedObjectList: {
type: "integer"
format: "int32"
description: "When set to 1, reactivates the monitoring of all paused or removed objects."
enum: [0, 1]
}
resetReportSettings: {
type: "integer"
format: "int32"
description: "When set to 1, clears the report schedule."
enum: [0, 1]
}
resetThresholds: {
type: "integer"
format: "int32"
description: "When set to 1, resets all thresholds."
enum: [0, 1]
}
}
required: ["deviceId"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}