KPITimeInState Property

General info

Label

Time in State

Description

The numerical override for the time in state (overrides alert template setting). This is the delay, in minutes, before status is used to determine if notifications are sent. This helps to prevent nuisance notifications for rapidly-changing KPIs

Data type

Int32

Type

Regular

Code

2062

Symbolic name

MODEL_PROP_KPITIMEINSTATE

Lua access code

inmation.model.properties.KPITimeInState

Available since

1.18.10.2422

Parent properties

KpiNotificationSettings

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs
PROP_NULLABLE This Property can have no value

Examples

Read from or write to the KPITimeInState property.

  • Lua

  • C#

-- Read from the KPITimeInState
inmation.getvalue("<OBJECT FULL PATH>.KPITimeInState")

-- Write to the KPITimeInState
inmation.setvalue("<OBJECT FULL PATH>.KPITimeInState", VALUE)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the KPITimeInState
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.KPITimeInState"));
// Write to the KPITimeInState
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.KPITimeInState"));